Open Almenon opened 1 year ago
Thank you for reporting this!
It looks like we also have a couple of other variables that we need to update for the correct type.
Setting up a JSON schema as in #35 should help us catch & document these in a more automated fashion.
Also worth noting that "mutable types" are kinda a weird / hard thing in helm.
While we do false
as a proxy for "not set" currently in a handful of places (and we should not), there are also some places where we allow either a {}
or a string
, for instance. Helm is not a fan of this, so we will need to do some exploration on those items.
Looks like same issue with package manager FYI
.Values.sharedStorage.storageClassName
has the typebool
and defaultfalse
.https://github.com/rstudio/helm/blob/666e86da88124a40e823a9e23925702d151b8076/charts/rstudio-connect/README.md?plain=1#L178
However, it's passed to the
PersistentVolumeClaim
kind,spec.storageClassName
, which is a string.https://github.com/rstudio/helm/blob/666e86da88124a40e823a9e23925702d151b8076/charts/rstudio-connect/templates/pvc.yaml#L14C3-L14C19
I haven't tested it, but based on the API reference this is probably a bug.