Skip to content

Enable use of an address outside the cluster if desired#5

Merged
mhjacks merged 6 commits into
validatedpatterns:mainfrom
mhjacks:add_external_address
May 15, 2026
Merged

Enable use of an address outside the cluster if desired#5
mhjacks merged 6 commits into
validatedpatterns:mainfrom
mhjacks:add_external_address

Conversation

@mhjacks
Copy link
Copy Markdown
Contributor

@mhjacks mhjacks commented May 5, 2026

  • Support a Vault entirely outside the patterns cluster

@mbaldessari
Copy link
Copy Markdown
Contributor

Has this been tested in an actual external vault setup?

@mhjacks
Copy link
Copy Markdown
Contributor Author

mhjacks commented May 7, 2026

Candidly, no. :) I don't have a fully external setup. Akos pointed out on the team call this morning that the auth model might be a little too restrictive for this model (since we literally don't know anything about the external one), so I have pushed new commits that (hopefully) address that. In the new model, an auth block will be passed to the clustersecretstore object in its entirety

@mhjacks mhjacks requested a review from mbaldessari May 11, 2026 14:18
@darkdoc
Copy link
Copy Markdown

darkdoc commented May 14, 2026

I managed to test this, I have successfully used this chart on my cluster, pointing to a vault running on an other cluster (external) I used this branch of mcg.
The only question from me, is how should the secret loading be in these external vault cases?
In case of keeping the default secretStore vault backend, the pattern installation would fail, since there are no vault pods in the cluster.
Even if we switch to some other backend, the question still remains, how/what should the secret loading do in this case?
I suggest that we document that in this external vault special case we do not load secrets to vault (that would not be possible) and possible anywhere else either. (there is no point in loading the secrets to the kubernetes/none backend, if there IS an external vault used)
Some changes might be needed to support this on a per pattern basis or even in the cluster utils collection.
Otherwise the chart changes looks good to me.

@mhjacks
Copy link
Copy Markdown
Contributor Author

mhjacks commented May 14, 2026

@darkdoc Added note about disabling the secrets loader, and a disclaimer about managing/injecting secrets when we don't manage the vault

@darkdoc
Copy link
Copy Markdown

darkdoc commented May 15, 2026

/lgtm

@mhjacks mhjacks merged commit c261f51 into validatedpatterns:main May 15, 2026
3 checks passed
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.

3 participants