diff --git a/templates/ingress.yaml b/templates/ingress.yaml index 90afb481922026549c81a9c8aec411dafdc38e51_dGVtcGxhdGVzL2luZ3Jlc3MueWFtbA==..66ee4b835724df2ec2877071ca37ce5cc4e4bbc6_dGVtcGxhdGVzL2luZ3Jlc3MueWFtbA== 100644 --- a/templates/ingress.yaml +++ b/templates/ingress.yaml @@ -15,6 +15,7 @@ {{- with .Values.ingress.annotations }} {{- toYaml . | nindent 4 }} {{- end }} + {{- $noindex := .Values.ingress.noindex | required ".Values.ingress.noindex is required." -}} {{- if .Values.ingress.noindex }} nginx.ingress.kubernetes.io/server-snippet: |- add_header X-Robots-Tag "noindex, nofollow"; diff --git a/values.yaml b/values.yaml index 90afb481922026549c81a9c8aec411dafdc38e51_dmFsdWVzLnlhbWw=..66ee4b835724df2ec2877071ca37ce5cc4e4bbc6_dmFsdWVzLnlhbWw= 100644 --- a/values.yaml +++ b/values.yaml @@ -63,7 +63,7 @@ tlsSecret: true path: / annotations: {} - noindex: true + # noindex: true # Additional ingresses additionalIngresses: []