Skip to content
Snippets Groups Projects
Commit 66ee4b835724 authored by Xavier Garnier's avatar Xavier Garnier :bicyclist:
Browse files

feat(ingress)!: noindex value is mandatory (undefined by default)

parent 90afb4819220
No related branches found
No related tags found
1 merge request!7feat(ingress)!: noindex value is mandatory (undefined by default)
Pipeline #219196 passed
......@@ -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";
......
......@@ -63,7 +63,7 @@
tlsSecret: true
path: /
annotations: {}
noindex: true
# noindex: true
# Additional ingresses
additionalIngresses: []
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment