addon-controller icon indicating copy to clipboard operation
addon-controller copied to clipboard

BUG: template Values/template resources

Open gianlucam76 opened this issue 3 years ago • 0 comments

Problem Description

Sveltos allows fetching values for helm charts and kubernetes resource at run time from Cluster/InfrastructureProvider/KubeadmControlPlane/SecretRef instances.

For instance, following set cidrs fetching it from Cluster instance Spec.

" cidrs: {{ index .Cluster.Spec.ClusterNetwork.Pods.CIDRBlocks 0 }} "

Currently only when:

  1. helm chart is installed/upgraded
  2. resource. contained in referenced Secret/ConfigMap, is deployed

template values are fetched from Cluster/InfrastructureProvider/KubeadmControlPlane/SecretRef

Ideal behavior should that that any change in above resource which would cause helm values/template resource to change, should trigger reconciliation

System Information

INSTRUCTIONS: Provide the system and application information below.

SVELTOS VERSION: v0.2.1

gianlucam76 avatar Nov 21 '22 01:11 gianlucam76