Skip to content

Add tabs override variable to ocp4_workload_showroom#24

Open
prakhar1985 wants to merge 1 commit intomainfrom
showroom-tabs-variable
Open

Add tabs override variable to ocp4_workload_showroom#24
prakhar1985 wants to merge 1 commit intomainfrom
showroom-tabs-variable

Conversation

@prakhar1985
Copy link
Contributor

Summary

  • Adds ocp4_workload_showroom_tabs variable (default: [])
  • Passes tab config as JSON to the deployer Helm chart via content.tabs
  • Allows overriding ui-config.yml tabs at deploy time from AgnosticV catalog

Related PRs

Example usage in AgnosticV

ocp4_workload_showroom_tabs:
  - name: OCP Console
    url: "https://console-openshift-console.apps.{{ guid }}.{{ sandbox_domain }}"
  - name: ArgoCD
    url: "https://openshift-gitops-server-openshift-gitops.apps.{{ guid }}.{{ sandbox_domain }}"

Empty list (default) preserves the content repo's ui-config.yml tabs.

Add ocp4_workload_showroom_tabs variable that allows overriding
ui-config.yml tabs at deploy time. The variable accepts a list of
tab objects and is passed as JSON to the deployer Helm chart via
the SHOWROOM_TABS env var.

Default is an empty list, which preserves the content repo's tabs.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant