aboutsummaryrefslogtreecommitdiffstats
path: root/kubernetes/sdnc/components/ueb-listener/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/ueb-listener/templates/deployment.yaml
parentc114b2f9d2429fc8bc5ae88bd10554074a175e4a (diff)
parent54bfd171646157f20c00437ebd0afcc7d6bc0c13 (diff)
Merge "[SDNC] Fix indent level for nodeSelector and affinity"
Diffstat (limited to 'kubernetes/sdnc/components/ueb-listener/templates/deployment.yaml')
-rw-r--r--kubernetes/sdnc/components/ueb-listener/templates/deployment.yaml18
1 files changed, 7 insertions, 11 deletions
diff --git a/kubernetes/sdnc/components/ueb-listener/templates/deployment.yaml b/kubernetes/sdnc/components/ueb-listener/templates/deployment.yaml
index 385fd9b651..911985fe2b 100644
--- a/kubernetes/sdnc/components/ueb-listener/templates/deployment.yaml
+++ b/kubernetes/sdnc/components/ueb-listener/templates/deployment.yaml
@@ -94,17 +94,13 @@ spec:
- mountPath: {{ .Values.config.configDir }}/ueb-listener.properties
name: properties
subPath: ueb-listener.properties
- 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: