spin-operator icon indicating copy to clipboard operation
spin-operator copied to clipboard

Support default config at the namespace level

Open calebschoepp opened this issue 1 year ago • 1 comments

Problem

If a user has wants to deploy many SpinApps into their cluster it is likely that a portion of the configuration for each SpinApp will be duplicated. For example you may want to provide runtime config to every single Spin app that configures the CosmosDB instance it should use as a KV provider.

Potential solution

Provide a way to configure default config for a namespace such that any SpinApp in that namespace inherits that default config.

Considerations

  • Where would this default config live? On SpinAppExecutor? On a new CR? Somewhere else?
  • What configuration would we want to allow to set defaults for. Runtime config seems like an obvious choice. Most of the other fields of the SpinApp CRD seem like things that would be useful to set defaults for too.

calebschoepp avatar Mar 05 '24 19:03 calebschoepp

CC @radu-matei

calebschoepp avatar Mar 05 '24 19:03 calebschoepp