From 84130761cfabe811ef15bce4bd4dbb7b37334e7a Mon Sep 17 00:00:00 2001 From: archit-org Date: Thu, 28 Jul 2022 07:49:06 +0000 Subject: [PATCH] adding variables updates for variables lab --- bundle/bundle.yaml | 8 ++++---- bundle/rbac.yaml | 46 ------------------------------------------- bundle/variables.yaml | 4 ++++ 3 files changed, 8 insertions(+), 50 deletions(-) delete mode 100644 bundle/rbac.yaml create mode 100644 bundle/variables.yaml diff --git a/bundle/bundle.yaml b/bundle/bundle.yaml index 1fe5940..7cd80b9 100644 --- a/bundle/bundle.yaml +++ b/bundle/bundle.yaml @@ -1,10 +1,10 @@ apiVersion: "1" -version: "3" +version: "4" id: "archit-org-dev-controller" description: "CloudBees CI configuration bundle for the archit-org dev-controller Controller" availabilityPattern: "cloudbees-ci-casc-workshop/archit-org/dev-controller" -parent: "base" -rbac: - - "rbac.yaml" +parent: "rbac-base" items: - "folder.yaml" +variables: + - "variables.yaml" diff --git a/bundle/rbac.yaml b/bundle/rbac.yaml deleted file mode 100644 index 1098028..0000000 --- a/bundle/rbac.yaml +++ /dev/null @@ -1,46 +0,0 @@ -removeStrategy: - rbac: SYNC -roles: -- name: authenticated - filterable: 'true' - permissions: - - hudson.model.Hudson.Read - - hudson.model.Item.Read - - hudson.model.View.Read -- name: administrator - permissions: - - hudson.model.Hudson.Administer -- name: manager - filterable: 'true' - permissions: - - hudson.model.Hudson.SystemRead - - hudson.model.Hudson.Manage - - com.cloudbees.plugins.credentials.CredentialsProvider.View - - com.cloudbees.pipeline.governance.templates.catalog.TemplateCatalogAction.ViewCatalogs - - com.cloudbees.jenkins.plugin.metrics.views.Alerter.View - - nectar.plugins.rbac.groups.Group.View - - nectar.plugins.rbac.roles.Role.View -- name: job-manager - filterable: 'true' - permissions: - - hudson.model.Item.Read - - hudson.model.Item.Create - - hudson.model.Item.Configure - - hudson.model.Item.Build -groups: -- name: Administrators - members: - users: - - admin - - team-admin - - "iarc13-admin" - roles: - - name: administrator - grantedAt: current -- name: Managers - members: - users: - - "iarc13" - roles: - - name: manager - grantedAt: current diff --git a/bundle/variables.yaml b/bundle/variables.yaml new file mode 100644 index 0000000..a41bb40 --- /dev/null +++ b/bundle/variables.yaml @@ -0,0 +1,4 @@ +variables: +- team: archit-org +- admin-user: iarc13-admin +- manager-user: iarc13