Skip to content

Add SHOWROOM_TABS env var for runtime tab override#49

Merged
andrew-jones merged 1 commit intomainfrom
showroom-tabs-env
Feb 17, 2026
Merged

Add SHOWROOM_TABS env var for runtime tab override#49
andrew-jones merged 1 commit intomainfrom
showroom-tabs-env

Conversation

@prakhar1985
Copy link

Summary

  • Adds content.tabs value (default: empty string) to showroom-single-pod chart
  • Passes SHOWROOM_TABS env var to the antora-builder init container
  • When set to a JSON array of tab objects, the antora entrypoint overrides ui-config.yml tabs before build

Follows the same pattern as ANTORA_ENABLE_DEV_MODE in #48.

Related PRs

Example usage

helm template showroom charts/showroom-single-pod \
  --set-json 'content.tabs=[{"name":"OCP Console","url":"https://console-openshift-console.apps.example.com"},{"name":"Terminal","type":"terminal"}]'

When content.tabs is empty (default), the content repo's ui-config.yml tabs are used unchanged.

@andrew-jones andrew-jones merged commit 3ffb932 into main Feb 17, 2026
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.

2 participants