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
Now that traefik-crds exist as a separate chart, we need another way to "skip" applying the CRDs from the main traefik helm chart.
Currently the only option is to use the helm option of --skip-crds. This is not ideal as there may be other ways that the chart is applied beyond using helm directly. ArgoCD specifically allows you to use .spec.source.helm.skipCrds: true but using this in an application set means that it applies to every application manifest derived from the application set. As you can imagine this is not ideal.
There are a few options that I think can be considered:
1. Completely remove the CRDs from the traefik chart and require applying CRDs with the separate chart (bonus here is that you only have to manage CRDs in one place):
More context from a Google Cloud Platform perspective.
Googles documentation states to enable the Gateway API as either an option on the deployment of a new cluster or executing a command against an existing cluster:
This Github Issue was created because not everyone uses helm directly so using --skip-crds is not a valid option. Or at least not one that addresses different ways of deploying traefik. In my case, with a broad ArgoCD application set.
I believe the best approach here is to remove the CRDs altogether from the main traefik chart and require the use of the traefik-crds chart. If that's not acceptable then we need a way to remove the CRD's from the main chart beyond using the --skip-crds helm flag. Some ways to do this are outlined in the OP.
Welcome!
What did you expect to see?
Now that traefik-crds exist as a separate chart, we need another way to "skip" applying the CRDs from the main traefik helm chart.
Currently the only option is to use the helm option of --skip-crds. This is not ideal as there may be other ways that the chart is applied beyond using helm directly. ArgoCD specifically allows you to use .spec.source.helm.skipCrds: true but using this in an application set means that it applies to every application manifest derived from the application set. As you can imagine this is not ideal.
There are a few options that I think can be considered:
1. Completely remove the CRDs from the traefik chart and require applying CRDs with the separate chart (bonus here is that you only have to manage CRDs in one place):
2. Convert existing traefik/crds directory to a sub-chart. Reference it as a dependency chart enabled by a key value pair.
Example:
values.yaml:
Chart.yaml:
traefik/crds/Chart.yaml:
3. Change CRD manifests to include if block based on key value pair in values:
exampleCrdManifest.yaml:
values.yaml:
The text was updated successfully, but these errors were encountered: