sa fix
This commit is contained in:
18
helm/dashboard/templates/service-account.yaml
Normal file
18
helm/dashboard/templates/service-account.yaml
Normal file
@@ -0,0 +1,18 @@
|
|||||||
|
apiVersion: v1
|
||||||
|
kind: ServiceAccount
|
||||||
|
metadata:
|
||||||
|
name: admin-user
|
||||||
|
namespace: i-dashboard
|
||||||
|
---
|
||||||
|
apiVersion: rbac.authorization.k8s.io/v1
|
||||||
|
kind: ClusterRoleBinding
|
||||||
|
metadata:
|
||||||
|
name: admin-user
|
||||||
|
roleRef:
|
||||||
|
apiGroup: rbac.authorization.k8s.io
|
||||||
|
kind: ClusterRole
|
||||||
|
name: cluster-admin
|
||||||
|
subjects:
|
||||||
|
- kind: ServiceAccount
|
||||||
|
name: admin-user
|
||||||
|
namespace: i-dashboard
|
||||||
@@ -1,12 +1,8 @@
|
|||||||
# Add any value overrides for the kubernetes-dashboard chart here.
|
kubernetes-dashboard:
|
||||||
# For example, to set a resource limit you could use:
|
resources:
|
||||||
#
|
limits:
|
||||||
resources:
|
cpu: 200m
|
||||||
limits:
|
memory: 200Mi
|
||||||
cpu: 200m
|
requests:
|
||||||
memory: 200Mi
|
cpu: 100m
|
||||||
requests:
|
memory: 100Mi
|
||||||
cpu: 100m
|
|
||||||
memory: 100Mi
|
|
||||||
serviceAccount:
|
|
||||||
name: admin-user
|
|
||||||
|
|||||||
Reference in New Issue
Block a user