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
|
# Toutes les configurations destinées au chart Headlamp
|
||||||
# doivent être indentées sous la clé 'nextcloud'
|
# doivent être indentées sous la clé 'headlamp'
|
||||||
headlamp:
|
headlamp:
|
||||||
replicaCount: 1
|
replicaCount: 1
|
||||||
|
|
||||||
@@ -15,6 +15,7 @@ headlamp:
|
|||||||
# Si votre projet Harbor 'images' est en PRIVÉ,
|
# Si votre projet Harbor 'images' est en PRIVÉ,
|
||||||
# vous devrez créer un secret Kubernetes et le renseigner ici :
|
# vous devrez créer un secret Kubernetes et le renseigner ici :
|
||||||
imagePullSecrets: []
|
imagePullSecrets: []
|
||||||
|
|
||||||
ingress:
|
ingress:
|
||||||
enabled: true
|
enabled: true
|
||||||
hosts:
|
hosts:
|
||||||
@@ -22,3 +23,7 @@ headlamp:
|
|||||||
paths:
|
paths:
|
||||||
- path: /
|
- path: /
|
||||||
type: Prefix
|
type: Prefix
|
||||||
|
|
||||||
|
serviceAccount:
|
||||||
|
create: true
|
||||||
|
name: "headlamp-admin"
|
||||||
Reference in New Issue
Block a user