X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;ds=sidebyside;f=ric-infra%2F25-tiller%2Fhelm%2Fkong%2Fcharts%2Fkong%2Ftemplates%2Fcontroller-service-account.yaml;fp=ric-infra%2F25-tiller%2Fhelm%2Fkong%2Fcharts%2Fkong%2Ftemplates%2Fcontroller-service-account.yaml;h=050b860755cf5024039ca56660372a565ba64213;hb=ef05762e72bf0af584301bf58b2035f7ac4e3842;hp=0000000000000000000000000000000000000000;hpb=25428c74ecffd82152b5642cca81c19508d3218c;p=it%2Fdep.git diff --git a/ric-infra/25-tiller/helm/kong/charts/kong/templates/controller-service-account.yaml b/ric-infra/25-tiller/helm/kong/charts/kong/templates/controller-service-account.yaml new file mode 100755 index 00000000..050b8607 --- /dev/null +++ b/ric-infra/25-tiller/helm/kong/charts/kong/templates/controller-service-account.yaml @@ -0,0 +1,12 @@ +{{- if and .Values.ingressController.enabled .Values.ingressController.serviceAccount.create -}} +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 }}" +{{- end -}}