Default values for configmap
This commit is contained in:
parent
f1c43626da
commit
9850488745
|
|
@ -10,4 +10,4 @@ metadata:
|
||||||
data:
|
data:
|
||||||
{{- if .Values.metrics.customMetrics }}
|
{{- if .Values.metrics.customMetrics }}
|
||||||
custom-metrics.yaml: {{ toYaml .Values.metrics.customMetrics | quote }}
|
custom-metrics.yaml: {{ toYaml .Values.metrics.customMetrics | quote }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
|
|
||||||
|
|
@ -169,4 +169,4 @@ backup:
|
||||||
minWalSize: 512MB
|
minWalSize: 512MB
|
||||||
walBuffers: 4MB
|
walBuffers: 4MB
|
||||||
checkpointCompletionTarget: 0.7
|
checkpointCompletionTarget: 0.7
|
||||||
defaultStatisticsTarget: 100
|
defaultStatisticsTarget: 100
|
||||||
|
|
|
||||||
|
|
@ -0,0 +1,13 @@
|
||||||
|
apiVersion: v1
|
||||||
|
kind: ConfigMap
|
||||||
|
metadata:
|
||||||
|
name: git-{{ include "<CHARTNAME>.fullname" . }}
|
||||||
|
{{- if or .Values.git.branch .Values.git.url }}
|
||||||
|
data:
|
||||||
|
{{- if .Values.git.branch }}
|
||||||
|
branch: "{{ .Values.git.branch }}"
|
||||||
|
{{- end }}
|
||||||
|
{{- if .Values.git.url }}
|
||||||
|
url: "{{ .Values.git.url }}"
|
||||||
|
{{- end }}
|
||||||
|
{{- end }}
|
||||||
|
|
@ -12,6 +12,10 @@ image:
|
||||||
# Overrides the image tag whose default is the chart appVersion.
|
# Overrides the image tag whose default is the chart appVersion.
|
||||||
tag: ""
|
tag: ""
|
||||||
|
|
||||||
|
git:
|
||||||
|
branch: ""
|
||||||
|
url: ""
|
||||||
|
|
||||||
imagePullSecrets:
|
imagePullSecrets:
|
||||||
- name: touchin-registry
|
- name: touchin-registry
|
||||||
nameOverride: ""
|
nameOverride: ""
|
||||||
|
|
|
||||||
|
|
@ -2,6 +2,12 @@ apiVersion: v1
|
||||||
kind: ConfigMap
|
kind: ConfigMap
|
||||||
metadata:
|
metadata:
|
||||||
name: git-{{ include "<CHARTNAME>.fullname" . }}
|
name: git-{{ include "<CHARTNAME>.fullname" . }}
|
||||||
|
{{- if or .Values.git.branch .Values.git.url }}
|
||||||
data:
|
data:
|
||||||
branch: {{ .Values.git.branch }}
|
{{- if .Values.git.branch }}
|
||||||
url: {{ .Values.git.url }}
|
branch: "{{ .Values.git.branch }}"
|
||||||
|
{{- end }}
|
||||||
|
{{- if .Values.git.url }}
|
||||||
|
url: "{{ .Values.git.url }}"
|
||||||
|
{{- end }}
|
||||||
|
{{- end }}
|
||||||
|
|
|
||||||
|
|
@ -2,6 +2,12 @@ apiVersion: v1
|
||||||
kind: ConfigMap
|
kind: ConfigMap
|
||||||
metadata:
|
metadata:
|
||||||
name: git-{{ include "<CHARTNAME>.fullname" . }}
|
name: git-{{ include "<CHARTNAME>.fullname" . }}
|
||||||
|
{{- if or .Values.git.branch .Values.git.url }}
|
||||||
data:
|
data:
|
||||||
branch: {{ .Values.git.branch }}
|
{{- if .Values.git.branch }}
|
||||||
url: {{ .Values.git.url }}
|
branch: "{{ .Values.git.branch }}"
|
||||||
|
{{- end }}
|
||||||
|
{{- if .Values.git.url }}
|
||||||
|
url: "{{ .Values.git.url }}"
|
||||||
|
{{- end }}
|
||||||
|
{{- end }}
|
||||||
|
|
|
||||||
|
|
@ -2,6 +2,12 @@ apiVersion: v1
|
||||||
kind: ConfigMap
|
kind: ConfigMap
|
||||||
metadata:
|
metadata:
|
||||||
name: git-{{ include "<CHARTNAME>.fullname" . }}
|
name: git-{{ include "<CHARTNAME>.fullname" . }}
|
||||||
|
{{- if or .Values.git.branch .Values.git.url }}
|
||||||
data:
|
data:
|
||||||
branch: {{ .Values.git.branch }}
|
{{- if .Values.git.branch }}
|
||||||
url: {{ .Values.git.url }}
|
branch: "{{ .Values.git.branch }}"
|
||||||
|
{{- end }}
|
||||||
|
{{- if .Values.git.url }}
|
||||||
|
url: "{{ .Values.git.url }}"
|
||||||
|
{{- end }}
|
||||||
|
{{- end }}
|
||||||
|
|
|
||||||
|
|
@ -2,6 +2,12 @@ apiVersion: v1
|
||||||
kind: ConfigMap
|
kind: ConfigMap
|
||||||
metadata:
|
metadata:
|
||||||
name: git-{{ include "<CHARTNAME>.fullname" . }}
|
name: git-{{ include "<CHARTNAME>.fullname" . }}
|
||||||
|
{{- if or .Values.git.branch .Values.git.url }}
|
||||||
data:
|
data:
|
||||||
branch: {{ .Values.git.branch }}
|
{{- if .Values.git.branch }}
|
||||||
url: {{ .Values.git.url }}
|
branch: "{{ .Values.git.branch }}"
|
||||||
|
{{- end }}
|
||||||
|
{{- if .Values.git.url }}
|
||||||
|
url: "{{ .Values.git.url }}"
|
||||||
|
{{- end }}
|
||||||
|
{{- end }}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue