summaryrefslogtreecommitdiffstats
path: root/kubernetes/robot
diff options
context:
space:
mode:
authorAlexis de Talhouƫt <alexis.de_talhouet@bell.ca>2018-12-07 18:14:29 +0000
committerGerrit Code Review <gerrit@onap.org>2018-12-07 18:14:29 +0000
commit94363e1c6343e093bd6fa6ada854243bb8d7e1a6 (patch)
treed86b7fd1da0c7e29a5c2281c009931f77022dd15 /kubernetes/robot
parent08f63e8d2b42fdba8b1d9e94cc64947c69fec58c (diff)
parente512fb4beb203aa944c90abcdf62b8667b7dbb0e (diff)
Merge "Fix nodeSlector and Affinity for robot deployment"
Diffstat (limited to 'kubernetes/robot')
-rw-r--r--kubernetes/robot/templates/deployment.yaml18
1 files changed, 9 insertions, 9 deletions
diff --git a/kubernetes/robot/templates/deployment.yaml b/kubernetes/robot/templates/deployment.yaml
index e230f4c3b6..7b0c140269 100644
--- a/kubernetes/robot/templates/deployment.yaml
+++ b/kubernetes/robot/templates/deployment.yaml
@@ -59,15 +59,15 @@ spec:
- name: robot-logs
mountPath: /share/logs
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 }}
+{{ include "common.resources" . }}
+ {{- if .Values.nodeSelector }}
+ nodeSelector:
+{{ toYaml .Values.nodeSelector | indent 8 }}
+ {{- end -}}
+ {{- if .Values.affinity }}
+ affinity:
+{{ toYaml .Values.affinity | indent 8 }}
+ {{- end }}
volumes:
{{- if .Values.persistence.enabled }}
- name: robot-logs