Skip to content

Add auth-o-tron subchart with dual-mode auth config#32

Open
jameshawkes wants to merge 12 commits intoupstreamfrom
feature/chart-subchart-authotron
Open

Add auth-o-tron subchart with dual-mode auth config#32
jameshawkes wants to merge 12 commits intoupstreamfrom
feature/chart-subchart-authotron

Conversation

@jameshawkes
Copy link
Copy Markdown

Summary

  • Auth-o-tron subchart: Added as a helm dependency (file://../auth-o-tron/chart, alias: authotron, condition: authotron.enabled).
  • Dual-mode auth in configmap: When authotron.enabled: true, the frontend configmap reads auth URL, JWT secret, and timeout directly from the subchart values. When disabled, falls back to the existing authentication block.
  • Default: authotron: { enabled: false } — no change to existing deployments unless explicitly opted in.

Paired with

  • polytope-config#62 — enables authotron for dev/ci environments and provides the subchart values.

Changes

File Change
Chart.yaml Add auth-o-tron dependency
Chart.lock Updated with auth-o-tron
charts/auth-o-tron-0.3.0.tgz Packaged subchart
templates/configmap.yaml Dual-mode auth config block
values.yaml authotron: { enabled: false } default

- Add auth-o-tron subchart dependency (file://../auth-o-tron/chart, alias: authotron)
- When authotron.enabled: true, configmap reads auth URL/secret/timeout from subchart values
- When authotron.enabled: false, falls back to existing authentication block in values
- Add authotron: { enabled: false } default in values.yaml
…erence

- Chart dependency: oci://eccr.ecmwf.int/auth-o-tron v0.1.8 (was file:// v0.3.0)
- Alias: auth-o-tron (was authotron), matching main branch convention
- Configmap template: use index for hyphenated key access
@peshence
Copy link
Copy Markdown
Collaborator

tgzs should be removed

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