top | item 38643631

(no title)

jpdb | 2 years ago

> Probably even better is to ship a controller and a CRD for the config.

But how do you package the controller + CRD? The two leading choices are `kubectl apply -f` on a url or Helm and as soon as you need any customization to the controller itself you end up needing a tool like helm.

discuss

order

numbsafari|2 years ago

Just use kustomize. It’s baked into kubectl. No need for a separate tool.

cassianoleal|2 years ago

Agree. I'd recommend to start with static YAML though. Use kustomize for the very few customisations required for, say, different environments. Keep them to a minimum - there's no reason for a controller's deployment to vary too much - they're usually deployed once per cluster.