|
@ -8,10 +8,6 @@ metadata: |
|
|
chart: {{ template "helm-guestbook.chart" . }} |
|
|
chart: {{ template "helm-guestbook.chart" . }} |
|
|
release: {{ .Release.Name }} |
|
|
release: {{ .Release.Name }} |
|
|
heritage: {{ .Release.Service }} |
|
|
heritage: {{ .Release.Service }} |
|
|
{{- with .Values.deployment.annotations }} |
|
|
|
|
|
annotations: |
|
|
|
|
|
{{- toYaml . | nindent 4 }} |
|
|
|
|
|
{{- end }} |
|
|
|
|
|
spec: |
|
|
spec: |
|
|
replicas: {{ .Values.replicaCount }} |
|
|
replicas: {{ .Values.replicaCount }} |
|
|
revisionHistoryLimit: 3 |
|
|
revisionHistoryLimit: 3 |
|
@ -24,6 +20,10 @@ spec: |
|
|
labels: |
|
|
labels: |
|
|
app: {{ template "helm-guestbook.name" . }} |
|
|
app: {{ template "helm-guestbook.name" . }} |
|
|
release: {{ .Release.Name }} |
|
|
release: {{ .Release.Name }} |
|
|
|
|
|
{{- with .Values.deployment.annotations }} |
|
|
|
|
|
annotations: |
|
|
|
|
|
{{- toYaml . | nindent 4 }} |
|
|
|
|
|
{{- end }} |
|
|
spec: |
|
|
spec: |
|
|
containers: |
|
|
containers: |
|
|
- name: {{ .Chart.Name }} |
|
|
- name: {{ .Chart.Name }} |
|
|