Fix the annotations in Ingress

This commit is contained in:
M. Mert Yildiran 2023-06-27 20:50:02 +03:00
parent 400c681369
commit 1404c68a22
No known key found for this signature in database
GPG Key ID: DA5D6DCBB758A461

View File

@ -6,15 +6,14 @@ metadata:
annotations:
certmanager.k8s.io/cluster-issuer: {{ .Values.tap.ingress.certmanager }}
nginx.ingress.kubernetes.io/rewrite-target: /$2
{{- if .Values.tap.annotations }}
{{- toYaml .Values.tap.annotations | nindent 4 }}
{{- end }}
creationTimestamp: null
labels:
{{- if .Values.tap.labels }}
{{- toYaml .Values.tap.labels | nindent 4 }}
{{- end }}
annotations:
{{- if .Values.tap.annotations }}
{{- toYaml .Values.tap.annotations | nindent 4 }}
{{- end }}
name: kubeshark-ingress
namespace: {{ .Values.tap.selfnamespace }}
spec: