-
Notifications
You must be signed in to change notification settings - Fork 52
Allow more flexibility in the code which converts CR to Helm values #113
Copy link
Copy link
Closed
Milestone
Description
As a developer of an operator, I would like to have more flexibility in the code which converts a custom resource object to the helm chartutil.Values. Currently such code needs to conform to the values.Mapper interface which simply maps chartutil.Values to another chartutil.Values, which is just map[string]interface{}, and does not allow returning errors.
Specifically the desired features are:
- ability to leverage Go type checking and IDE code inspection capabilities, by operating on typed API structs, rather than shapeless tree of
string -> interface{}. This would be possible if the interface would accept anUnstructuredwhich then can be converted into a typed struct. - ability to reach out to the cluster to fetch other resources possibly referenced by the CR, and propagate context information as well as errors properly
/assign
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels