From d9752e59bb40e161625649bc8dfe517a0837078c Mon Sep 17 00:00:00 2001 From: SataQiu <1527062125@qq.com> Date: Sun, 13 Sep 2020 22:33:56 +0800 Subject: [PATCH] fix helm chart template format Signed-off-by: SataQiu <1527062125@qq.com> --- .../templates/oam-controller.yaml | 24 +++++++++---------- 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/charts/oam-kubernetes-runtime/templates/oam-controller.yaml b/charts/oam-kubernetes-runtime/templates/oam-controller.yaml index 8dd9d89f..02ac7751 100644 --- a/charts/oam-kubernetes-runtime/templates/oam-controller.yaml +++ b/charts/oam-kubernetes-runtime/templates/oam-controller.yaml @@ -123,15 +123,15 @@ spec: secretName: {{ .Values.certificate.secretName | quote }} {{ end }} terminationGracePeriodSeconds: 10 - {{- with .Values.nodeSelector }} - nodeSelector: - {{ toYaml . | indent 8 }} - {{- end }} - {{- with .Values.affinity }} - affinity: - {{- toYaml . | nindent 8 }} - {{- end }} - {{- with .Values.tolerations }} - tolerations: - {{- toYaml . | nindent 8 }} - {{- end }} \ No newline at end of file + {{- with .Values.nodeSelector }} + nodeSelector: + {{- toYaml . | nindent 8 }} + {{- end }} + {{- with .Values.affinity }} + affinity: + {{- toYaml . | nindent 8 }} + {{- end }} + {{- with .Values.tolerations }} + tolerations: + {{- toYaml . | nindent 8 }} + {{- end }} \ No newline at end of file