|
|
@ -4,7 +4,7 @@ metadata:
|
|
|
|
# This uses a "fullname" template (see _helpers)
|
|
|
|
# This uses a "fullname" template (see _helpers)
|
|
|
|
# Basing names on .Release.Name means that the same chart can be installed
|
|
|
|
# Basing names on .Release.Name means that the same chart can be installed
|
|
|
|
# multiple times into the same namespace.
|
|
|
|
# multiple times into the same namespace.
|
|
|
|
name: {{ template "fullname" . }}
|
|
|
|
name: {{ template "nginx.fullname" . }}
|
|
|
|
labels:
|
|
|
|
labels:
|
|
|
|
# The "heritage" label is used to track which tool deployed a given chart.
|
|
|
|
# The "heritage" label is used to track which tool deployed a given chart.
|
|
|
|
# It is useful for admins who want to see what releases a particular tool
|
|
|
|
# It is useful for admins who want to see what releases a particular tool
|
|
|
@ -15,7 +15,7 @@ metadata:
|
|
|
|
release: {{ .Release.Name }}
|
|
|
|
release: {{ .Release.Name }}
|
|
|
|
# This makes it easy to audit chart usage.
|
|
|
|
# This makes it easy to audit chart usage.
|
|
|
|
chart: {{ .Chart.Name }}-{{ .Chart.Version }}
|
|
|
|
chart: {{ .Chart.Name }}-{{ .Chart.Version }}
|
|
|
|
app: {{ template "name" . }}
|
|
|
|
app: {{ template "nginx.name" . }}
|
|
|
|
spec:
|
|
|
|
spec:
|
|
|
|
replicas: {{ .Values.replicaCount }}
|
|
|
|
replicas: {{ .Values.replicaCount }}
|
|
|
|
template:
|
|
|
|
template:
|
|
|
@ -26,11 +26,11 @@ spec:
|
|
|
|
{{ toYaml .Values.podAnnotations | indent 8 }}
|
|
|
|
{{ toYaml .Values.podAnnotations | indent 8 }}
|
|
|
|
{{- end }}
|
|
|
|
{{- end }}
|
|
|
|
labels:
|
|
|
|
labels:
|
|
|
|
app: {{ template "name" . }}
|
|
|
|
app: {{ template "nginx.name" . }}
|
|
|
|
release: {{ .Release.Name }}
|
|
|
|
release: {{ .Release.Name }}
|
|
|
|
spec:
|
|
|
|
spec:
|
|
|
|
containers:
|
|
|
|
containers:
|
|
|
|
- name: {{ template "name" . }}
|
|
|
|
- name: {{ template "nginx.name" . }}
|
|
|
|
image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}"
|
|
|
|
image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}"
|
|
|
|
imagePullPolicy: {{ .Values.image.pullPolicy }}
|
|
|
|
imagePullPolicy: {{ .Values.image.pullPolicy }}
|
|
|
|
ports:
|
|
|
|
ports:
|
|
|
@ -54,4 +54,4 @@ spec:
|
|
|
|
volumes:
|
|
|
|
volumes:
|
|
|
|
- name: wwwdata-volume
|
|
|
|
- name: wwwdata-volume
|
|
|
|
configMap:
|
|
|
|
configMap:
|
|
|
|
name: {{ template "fullname" . }}
|
|
|
|
name: {{ template "nginx.fullname" . }}
|
|
|
|