You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Could not find ref backend for tag: ?{vaultkv:<tenant-id>/<cluster-id>/component/item1_password}
The problem is that Commodore can't find the secret ref embedded in the component's Jsonnet code, and therefore doesn't generate the ref file in catalog/refs/.
Implementation idea
Maybe we could introduce a component meta-parameter which component authors can use to specify secret ref templates and associated input data which Commodore can use to generate appropriate secret refs.
Don't support this in Commodore and require users to provide expanded secret refs in lists if necessary (this is currently the only feasible workaround)
Introduce component "pre-processing" step, in which components can specify actions that should be executed before Kapitan is executed and implement an action which allows components to generate additional secret references.
The text was updated successfully, but these errors were encountered:
Context
Sometimes, it would be nice to generate secret refs from a template based on some information present in the config hierarchy.
Currently the naive approach of simply providing the rendered secret references directly in Jsonnet doesn't work:
with inventory
results in
The problem is that Commodore can't find the secret ref embedded in the component's Jsonnet code, and therefore doesn't generate the ref file in
catalog/refs/
.Implementation idea
Maybe we could introduce a component meta-parameter which component authors can use to specify secret ref templates and associated input data which Commodore can use to generate appropriate secret refs.
I'm envisioning something like
And commodore would do something like
Alternatives
The text was updated successfully, but these errors were encountered: