From 08a48e6416f11fc946cff4d18d2c7ff7154091ba Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Henry=20T=C3=A4schner?= <129834483+HenryT-CG@users.noreply.github.com> Date: Tue, 20 Feb 2024 13:19:26 +0100 Subject: [PATCH] Add permission settings in helm values --- helm/values.yaml | 58 ++++++++++++++++++++++++++++-------------------- 1 file changed, 34 insertions(+), 24 deletions(-) diff --git a/helm/values.yaml b/helm/values.yaml index b2944ef..2720636 100644 --- a/helm/values.yaml +++ b/helm/values.yaml @@ -4,31 +4,41 @@ app: repository: 'onecx/onecx-product-store-ui' routing: enabled: true + path: /mfe/product-store/ + operator: - apm: - enabled: false - keycloak: + # Microfrontend + microfrontend: + enabled: true + spec: + exposedModule: "./OneCXProductStoreModule" + description: "OneCX Product Store UI" + note: "OneCX Product Store UI module auto import via MF operator" + # Permission + permission: enabled: true - client: |- - { - "clientId": "product-store-ui", - "enabled": true, - "description": "Keycloak client for product-store-ui", - "redirectUris": ["*"], - "webOrigins": ["*"], - "publicClient": true, - "protocol": "openid-connect" - } - roles: |- - [ - { - "name": "onecx-product-store-admin", - "description": "OneCX Product Store admin" - }, - { - "name": "onecx-product-store-user", - "description": "OneCX Product Store user" - } - ] + spec: + permissions: + APP: + CREATE: Create app + DELETE: Delete app + EDIT: Edit app + SAVE: Update and save app + SEARCH: Search apps + VIEW: View app details + PRODUCT: + CREATE: Create product + DELETE: Delete product + EDIT: Edit product + SAVE: Update and save product + SEARCH: Search products + VIEW: View product details + # Keycloak + keycloak: + client: + enabled: true + spec: + kcConfig: + clientId: "onecx-product-store-ui" # PIPE Config