From 145476691c1e02bc34203fc70d4b6b048b8aab66 Mon Sep 17 00:00:00 2001 From: Lucas ONeil Date: Mon, 19 Feb 2024 21:06:14 -0800 Subject: [PATCH] Add helm vals for business page config Signed-off-by: Lucas ONeil --- charts/traction/README.md | 6 +++++- charts/traction/templates/ui/configmap.yaml | 4 ++++ charts/traction/values.yaml | 12 ++++++++++++ .../config/custom-environment-variables.json | 2 +- 4 files changed, 22 insertions(+), 2 deletions(-) diff --git a/charts/traction/README.md b/charts/traction/README.md index 606d2d04f..b34716f5b 100644 --- a/charts/traction/README.md +++ b/charts/traction/README.md @@ -149,7 +149,7 @@ kubectl delete secret,pvc --selector "app.kubernetes.io/instance"=my-release | Name | Description | Value | | --------------------------------------------------------------------------------------- | ----------- | -------------------------------------------------------------------------------------- | -| `acapy.plugin-config.yml.multitenant_provider.manager.class_name` | | `multitenant_provider.v1_0.manager.AskarMultitokenMultitenantManager` | +| `acapy.plugin-config.yml.multitenant_provider.manager.class_name` | | `multitenant_provider.v1_0.manager.AskarMultitokenMultitenantManager` | | `acapy.plugin-config.yml.multitenant_provider.manager.always_check_provided_wallet_key` | | `true` | | `acapy.plugin-config.yml.multitenant_provider.errors.on_unneeded_wallet_key` | | `false` | | `acapy.plugin-config.yml.multitenant_provider.token_expiry.units` | | `days` | @@ -304,6 +304,10 @@ kubectl delete secret,pvc --selector "app.kubernetes.io/instance"=my-release | `ui.ux.copyright` | | `""` | | `ui.ux.owner` | | `""` | | `ui.ux.coverImageCopyright` | | `Photo by Kristoffer Fredriksson on StockSnap` | +| `ui.ux.aboutBusiness.title` | The title for the About page business section | `Government of British Columbia` | +| `ui.ux.aboutBusiness.linkTitle` | The description for the About page business section link | `BC Digital Trust Service Agreement` | +| `ui.ux.aboutBusiness.link` | The URL for the About page business section link | `https://github.com/bcgov/bc-vcpedia/` | +| `ui.ux.aboutBusiness.imageUrl` | The image in the About page business section | `/img/bc/bc_logo.png` | | `ui.oidc.showInnkeeperAdminLogin` | Show Innkeeper Admin Login | `true` | | `ui.oidc.showWritableComponents` | Show ledger-write UI components | `true` | | `ui.oidc.active` | Enable OIDC authentication | `true` | diff --git a/charts/traction/templates/ui/configmap.yaml b/charts/traction/templates/ui/configmap.yaml index 1544ebe78..d943302e2 100644 --- a/charts/traction/templates/ui/configmap.yaml +++ b/charts/traction/templates/ui/configmap.yaml @@ -37,4 +37,8 @@ data: UX_INFO_BANNER_MESSAGE: {{ .Values.ui.ux.infoBanner.message | quote }} UX_INFO_BANNER_MESSAGE_LEVEL: {{ .Values.ui.ux.infoBanner.messageLevel | quote }} UX_INFO_BANNER_SHOW_MESSAGE: {{ .Values.ui.ux.infoBanner.showMessage | quote }} + UX_ABOUT_TITLE: {{ .Values.ui.ux.aboutBusiness.title | quote }} + UX_ABOUT_LINK_TITLE: {{ .Values.ui.ux.aboutBusiness.linkTitle | quote }} + UX_ABOUT_LINK: {{ .Values.ui.ux.aboutBusiness.link | quote }} + UX_ABOUT_IMAGE_URL: {{ .Values.ui.ux.aboutBusiness.imageUrl | quote }} {{- end -}} diff --git a/charts/traction/values.yaml b/charts/traction/values.yaml index 1ae94500f..99cb5bb1a 100644 --- a/charts/traction/values.yaml +++ b/charts/traction/values.yaml @@ -621,6 +621,18 @@ ui: ## @param ui.ux.coverImageCopyright coverImageCopyright: "Photo by Kristoffer Fredriksson on StockSnap" + ## About Business page settings + ## + aboutBusiness: + ## @param ui.ux.aboutBusiness.title + title: "Government of British Columbia" + ## @param ui.ux.aboutBusiness.linkTitle + linkTitle: "BC Digital Trust Service Agreement" + ## @param ui.ux.aboutBusiness.link + link: "https://github.com/bcgov/bc-vcpedia/blob/main/agents/bc-gov-agent-service.md" + ## @param ui.ux.aboutBusiness.imageUrl + imageUrl: "/img/bc/bc_logo.png" + ## Information banner settings ## infoBanner: diff --git a/services/tenant-ui/config/custom-environment-variables.json b/services/tenant-ui/config/custom-environment-variables.json index 669a3a8fd..a455f9604 100644 --- a/services/tenant-ui/config/custom-environment-variables.json +++ b/services/tenant-ui/config/custom-environment-variables.json @@ -28,7 +28,7 @@ "aboutBusiness": { "title": "UX_ABOUT_TITLE", "linkTitle": "UX_ABOUT_LINK_TITLE", - "linkText": "UX_ABOUT_LINK_TEXT", + "link": "UX_ABOUT_LINK", "imageUrl": "UX_ABOUT_IMAGE_URL" }, "infoBanner": {