ad service account
This commit is contained in:
12
helm/headlamp/dev/templates/rbac-headlamp.yaml
Normal file
12
helm/headlamp/dev/templates/rbac-headlamp.yaml
Normal file
@@ -0,0 +1,12 @@
|
||||
apiVersion: rbac.authorization.k8s.io/v1
|
||||
kind: ClusterRoleBinding
|
||||
metadata:
|
||||
name: headlamp-admin-binding
|
||||
subjects:
|
||||
- kind: ServiceAccount
|
||||
name: headlamp-admin
|
||||
namespace: {{ .Release.Namespace }}
|
||||
roleRef:
|
||||
kind: ClusterRole
|
||||
name: cluster-admin
|
||||
apiGroup: rbac.authorization.k8s.io
|
||||
@@ -1,5 +1,5 @@
|
||||
# Toutes les configurations destinées au chart Nextcloud
|
||||
# doivent être indentées sous la clé 'nextcloud'
|
||||
# Toutes les configurations destinées au chart Headlamp
|
||||
# doivent être indentées sous la clé 'headlamp'
|
||||
headlamp:
|
||||
replicaCount: 1
|
||||
|
||||
@@ -15,6 +15,7 @@ headlamp:
|
||||
# Si votre projet Harbor 'images' est en PRIVÉ,
|
||||
# vous devrez créer un secret Kubernetes et le renseigner ici :
|
||||
imagePullSecrets: []
|
||||
|
||||
ingress:
|
||||
enabled: true
|
||||
hosts:
|
||||
@@ -22,3 +23,7 @@ headlamp:
|
||||
paths:
|
||||
- path: /
|
||||
type: Prefix
|
||||
|
||||
serviceAccount:
|
||||
create: true
|
||||
name: "headlamp-admin"
|
||||
Reference in New Issue
Block a user