3 ms·
> 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 appl
by jpdb 3y 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.
- numbsafari 3y agoJust use kustomize. It’s baked into kubectl. No need for a separate tool.
- cassianoleal 3y agoAgree. 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.