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
Implement as a part of the same binary of the Helm release storage
Create dedicated Type for a given Storage backend TypeInstance
- In context: go template + helm release name + namespace
Implement templating support:
Template passed in context to the storage backend - it is specified and stored in Local Hub on create/update
The service renders the template against the manifests and values for the installed release, and returns the output
(Almost) the same logic that we have currently in Helm Runner
Common
Modify Helm runner: - Remove output.goTemplate. As discussed with @mszostok, we'll keep it to have it as a support for further workflow steps - Stop supporting usage of funcs from _helpers.tpl As discussed with @mszostok, we'll keep it to have it as a support for further workflow steps
Update JSON Schema for Type
Add another output from Helm Runner - create artifact, which puts context for Helm release backend
Description
Blocked By: #645
As the Helm backend storage and allow its discovery and consumption via dedicated TypeInstance.
Subtasks
AC
The Helm storage backend consists of two quite independent parts:
Helm release storage
/cmd/helm-storage-backend. Implement gRPC server. Types are already generated.backend.contextto allow specifying it.GetValuemethod, the rest just validate data (e.g. onDelete checks whether a given Helm release).Helm template storage
A storage backend that supports helm templating:
- In context: go template + helm release name + namespace
Common
- RemoveAs discussed with @mszostok, we'll keep it to have it as a support for further workflow stepsoutput.goTemplate.- Stop supporting usage of funcs fromAs discussed with @mszostok, we'll keep it to have it as a support for further workflow steps_helpers.tplstorage backendsection:Related issues
See epic #604 for the reason and use cases.