Admin user and permission added

This commit is contained in:
Vaibhav Pathak 2026-02-26 12:25:49 +05:30
parent 692af17fdf
commit 3e140bc9cb
2 changed files with 23 additions and 1 deletions

View 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 }}

View File

@ -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