aboutsummaryrefslogtreecommitdiffstats
path: root/kubernetes/sdnc/components/sdnc-web/templates/deployment.yaml
diff options
context:
space:
mode:
authorSylvain Desbureaux <sylvain.desbureaux@orange.com>2021-07-13 06:36:50 +0000
committerGerrit Code Review <gerrit@onap.org>2021-07-13 06:36:50 +0000
commit8b1d9c78b53584513d98412a45b9705763ec2197 (patch)
tree275a333234d28962545c9490fb0d86a050c738da /kubernetes/sdnc/components/sdnc-web/templates/deployment.yaml
parentc114b2f9d2429fc8bc5ae88bd10554074a175e4a (diff)
parent54bfd171646157f20c00437ebd0afcc7d6bc0c13 (diff)
Merge "[SDNC] Fix indent level for nodeSelector and affinity"
Diffstat (limited to 'kubernetes/sdnc/components/sdnc-web/templates/deployment.yaml')
-rw-r--r--kubernetes/sdnc/components/sdnc-web/templates/deployment.yaml13
1 files changed, 6 insertions, 7 deletions
diff --git a/kubernetes/sdnc/components/sdnc-web/templates/deployment.yaml b/kubernetes/sdnc/components/sdnc-web/templates/deployment.yaml
index 7b04773ec5..f168997d3f 100644
--- a/kubernetes/sdnc/components/sdnc-web/templates/deployment.yaml
+++ b/kubernetes/sdnc/components/sdnc-web/templates/deployment.yaml
@@ -95,13 +95,12 @@ spec:
readOnly: true
resources: {{ include "common.resources" . | nindent 12 }}
- {{- if .Values.nodeSelector }}
- nodeSelector: {{ toYaml .Values.nodeSelector | nindent 10 }}
- {{- end -}}
- {{- if .Values.affinity }}
- affinity:
-{{ toYaml .Values.affinity | indent 10 }}
- {{- end }}
+ {{- if .Values.nodeSelector }}
+ nodeSelector: {{ toYaml .Values.nodeSelector | nindent 8 }}
+ {{- end }}
+ {{- if .Values.affinity }}
+ affinity: {{ toYaml .Values.affinity | nindent 8 }}
+ {{- end }}
volumes: {{ include "common.certInitializer.volumes" . | nindent 6 }}
- name: localtime
hostPath: