feat(helm-chart): add casecmp.httpsExamples value

This commit is contained in:
2022-11-14 20:00:21 +00:00
parent d3f1594b35
commit 406f21f721
2 changed files with 7 additions and 0 deletions

View File

@@ -33,6 +33,9 @@ spec:
{{- toYaml .Values.securityContext | nindent 12 }} {{- toYaml .Values.securityContext | nindent 12 }}
image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}" image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}"
imagePullPolicy: {{ .Values.image.pullPolicy }} imagePullPolicy: {{ .Values.image.pullPolicy }}
env:
- name: "FORCE_HTTPS"
value: "{{ if .Values.casecmp.httpsExamples }}true{{ end }}"
ports: ports:
- name: http - name: http
containerPort: 8080 containerPort: 8080

View File

@@ -10,6 +10,10 @@ image:
# Overrides the image tag whose default is the chart appVersion. # Overrides the image tag whose default is the chart appVersion.
tag: "" tag: ""
casecmp:
# Use "https://" scheme in examples.
httpsExamples: false
imagePullSecrets: [] imagePullSecrets: []
nameOverride: "" nameOverride: ""
fullnameOverride: "" fullnameOverride: ""