|
|
@ -119,6 +119,9 @@ securityContext: {}
|
|
|
|
# runAsUser: 1000
|
|
|
|
# runAsUser: 1000
|
|
|
|
|
|
|
|
|
|
|
|
service:
|
|
|
|
service:
|
|
|
|
|
|
|
|
annotations: {}
|
|
|
|
|
|
|
|
# prometheus.io/scrape: "true"
|
|
|
|
|
|
|
|
# prometheus.io/port: "9090"
|
|
|
|
type: ClusterIP
|
|
|
|
type: ClusterIP
|
|
|
|
port: 80
|
|
|
|
port: 80
|
|
|
|
|
|
|
|
|
|
|
@ -147,6 +150,8 @@ resources: {}
|
|
|
|
# cpu: 100m
|
|
|
|
# cpu: 100m
|
|
|
|
# memory: 128Mi
|
|
|
|
# memory: 128Mi
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
podAnnotations: {}
|
|
|
|
|
|
|
|
|
|
|
|
nodeSelector: {}
|
|
|
|
nodeSelector: {}
|
|
|
|
|
|
|
|
|
|
|
|
tolerations: []
|
|
|
|
tolerations: []
|
|
|
@ -191,10 +196,10 @@ metadata:
|
|
|
|
name: {{ $fullName }}
|
|
|
|
name: {{ $fullName }}
|
|
|
|
labels:
|
|
|
|
labels:
|
|
|
|
{{- include "<CHARTNAME>.labels" . | nindent 4 }}
|
|
|
|
{{- include "<CHARTNAME>.labels" . | nindent 4 }}
|
|
|
|
{{- with .Values.ingress.annotations }}
|
|
|
|
{{- with .Values.ingress.annotations }}
|
|
|
|
annotations:
|
|
|
|
annotations:
|
|
|
|
{{- toYaml . | nindent 4 }}
|
|
|
|
{{- toYaml . | nindent 4 }}
|
|
|
|
{{- end }}
|
|
|
|
{{- end }}
|
|
|
|
spec:
|
|
|
|
spec:
|
|
|
|
{{- if .Values.ingress.tls }}
|
|
|
|
{{- if .Values.ingress.tls }}
|
|
|
|
tls:
|
|
|
|
tls:
|
|
|
@ -236,18 +241,26 @@ spec:
|
|
|
|
metadata:
|
|
|
|
metadata:
|
|
|
|
labels:
|
|
|
|
labels:
|
|
|
|
{{- include "<CHARTNAME>.selectorLabels" . | nindent 8 }}
|
|
|
|
{{- include "<CHARTNAME>.selectorLabels" . | nindent 8 }}
|
|
|
|
|
|
|
|
{{- with .Values.podAnnotations }}
|
|
|
|
|
|
|
|
annotations:
|
|
|
|
|
|
|
|
{{- toYaml . | nindent 8 }}
|
|
|
|
|
|
|
|
{{- end }}
|
|
|
|
spec:
|
|
|
|
spec:
|
|
|
|
{{- with .Values.imagePullSecrets }}
|
|
|
|
{{- with .Values.imagePullSecrets }}
|
|
|
|
imagePullSecrets:
|
|
|
|
imagePullSecrets:
|
|
|
|
{{- toYaml . | nindent 8 }}
|
|
|
|
{{- toYaml . | nindent 8 }}
|
|
|
|
{{- end }}
|
|
|
|
{{- end }}
|
|
|
|
serviceAccountName: {{ include "<CHARTNAME>.serviceAccountName" . }}
|
|
|
|
serviceAccountName: {{ include "<CHARTNAME>.serviceAccountName" . }}
|
|
|
|
|
|
|
|
{{- with .Values.podSecurityContext }}
|
|
|
|
securityContext:
|
|
|
|
securityContext:
|
|
|
|
{{- toYaml .Values.podSecurityContext | nindent 8 }}
|
|
|
|
{{- toYaml . | nindent 8 }}
|
|
|
|
|
|
|
|
{{- end }}
|
|
|
|
containers:
|
|
|
|
containers:
|
|
|
|
- name: {{ .Chart.Name }}
|
|
|
|
- name: {{ .Chart.Name }}
|
|
|
|
|
|
|
|
{{- with .Values.securityContext }}
|
|
|
|
securityContext:
|
|
|
|
securityContext:
|
|
|
|
{{- toYaml .Values.securityContext | nindent 12 }}
|
|
|
|
{{- toYaml . | nindent 12 }}
|
|
|
|
|
|
|
|
{{- end }}
|
|
|
|
image: "{{ .Values.image.repository }}:{{ .Chart.AppVersion }}"
|
|
|
|
image: "{{ .Values.image.repository }}:{{ .Chart.AppVersion }}"
|
|
|
|
imagePullPolicy: {{ .Values.image.pullPolicy }}
|
|
|
|
imagePullPolicy: {{ .Values.image.pullPolicy }}
|
|
|
|
ports:
|
|
|
|
ports:
|
|
|
@ -262,8 +275,10 @@ spec:
|
|
|
|
httpGet:
|
|
|
|
httpGet:
|
|
|
|
path: /
|
|
|
|
path: /
|
|
|
|
port: http
|
|
|
|
port: http
|
|
|
|
|
|
|
|
{{- with .Values.resources }}
|
|
|
|
resources:
|
|
|
|
resources:
|
|
|
|
{{- toYaml .Values.resources | nindent 12 }}
|
|
|
|
{{- toYaml . | nindent 12 }}
|
|
|
|
|
|
|
|
{{- end }}
|
|
|
|
{{- with .Values.nodeSelector }}
|
|
|
|
{{- with .Values.nodeSelector }}
|
|
|
|
nodeSelector:
|
|
|
|
nodeSelector:
|
|
|
|
{{- toYaml . | nindent 8 }}
|
|
|
|
{{- toYaml . | nindent 8 }}
|
|
|
|