|
|
@ -160,10 +160,10 @@ metadata:
|
|
|
|
name: {{ $fullName }}
|
|
|
|
name: {{ $fullName }}
|
|
|
|
labels:
|
|
|
|
labels:
|
|
|
|
{{ include "<CHARTNAME>.labels" . | indent 4 }}
|
|
|
|
{{ include "<CHARTNAME>.labels" . | indent 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:
|
|
|
@ -207,20 +207,26 @@ spec:
|
|
|
|
labels:
|
|
|
|
labels:
|
|
|
|
app.kubernetes.io/name: {{ include "<CHARTNAME>.name" . }}
|
|
|
|
app.kubernetes.io/name: {{ include "<CHARTNAME>.name" . }}
|
|
|
|
app.kubernetes.io/instance: {{ .Release.Name }}
|
|
|
|
app.kubernetes.io/instance: {{ .Release.Name }}
|
|
|
|
|
|
|
|
{{- with .Values.podAnnotations }}
|
|
|
|
annotations:
|
|
|
|
annotations:
|
|
|
|
{{- toYaml .Values.podAnnotations | nindent 8 }}
|
|
|
|
{{- toYaml . | nindent 8 }}
|
|
|
|
|
|
|
|
{{- end }}
|
|
|
|
spec:
|
|
|
|
spec:
|
|
|
|
{{- with .Values.imagePullSecrets }}
|
|
|
|
{{- with .Values.imagePullSecrets }}
|
|
|
|
imagePullSecrets:
|
|
|
|
imagePullSecrets:
|
|
|
|
{{- toYaml . | nindent 8 }}
|
|
|
|
{{- toYaml . | nindent 8 }}
|
|
|
|
{{- end }}
|
|
|
|
{{- end }}
|
|
|
|
serviceAccountName: {{ template "<CHARTNAME>.serviceAccountName" . }}
|
|
|
|
serviceAccountName: {{ template "<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 }}:{{ .Values.image.tag }}"
|
|
|
|
image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}"
|
|
|
|
imagePullPolicy: {{ .Values.image.pullPolicy }}
|
|
|
|
imagePullPolicy: {{ .Values.image.pullPolicy }}
|
|
|
|
ports:
|
|
|
|
ports:
|
|
|
@ -235,8 +241,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 }}
|
|
|
@ -257,8 +265,10 @@ metadata:
|
|
|
|
name: {{ include "<CHARTNAME>.fullname" . }}
|
|
|
|
name: {{ include "<CHARTNAME>.fullname" . }}
|
|
|
|
labels:
|
|
|
|
labels:
|
|
|
|
{{ include "<CHARTNAME>.labels" . | indent 4 }}
|
|
|
|
{{ include "<CHARTNAME>.labels" . | indent 4 }}
|
|
|
|
|
|
|
|
{{- with .Values.service.annotations }}
|
|
|
|
annotations:
|
|
|
|
annotations:
|
|
|
|
{{- toYaml .Values.service.annotations | nindent 4 }}
|
|
|
|
{{- toYaml .| nindent 4 }}
|
|
|
|
|
|
|
|
{{- end }}
|
|
|
|
spec:
|
|
|
|
spec:
|
|
|
|
type: {{ .Values.service.type }}
|
|
|
|
type: {{ .Values.service.type }}
|
|
|
|
ports:
|
|
|
|
ports:
|
|
|
|