From f63dd38370f9a5c45dae5b3c523c976bae09994c Mon Sep 17 00:00:00 2001 From: Patrick Knight Date: Tue, 27 Jan 2026 10:00:13 -0500 Subject: [PATCH] fix(e2e): attempt to move rbac conditions from initContainer Signed-off-by: Patrick Knight --- .../config_map/app-config-rhdh-rbac.yaml | 2 +- .../value_files/values_showcase-rbac.yaml | 122 ------------------ 2 files changed, 1 insertion(+), 123 deletions(-) diff --git a/.ibm/pipelines/resources/config_map/app-config-rhdh-rbac.yaml b/.ibm/pipelines/resources/config_map/app-config-rhdh-rbac.yaml index f2db6d3033..9735a99ce4 100644 --- a/.ibm/pipelines/resources/config_map/app-config-rhdh-rbac.yaml +++ b/.ibm/pipelines/resources/config_map/app-config-rhdh-rbac.yaml @@ -127,7 +127,7 @@ permission: maxDepth: 1 policyFileReload: true policies-csv-file: "./rbac/rbac-policy.csv" - conditionalPoliciesFile: "./rbac-conditions/conditional-policies.yaml" + conditionalPoliciesFile: "./rbac/conditional-policies.yaml" pluginsWithPermission: - catalog - permission diff --git a/.ibm/pipelines/value_files/values_showcase-rbac.yaml b/.ibm/pipelines/value_files/values_showcase-rbac.yaml index 16f744e32c..c0bc4eaf69 100644 --- a/.ibm/pipelines/value_files/values_showcase-rbac.yaml +++ b/.ibm/pipelines/value_files/values_showcase-rbac.yaml @@ -604,8 +604,6 @@ upstream: - name: rbac-policy mountPath: /opt/app-root/src/rbac - - name: rbac-conditions - mountPath: /opt/app-root/src/rbac-conditions - mountPath: /opt/app-root/src/postgres-crt.pem name: postgress-external-db-cluster-cert subPath: tls.crt @@ -658,126 +656,6 @@ upstream: configMap: defaultMode: 420 name: rbac-policy - - name: rbac-conditions - emptyDir: {} - initContainers: - # NOTE: Lists will not be merged with the default values file. So need to append all the defaults if you want to add a new item here - # See https://issues.redhat.com/browse/RHDHPLAN-869 - - name: install-dynamic-plugins - # -- Image used by the initContainer to install dynamic plugins into the `dynamic-plugins-root` volume mount. - # It could be replaced by a custom image based on this one. - # @default -- `quay.io/rhdh-community/rhdh:latest` - image: '{{ include "backstage.image" . }}' - command: - - sh - - "-c" - - | - cat > /rbac-conditions/conditional-policies.yaml <