Admin user and permission added
This commit is contained in:
parent
692af17fdf
commit
3e140bc9cb
15
templates/admin-users-configmap.yaml
Normal file
15
templates/admin-users-configmap.yaml
Normal file
@ -0,0 +1,15 @@
|
||||
{{- if .Values.adminUsers.enabled -}}
|
||||
apiVersion: v1
|
||||
kind: ConfigMap
|
||||
metadata:
|
||||
name: environment-admin-users
|
||||
namespace: {{ .Values.namespaceOverride }}
|
||||
labels:
|
||||
{{- include "backstage.labels" . | nindent 4 }}
|
||||
app.kubernetes.io/component: admin-config
|
||||
data:
|
||||
admins.json: |
|
||||
{
|
||||
"admins": {{ .Values.adminUsers.users | toJson }}
|
||||
}
|
||||
{{- end }}
|
||||
@ -6,7 +6,7 @@ namespaceOverride: "backstage"
|
||||
# Backstage application image
|
||||
image:
|
||||
repository: gcr.io/prj-onlinesales-test-framework/backstage
|
||||
tag: "main-7062610"
|
||||
tag: "main-a4be470"
|
||||
pullPolicy: IfNotPresent
|
||||
|
||||
# Replica count
|
||||
@ -123,6 +123,13 @@ integrations:
|
||||
rbac:
|
||||
create: true
|
||||
|
||||
# Admin Users for Environment Plugin
|
||||
# These users can see all environments and delete any environment
|
||||
adminUsers:
|
||||
enabled: true
|
||||
users:
|
||||
- vaibhav.pathak
|
||||
|
||||
# Service accounts
|
||||
serviceAccount:
|
||||
create: true
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user