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
/
contrib
/
components
/
netbox
/
components
/
netbox-postgres
/
templates
/
deployment.yaml
diff --git
a/kubernetes/contrib/components/netbox/components/netbox-postgres/templates/deployment.yaml
b/kubernetes/contrib/components/netbox/components/netbox-postgres/templates/deployment.yaml
index
2caddeb
..
ce78930
100755
(executable)
--- a/
kubernetes/contrib/components/netbox/components/netbox-postgres/templates/deployment.yaml
+++ b/
kubernetes/contrib/components/netbox/components/netbox-postgres/templates/deployment.yaml
@@
-54,8
+54,7
@@
spec:
readOnly: true
- name: {{ include "common.fullname" . }}-data
mountPath: /var/lib/postgresql/
readOnly: true
- name: {{ include "common.fullname" . }}-data
mountPath: /var/lib/postgresql/
- 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 }}
@@
-64,6
+63,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: