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
{{ message }}
This repository has been archived by the owner on Jun 8, 2022. It is now read-only.
The ApplicationConfiguration "test-appconf" is invalid:
spec.components.parameterValues.value: Invalid value: "object": spec.components.parameterValues.value in body must be of type integer,string: "object"
: Invalid value: "": "spec.components.parameterValues.value" must validate at least one schema (anyOf)
spec.components.parameterValues.value: Invalid value: "object": spec.components.parameterValues.value in body must be of type integer: "object"
Describe the solution you'd like
Had raised this on gitter and was informed that current schema for app conf supports only int and string i.e.
We normally consider ConfigMap/Secret (i.e. the carrier of external data) not part of the application definition (i.e. model with components). Though if that's the preference, using CUE or Helm to package them in component definition is the recommended approach, per se comment above.
We do not have plan to extend raw resource template beyond simple key-value pair as this will essentially reinvent CUE or Helm (go-tmpl).
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Is your feature request related to a problem? Please describe.
ConfigMap allows for data to be specified as complex type e.g.
When we try to overwrite this parameter in appconf e.g.
This fails with
Describe the solution you'd like
Had raised this on gitter and was informed that current schema for app conf supports only int and string i.e.
oam-kubernetes-runtime/charts/oam-kubernetes-runtime/crds/core.oam.dev_applicationconfigurations.yaml
Lines 291 to 302 in da0b655
I would parameterValues to support complex/object type.
Describe alternatives you've considered
Additional context
The text was updated successfully, but these errors were encountered: