chore: document kubernetes provider pushsecret type#4725
chore: document kubernetes provider pushsecret type#4725Skarlso merged 2 commits intoexternal-secrets:mainfrom
Conversation
Signed-off-by: Martin Hrabovcin <martin.hrabovcin@nutanix.com>
6fafc78 to
0caac12
Compare
|
@mhrabovcin Hello. 👋 so setting a secret type is a template capability that is accessible to anything that uses templates. I'm a bit on the fence about this. For one, it helps for sure, examples are always good. But on second, this particular feature is documented already here: https://external-secrets.io/latest/guides/common-k8s-secret-types/ And many other places. Hmm. |
|
Hi @Skarlso thanks for the review. I haven't seen anywhere explicitly mentioned PushSecret behavior. I've seen the discussion here https://github.com/external-secrets/external-secrets/discussions/2728 where the same question was opened. Please feel free to close this PR if you don't see this docs enhancement as a good fit. Thank you! |
|
Hm, maybe it's fine to have an extra example. But the problem is then that this is specific to Kubernetes provider. But actually, it's available for ALL providers. :) You see what I mean? :) |
|
re: the docs, I think its fine to add it. This behavior (spec.template.type) changing the type of secret it is created is IIRC only a thing for kubernetes. IIRC, this wouldn't work for other providers that also have multiple types like azure Keyvault. Re: the bigger issue: This is a feature available on a generic API that is only for kubernetes. This is a reminder for the coming |
|
I see and I am honestly not very familiar with other providers. In k8s the Secret type has a special meaning during the secret validation. I can move the docs to the common section. Maybe there should be a note about the secret type behavior for push secrets per provider. It is quite straight forward to imagine impact of setting the secret type when |
|



Problem Statement
Adds the missing documentation about possibility to set the secret type with the Kubernetes provider on
PushSecret.Related Issue
Fixes #...
Proposed Changes
Docs change.
Checklist
git commit --signoffmake testmake reviewable