Skip to content

Introduce Bootstrap secrets#125

Open
mhjacks wants to merge 3 commits into
validatedpatterns:mainfrom
mhjacks:bootstrap_secrets
Open

Introduce Bootstrap secrets#125
mhjacks wants to merge 3 commits into
validatedpatterns:mainfrom
mhjacks:bootstrap_secrets

Conversation

@mhjacks
Copy link
Copy Markdown
Collaborator

@mhjacks mhjacks commented May 12, 2026

"Bootstrap" secrets are directly injected into a cluster to make the rest of the pattern work; examples include secrets necessary for using CSI drivers or secrets that ArgoCD needs to access pattern material. There has not been a clear mechanism for doing this previously.

This PR introduces a workflow that introduces a stage at the beginning of a pattern install (immediately after the creation of the pattern CR) that looks for bootstrap secrets and attempts to install them (failing if it finds them and can't).

The process looks for bootstrap secrets outside of the git repository only, using the suffix "-boostrap", so it could find and process ~/values-secret-multicloud-gitops-boostrap.yaml or ~/values-secret-boostrap.yaml, for example.

It will also be possible to install them as a separate step using the load_secrets_bootstrap.yml playbook.

This PR fixes an issue with discovering pattern settings and allows the display_secrets_info playbook to run as well.

A followup PR will add appropriate targets to Makefile-common.

@mhjacks mhjacks changed the title [WIP] Introduce Bootstrap secrets Introduce Bootstrap secrets May 12, 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.

1 participant