diff --git a/chart/templates/deployment.yaml b/chart/templates/deployment.yaml index 97082fd..e2573bc 100644 --- a/chart/templates/deployment.yaml +++ b/chart/templates/deployment.yaml @@ -33,6 +33,9 @@ spec: {{- toYaml .Values.securityContext | nindent 12 }} image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}" imagePullPolicy: {{ .Values.image.pullPolicy }} + env: + - name: "FORCE_HTTPS" + value: "{{ if .Values.casecmp.httpsExamples }}true{{ end }}" ports: - name: http containerPort: 8080 diff --git a/chart/values.yaml b/chart/values.yaml index f4b148b..cd4df26 100644 --- a/chart/values.yaml +++ b/chart/values.yaml @@ -10,6 +10,10 @@ image: # Overrides the image tag whose default is the chart appVersion. tag: "" +casecmp: + # Use "https://" scheme in examples. + httpsExamples: false + imagePullSecrets: [] nameOverride: "" fullnameOverride: ""