Code Review
/
ric-plt
/
ric-dep.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Update VESPAMGR config
[ric-plt/ric-dep.git]
/
helm
/
infrastructure
/
subcharts
/
kong
/
templates
/
controller-service-account.yaml
diff --git
a/helm/infrastructure/subcharts/kong/templates/controller-service-account.yaml
b/helm/infrastructure/subcharts/kong/templates/controller-service-account.yaml
old mode 100755
(executable)
new mode 100644
(file)
index
050b860
..
c6a7554
--- a/
helm/infrastructure/subcharts/kong/templates/controller-service-account.yaml
+++ b/
helm/infrastructure/subcharts/kong/templates/controller-service-account.yaml
@@
-1,12
+1,9
@@
-{{- if
and .Values.ingressController.enabled .Values.ingressController.serviceAccount.create
-}}
+{{- if
or .Values.podSecurityPolicy.enabled (and .Values.ingressController.enabled .Values.ingressController.serviceAccount.create)
-}}
apiVersion: v1
kind: ServiceAccount
metadata:
name: {{ template "kong.serviceAccountName" . }}
namespace: {{ .Release.namespace }}
labels:
apiVersion: v1
kind: ServiceAccount
metadata:
name: {{ template "kong.serviceAccountName" . }}
namespace: {{ .Release.namespace }}
labels:
- app: {{ template "kong.name" . }}
- chart: "{{ .Chart.Name }}-{{ .Chart.Version }}"
- release: "{{ .Release.Name }}"
- heritage: "{{ .Release.Service }}"
+ {{- include "kong.metaLabels" . | nindent 4 }}
{{- end -}}
{{- end -}}