diff --git a/charts/templates/deployment-frontend.yaml b/charts/templates/deployment-frontend.yaml index 52bebc4..b811553 100644 --- a/charts/templates/deployment-frontend.yaml +++ b/charts/templates/deployment-frontend.yaml @@ -36,7 +36,7 @@ spec: volumeMounts: {{- if .Values.production }} - name: configmap-google - mountPath: /{{ .Values.frontend.googleSiteVerification }}.html + mountPath: "{{ .Values.frontend.htmlRootPath }}/{{ .Values.frontend.googleSiteVerification }}.html" subPath: {{ .Values.frontend.googleSiteVerification }}.html readOnly: true {{- end }} diff --git a/charts/values.yaml b/charts/values.yaml index 111b101..aa5a968 100644 --- a/charts/values.yaml +++ b/charts/values.yaml @@ -28,6 +28,7 @@ frontend: name: frontend host: &frontend_host "FRONTEND_URL" googleSiteVerification: "PLACEHOLDER" + htmlRootPath: "/opt/bitnami/nginx/html" replicas: 1 image: name: "PLACEHOLDER"