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
/
policy
/
components
/
policy-xacml-pdp
/
templates
/
deployment.yaml
diff --git
a/kubernetes/policy/components/policy-xacml-pdp/templates/deployment.yaml
b/kubernetes/policy/components/policy-xacml-pdp/templates/deployment.yaml
index
73ae6dd
..
3050042
100755
(executable)
--- a/
kubernetes/policy/components/policy-xacml-pdp/templates/deployment.yaml
+++ b/
kubernetes/policy/components/policy-xacml-pdp/templates/deployment.yaml
@@
-121,8
+121,7
@@
spec:
readOnly: true
- mountPath: /opt/app/policy/pdpx/etc/mounted
name: pdpxconfig-processed
readOnly: true
- mountPath: /opt/app/policy/pdpx/etc/mounted
name: pdpxconfig-processed
- resources:
-{{ include "common.resources" . }}
+ resources: {{ include "common.resources" . | nindent 12 }}
{{- if .Values.nodeSelector }}
nodeSelector:
{{ toYaml .Values.nodeSelector | indent 10 }}
{{- if .Values.nodeSelector }}
nodeSelector:
{{ toYaml .Values.nodeSelector | indent 10 }}
@@
-131,6
+130,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:
{{ include "common.certInitializer.volumes" . | indent 8 }}
- name: localtime
volumes:
{{ include "common.certInitializer.volumes" . | indent 8 }}
- name: localtime