fix: use SA created from helm chart for SUC
Signed-off-by: Devin Buhl <devin@buhl.casa>
This commit is contained in:
2 files changed
+2
-16
No files matched your search
@@ -71,6 +71,7 @@ spec:
|
|||||||
- {key: node-role.kubernetes.io/control-plane, operator: Exists, effect: NoSchedule}
|
- {key: node-role.kubernetes.io/control-plane, operator: Exists, effect: NoSchedule}
|
||||||
- {key: node-role.kubernetes.io/etcd, operator: Exists, effect: NoExecute}
|
- {key: node-role.kubernetes.io/etcd, operator: Exists, effect: NoExecute}
|
||||||
serviceAccount:
|
serviceAccount:
|
||||||
|
create: true
|
||||||
name: system-upgrade
|
name: system-upgrade
|
||||||
service:
|
service:
|
||||||
main:
|
main:
|
||||||
|
|||||||
@@ -1,23 +1,8 @@
|
|||||||
---
|
---
|
||||||
apiVersion: v1
|
|
||||||
kind: ServiceAccount
|
|
||||||
metadata:
|
|
||||||
name: system-upgrade
|
|
||||||
secrets:
|
|
||||||
- name: system-upgrade
|
|
||||||
---
|
|
||||||
apiVersion: v1
|
|
||||||
kind: Secret
|
|
||||||
type: kubernetes.io/service-account-token
|
|
||||||
metadata:
|
|
||||||
name: system-upgrade
|
|
||||||
annotations:
|
|
||||||
kubernetes.io/service-account.name: system-upgrade
|
|
||||||
---
|
|
||||||
apiVersion: rbac.authorization.k8s.io/v1
|
apiVersion: rbac.authorization.k8s.io/v1
|
||||||
kind: ClusterRoleBinding
|
kind: ClusterRoleBinding
|
||||||
metadata:
|
metadata:
|
||||||
name: system-upgrade
|
name: system-upgrade
|
||||||
roleRef:
|
roleRef:
|
||||||
apiGroup: rbac.authorization.k8s.io
|
apiGroup: rbac.authorization.k8s.io
|
||||||
kind: ClusterRole
|
kind: ClusterRole
|
||||||
|
|||||||
Reference in new issue
Block a user