fleet icon indicating copy to clipboard operation
fleet copied to clipboard

Feature Request: Allow fleet level valuesFrom

Open shane-davidson opened this issue 10 months ago • 1 comments

Is your feature request related to a problem?

Allowing valuesFrom above the helm level would allow all fleet values to be pulled from secrets/configmaps allowing much greater control over the way fleet works.

We currently use valuesFrom in the following way: (we have multiple rancher instances)

  • sync the same secret to all clusters (global level config)
  • sync the same secret for each rancher instance (instance level config)
  • sync a secret per cluster (cluster level config)

with the following valuesFrom:

  valuesFrom:
    - secretKeyRef:
        name: fleet-global-values
        namespace: bundle
        key: values
    - secretKeyRef:
        name: fleet-instance-values
        namespace: bundle
        key: values
    - secretKeyRef:
        name: fleet-cluster-values
        namespace: bundle
        key: values

We would ideally like to control fleet options using some mechanism similar to the valuesFrom such as:

  • doNotDeploy
  • paused
  • namespace
  • etc

Solution you'd like

No response

Alternatives you've considered

Not sure if there is an alternative or another way to achieve this

Anything else?

No response

shane-davidson avatar Feb 03 '25 00:02 shane-davidson

This sounds like you could use "target customization" to specify a different valuesFrom per target: https://fleet.rancher.io/gitrepo-targets#customization-per-cluster

We do plan to improve secret management in https://github.com/rancher/fleet/issues/3399

manno avatar Apr 08 '25 10:04 manno