Open smurfralf opened 2 years ago
imagePullSecrets is now taken care of. The enhancement request remains for the cluster-domain and network-policy fields (at a lower priority for me).
The cluster domain will be resolved by #140 as it was causing issues for me reported in #139
Is your feature request related to a problem ? Yes
I'd like to migrate from using
flux install --export
to using the flux2 helm chart. However our usage offlux
currently takes advantage of some of the extra flags thatflux install
supports. Specifically we do not download containers from the internet, so the container images need to come from an internal repository and need to use an image-pull-secret (which is already available in the k8s cluster).it would stand to reason that there is a need for the optional
flux
arguments, i.e. being able to set these values will be needed by other users who would like to migrate.The flux 0.24.1 version currently supports
create
boolean valuescreate
boolean valuesimage
setting for each controllertolerations
array valueswatchallnamespaces
boolean valueDescribe the solution you'd like.
At a minimum I'd like a new value variable defined for the
image-pull-secret
setting which would apply to all controllers.Although for my use case it would be sufficient to add a stanza to the
sa-*
(service account) templates, theflux install
manifests add the stanza to the deployment specs, so probably that would be the way to do it so it doesn't assume use ofserviceaccount: create: true
.A more general solution would cover the other empty cases in the table above:
cluster-domain
andnetwork-policy
Describe alternatives you've considered.
flux install --export
.Additional context.
Relevant abridged snippet of a manifest generated by
flux install --export --image-pull-secret mysecret --registry myartifactory.mycompany.net/fluxcd
: