Skip to content

Commit

Permalink
Merge pull request #1024 from bcgov/feature/aboutBusinessConfig
Browse files Browse the repository at this point in the history
Add helm vals for about business page config
  • Loading branch information
esune authored Feb 20, 2024
2 parents 33a6ff8 + 4b44541 commit e50f214
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 2 deletions.
6 changes: 5 additions & 1 deletion charts/traction/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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` |
Expand Down Expand Up @@ -305,6 +305,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` |
Expand Down
4 changes: 4 additions & 0 deletions charts/traction/templates/ui/configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,4 +38,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 -}}
12 changes: 12 additions & 0 deletions charts/traction/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -624,6 +624,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:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,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": {
Expand Down

0 comments on commit e50f214

Please sign in to comment.