Skip to content

EAI-6099 Parametrize Minio & Postgresql usernames and OpenBAO domain in Helm#701

Merged
pre merged 4 commits intomainfrom
EAI-6099-helm-set-3
May 7, 2026
Merged

EAI-6099 Parametrize Minio & Postgresql usernames and OpenBAO domain in Helm#701
pre merged 4 commits intomainfrom
EAI-6099-helm-set-3

Conversation

@pre
Copy link
Copy Markdown
Contributor

@pre pre commented Apr 30, 2026

EAI-6099

Changes to bootstrap.sh are verified by running the old and new commands locally and comparing to output. The output in both is equivalent.

pre and others added 4 commits May 4, 2026 16:53
The aiwb-cnpg-user and keycloak-cnpg-user Secrets in
secrets-override-hardcoded.yaml duplicated identical content already
created by secrets-aiwb-cnpg.yaml in PLUGGABLE_DB=false mode, and were
orphaned (referenced no chart) in PLUGGABLE_DB=true mode. Only the
default-user MinIO Secret remains, since its API_ACCESS_KEY value is
coupled to a hardcoded reference in silogen/openbao-config.
Replace the static secrets-aiwb-cnpg.yaml with inline `kubectl create secret`
calls in install_base.sh, populated from AIWB_DB_USER/PASSWORD,
KEYCLOAK_DB_USER/PASSWORD, and new AIWB_CNPG_SUPERUSER_* /
KEYCLOAK_CNPG_SUPERUSER_* env vars (default: placeholder). The CNPG cluster
now bootstraps with the same username/password the AIWB and Keycloak charts
read at startup, so the override step in secrets-override-hardcoded.yaml is
no longer needed for the *-cnpg-user secrets. Pass --set postgresql.username
unconditionally to the AIWB and Keycloak helm template calls so the chart
matches the bootstrapped CNPG user in both PLUGGABLE_DB modes.

Co-Authored-By: Claude Opus 4 <noreply@anthropic.com>
…e openbao-config

Two related changes:

1. Standalone helm install path (docs/manual_helm_install): replace static
   secrets-aiwb-minio.yaml + secrets-override-hardcoded.yaml with inline
   `kubectl create secret` calls in install_base.sh, populated from new
   MINIO_API_ACCESS_KEY / MINIO_API_SECRET_KEY / MINIO_CONSOLE_ACCESS_KEY /
   MINIO_CONSOLE_SECRET_KEY env vars (all default: placeholder). The same
   API_* pair feeds both `default-user` (Tenant bootstrap) and
   `minio-credentials` (AIWB / workbench) so the credentials match by
   construction. Renames MINIO_ACCESS_KEY / MINIO_SECRET_KEY →
   MINIO_API_ACCESS_KEY / MINIO_API_SECRET_KEY in the PLUGGABLE_S3=true
   branch and helper script (s3_minio_container.sh prints the new names).
   Both static YAMLs are now redundant and removed.

2. openbao-config chart: parametrize the previously hardcoded
   `api-default-user` and `default-user` access keys via new values
   `minio.apiAccessKey` / `minio.consoleAccessKey`. Defaults preserve current
   behaviour for the Argo install path; integrators can override via
   `--set minio.apiAccessKey=...`.

Co-Authored-By: Claude Opus 4 <noreply@anthropic.com>
Restructure both component docs to cover in-cluster (default) and external
(pluggable) modes with concrete kubectl/helm commands the reader can run
directly. Drop references to install_base.sh and other shell scripts so the
markdown stands on its own; the scripts are now an executable companion to
these docs rather than their source of truth.
@pre pre force-pushed the EAI-6099-helm-set-3 branch from e0bcbed to 4ea7c58 Compare May 4, 2026 13:53
@pre pre marked this pull request as ready for review May 4, 2026 13:53
@pre pre requested a review from a team as a code owner May 4, 2026 13:53
@pre pre requested a review from Q-Dub May 4, 2026 13:54
@pre pre merged commit c922d88 into main May 7, 2026
14 checks passed
@pre pre deleted the EAI-6099-helm-set-3 branch May 7, 2026 13:33
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