[bitnami/*] Affinity based on common presets (vii) (#4701)

This commit is contained in:
Juan Ariza Toledano
2020-12-14 10:57:51 +01:00
committed by GitHub
parent 7225d59bc6
commit 52a2c99a89
47 changed files with 662 additions and 807 deletions

View File

@@ -2,7 +2,7 @@
kind: Role
apiVersion: rbac.authorization.k8s.io/v1
metadata:
name: {{ template "postgresql.fullname" . }}
name: {{ template "common.names.fullname" . }}
labels:
{{- include "common.labels.standard" . | nindent 4 }}
{{- if .Values.commonAnnotations }}
@@ -14,6 +14,6 @@ rules:
resources: ["podsecuritypolicies"]
verbs: ["use"]
resourceNames:
- {{ template "postgresql.fullname" . }}
- {{ template "common.names.fullname" . }}
{{- end }}
{{- end }}