Skip to content

Commit

Permalink
chagne lifecycle to to yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
coolbry95 committed Sep 9, 2022
1 parent 3bf164d commit 2ea3ffa
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
4 changes: 1 addition & 3 deletions deployments/helm-chart/templates/controller-daemonset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -71,9 +71,7 @@ spec:
- name: {{ include "nginx-ingress.name" . }}
image: "{{ .Values.controller.image.repository }}:{{ .Values.controller.image.tag }}"
imagePullPolicy: "{{ .Values.controller.image.pullPolicy }}"
{{- if .Values.controller.lifecycle }}
{{ toYaml .Values.controller.lifecycle | indent 8 }}
{{- end }}
{{ toYaml .Values.controller.lifecycle | indent 10 }}
ports:
- name: http
containerPort: 80
Expand Down
4 changes: 1 addition & 3 deletions deployments/helm-chart/templates/controller-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -76,9 +76,7 @@ spec:
- image: "{{ .Values.controller.image.repository }}:{{ .Values.controller.image.tag }}"
name: {{ include "nginx-ingress.name" . }}
imagePullPolicy: "{{ .Values.controller.image.pullPolicy }}"
{{- if .Values.controller.lifecycle }}
{{ toYaml .Values.controller.lifecycle | indent 8 }}
{{- end }}
{{ toYaml .Values.controller.lifecycle | indent 10 }}
ports:
- name: http
containerPort: 80
Expand Down

0 comments on commit 2ea3ffa

Please sign in to comment.