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
-
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
ExternalSecret
seems 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 anExternalSecret
object?If not, it still might seem like
build
,to_dict
andto_yaml
(and/or more) were pulled into a@runtime_checkable
protocol or mixin, then the mechanisms of the cli couldisinstance
that instead ofWorkflow
, and arrive at the same result?Beta Was this translation helpful? Give feedback.
All reactions