Code Review
/
oom.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
[COMMON] Fix resources indent
[oom.git]
/
kubernetes
/
portal
/
components
/
portal-widget
/
templates
/
deployment.yaml
diff --git
a/kubernetes/portal/components/portal-widget/templates/deployment.yaml
b/kubernetes/portal/components/portal-widget/templates/deployment.yaml
index
2462576
..
f0ea980
100644
(file)
--- a/
kubernetes/portal/components/portal-widget/templates/deployment.yaml
+++ b/
kubernetes/portal/components/portal-widget/templates/deployment.yaml
@@
-115,8
+115,7
@@
spec:
- name: properties-onapwidgetms
mountPath: "/application.yml"
subPath: application.yml
- name: properties-onapwidgetms
mountPath: "/application.yml"
subPath: application.yml
- resources:
-{{ include "common.resources" . | indent 12 }}
+ resources: {{ include "common.resources" . | nindent 10 }}
{{- if .Values.nodeSelector }}
nodeSelector:
{{ toYaml .Values.nodeSelector | indent 10 }}
{{- if .Values.nodeSelector }}
nodeSelector:
{{ toYaml .Values.nodeSelector | indent 10 }}
@@
-125,6
+124,7
@@
spec:
affinity:
{{ toYaml .Values.affinity | indent 10 }}
{{- end }}
affinity:
{{ toYaml .Values.affinity | indent 10 }}
{{- end }}
+ serviceAccountName: {{ include "common.fullname" (dict "suffix" "read" "dot" . )}}
volumes:
- name: localtime
hostPath:
volumes:
- name: localtime
hostPath: