1 {{- $tillerKey := .Values.appmgr.tillerkey | default "ricxapp" }}
3 {{- $ctx := dict "ctx" $topCtx "key" $tillerKey }}
8 name: {{ include "common.serviceaccountname.appmgr" . }}
9 namespace: {{ include "common.namespace.platform" . }}
11 apiVersion: rbac.authorization.k8s.io/v1beta1
14 name: {{ include "common.serviceaccountname.appmgr" . }}-{{ include "common.tillerNameSpace" $ctx }}-access
15 namespace: {{ include "common.tillerDeployNameSpace" $ctx }}
18 resources: ["pods", "pods/portforward"]
19 verbs: ["get", "list", "create"]
21 {{- if or (eq (include "common.tillerTLSVerify" $ctx) "true" ) (eq (include "common.tillerTLSAuthenticate" $ctx) "true") }}
23 resources: ["secrets"]
24 resourceNames: [ {{ include "common.tillerHelmClientTLSSecret" $ctx | quote }} ]
28 apiVersion: rbac.authorization.k8s.io/v1beta1
31 name: {{ include "common.serviceaccountname.appmgr" . }}-{{ include "common.tillerNameSpace" $ctx }}-access
32 namespace: {{ include "common.tillerDeployNameSpace" $ctx }}
34 apiGroup: rbac.authorization.k8s.io
36 name: {{ include "common.serviceaccountname.appmgr" . }}-{{ include "common.tillerNameSpace" $ctx }}-access
38 - kind: ServiceAccount
39 name: {{ include "common.serviceaccountname.appmgr" . }}
40 namespace: {{ include "common.namespace.platform" . }}