aboutsummaryrefslogtreecommitdiffstats
path: root/kubernetes/sdnc/components/sdnc-prom/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-prom/templates/deployment.yaml
parentc114b2f9d2429fc8bc5ae88bd10554074a175e4a (diff)
parent54bfd171646157f20c00437ebd0afcc7d6bc0c13 (diff)
Merge "[SDNC] Fix indent level for nodeSelector and affinity"
Diffstat (limited to 'kubernetes/sdnc/components/sdnc-prom/templates/deployment.yaml')
-rw-r--r--kubernetes/sdnc/components/sdnc-prom/templates/deployment.yaml18
1 files changed, 7 insertions, 11 deletions
diff --git a/kubernetes/sdnc/components/sdnc-prom/templates/deployment.yaml b/kubernetes/sdnc/components/sdnc-prom/templates/deployment.yaml
index 1c9adad5a0..4cf61f518e 100644
--- a/kubernetes/sdnc/components/sdnc-prom/templates/deployment.yaml
+++ b/kubernetes/sdnc/components/sdnc-prom/templates/deployment.yaml
@@ -62,17 +62,13 @@ spec:
mountPath: /app/bin
- name: core-dns-keyfile
mountPath: /app/config/coredns
-
- resources:
-{{ include "common.resources" . | indent 12 }}
- {{- if .Values.nodeSelector }}
- nodeSelector:
-{{ toYaml .Values.nodeSelector | indent 10 }}
- {{- end -}}
- {{- if .Values.affinity }}
- affinity:
-{{ toYaml .Values.affinity | indent 10 }}
- {{- end }}
+ resources: {{ include "common.resources" . | nindent 10 }}
+ {{- if .Values.nodeSelector }}
+ nodeSelector: {{ toYaml .Values.nodeSelector | nindent 8 }}
+ {{- end }}
+ {{- if .Values.affinity }}
+ affinity: {{ toYaml .Values.affinity | nindent 8 }}
+ {{- end }}
volumes:
- name: localtime
hostPath: