Replies: 1 comment 3 replies
-
|
The I imagine this would have to be something like with Workflow(...) as workflow:
Container(env=[ExternalSecretEnv(secret_name=external_secret.name, ...)])where |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
This may or may not already be possible, and thus might be a feature request if it's not.
Essentially, we use https://external-secrets.io/latest/guides/all-keys-one-secret/, where the source of pretty much every secret will translate to a Workflow. Therefore, it'd be really convenient to be able to write:
and have
hera generate yaml ...spit out the full manifest.Certainly, the definition of
ExternalSecretseems certainly outside the purview of hera. It maybe seems like all of the machinery leading up toself.build()in a Workflow might be useful in externally defining anExternalSecretobject?If not, it still might seem like
build,to_dictandto_yaml(and/or more) were pulled into a@runtime_checkableprotocol or mixin, then the mechanisms of the cli couldisinstancethat instead ofWorkflow, and arrive at the same result?Beta Was this translation helpful? Give feedback.
All reactions