Closed souleb closed 1 year ago
cc @bigkevmcd
Could you share your specific use case @souleb? Maybe we could include it in the docs
Is the matrix a good fit here?
If you
generators:
- matrix:
generators:
- imagePolicy:
policyRef: podinfo
name: podinfo
- imagePolicy:
policyRef: cert-manager
name: certManager
You might end up 4 generated items? 🤔
You might end up 4 generated items? 🤔
Chatted w/ kevin, this is not how this works ofc.
1 x 1 = 1, this above would only generate a single repetition of the templates.
in my case the template will be a flux kustomization that will reconcile several deployments. I want to be able to have as many imagePolicyGenerator
as deployments.
Yes a single kustomization template to reconcile several deployments.
It would be useful to able to address the image generator
latestImage
with an optional name field. We could then have several generator of the same type in amatrix
.