|
|
@ -125,7 +125,9 @@ service:
|
|
|
|
port: 80
|
|
|
|
port: 80
|
|
|
|
|
|
|
|
|
|
|
|
ingress:
|
|
|
|
ingress:
|
|
|
|
|
|
|
|
# Specifies whether a ingress should be created
|
|
|
|
enabled: false
|
|
|
|
enabled: false
|
|
|
|
|
|
|
|
# Annotations to add to the ingress
|
|
|
|
annotations: {}
|
|
|
|
annotations: {}
|
|
|
|
# kubernetes.io/ingress.class: nginx
|
|
|
|
# kubernetes.io/ingress.class: nginx
|
|
|
|
# kubernetes.io/tls-acme: "true"
|
|
|
|
# kubernetes.io/tls-acme: "true"
|
|
|
@ -194,8 +196,9 @@ metadata:
|
|
|
|
name: {{ $fullName }}
|
|
|
|
name: {{ $fullName }}
|
|
|
|
labels:
|
|
|
|
labels:
|
|
|
|
{{- include "<CHARTNAME>.labels" . | nindent 4 }}
|
|
|
|
{{- include "<CHARTNAME>.labels" . | nindent 4 }}
|
|
|
|
{{- with .Values.ingress.annotations }}
|
|
|
|
|
|
|
|
annotations:
|
|
|
|
annotations:
|
|
|
|
|
|
|
|
{{- include "<CHARTNAME>.annotations" . | nindent 4 }}
|
|
|
|
|
|
|
|
{{- with .Values.ingress.annotations }}
|
|
|
|
{{- toYaml . | nindent 4 }}
|
|
|
|
{{- toYaml . | nindent 4 }}
|
|
|
|
{{- end }}
|
|
|
|
{{- end }}
|
|
|
|
spec:
|
|
|
|
spec:
|
|
|
@ -230,6 +233,8 @@ metadata:
|
|
|
|
name: {{ include "<CHARTNAME>.fullname" . }}
|
|
|
|
name: {{ include "<CHARTNAME>.fullname" . }}
|
|
|
|
labels:
|
|
|
|
labels:
|
|
|
|
{{- include "<CHARTNAME>.labels" . | nindent 4 }}
|
|
|
|
{{- include "<CHARTNAME>.labels" . | nindent 4 }}
|
|
|
|
|
|
|
|
annotations:
|
|
|
|
|
|
|
|
{{- include "<CHARTNAME>.annotations" . | nindent 4 }}
|
|
|
|
spec:
|
|
|
|
spec:
|
|
|
|
replicas: {{ .Values.replicaCount }}
|
|
|
|
replicas: {{ .Values.replicaCount }}
|
|
|
|
selector:
|
|
|
|
selector:
|
|
|
@ -287,6 +292,8 @@ metadata:
|
|
|
|
name: {{ include "<CHARTNAME>.fullname" . }}
|
|
|
|
name: {{ include "<CHARTNAME>.fullname" . }}
|
|
|
|
labels:
|
|
|
|
labels:
|
|
|
|
{{- include "<CHARTNAME>.labels" . | nindent 4 }}
|
|
|
|
{{- include "<CHARTNAME>.labels" . | nindent 4 }}
|
|
|
|
|
|
|
|
annotations:
|
|
|
|
|
|
|
|
{{- include "<CHARTNAME>.annotations" . | nindent 4 }}
|
|
|
|
spec:
|
|
|
|
spec:
|
|
|
|
type: {{ .Values.service.type }}
|
|
|
|
type: {{ .Values.service.type }}
|
|
|
|
ports:
|
|
|
|
ports:
|
|
|
@ -305,8 +312,9 @@ metadata:
|
|
|
|
name: {{ include "<CHARTNAME>.serviceAccountName" . }}
|
|
|
|
name: {{ include "<CHARTNAME>.serviceAccountName" . }}
|
|
|
|
labels:
|
|
|
|
labels:
|
|
|
|
{{- include "<CHARTNAME>.labels" . | nindent 4 }}
|
|
|
|
{{- include "<CHARTNAME>.labels" . | nindent 4 }}
|
|
|
|
{{- with .Values.serviceAccount.annotations }}
|
|
|
|
|
|
|
|
annotations:
|
|
|
|
annotations:
|
|
|
|
|
|
|
|
{{- include "<CHARTNAME>.annotations" . | nindent 4 }}
|
|
|
|
|
|
|
|
{{- with .Values.serviceAccount.annotations }}
|
|
|
|
{{- toYaml . | nindent 4 }}
|
|
|
|
{{- toYaml . | nindent 4 }}
|
|
|
|
{{- end }}
|
|
|
|
{{- end }}
|
|
|
|
{{- end -}}
|
|
|
|
{{- end -}}
|
|
|
@ -388,6 +396,14 @@ app.kubernetes.io/name: {{ include "<CHARTNAME>.name" . }}
|
|
|
|
app.kubernetes.io/instance: {{ .Release.Name }}
|
|
|
|
app.kubernetes.io/instance: {{ .Release.Name }}
|
|
|
|
{{- end -}}
|
|
|
|
{{- end -}}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
{{/*
|
|
|
|
|
|
|
|
Common annotations
|
|
|
|
|
|
|
|
*/}}
|
|
|
|
|
|
|
|
{{- define "<CHARTNAME>.annotations" -}}
|
|
|
|
|
|
|
|
meta.helm.sh/release-name: "{{ .Release.Name }}"
|
|
|
|
|
|
|
|
meta.helm.sh/release-namespace: "{{ .Release.Namespace }}"
|
|
|
|
|
|
|
|
{{- end -}}
|
|
|
|
|
|
|
|
|
|
|
|
{{/*
|
|
|
|
{{/*
|
|
|
|
Create the name of the service account to use
|
|
|
|
Create the name of the service account to use
|
|
|
|
*/}}
|
|
|
|
*/}}
|
|
|
@ -407,6 +423,7 @@ metadata:
|
|
|
|
labels:
|
|
|
|
labels:
|
|
|
|
{{- include "<CHARTNAME>.labels" . | nindent 4 }}
|
|
|
|
{{- include "<CHARTNAME>.labels" . | nindent 4 }}
|
|
|
|
annotations:
|
|
|
|
annotations:
|
|
|
|
|
|
|
|
{{- include "<CHARTNAME>.annotations" . | nindent 4 }}
|
|
|
|
"helm.sh/hook": test-success
|
|
|
|
"helm.sh/hook": test-success
|
|
|
|
spec:
|
|
|
|
spec:
|
|
|
|
containers:
|
|
|
|
containers:
|
|
|
|