Closed tomhuang12 closed 3 years ago
Thanks for opening the issue @tomhuang12 ! Definitely looks like a bug that needs to be fixed. We will get to it soon.
@Himangini can we move this to ready for work without having to do planning? Quite an annoying bug that might block a lot of CX folks.
Ops...:D
Ops...:D
the bug isn't obvious to me... like we do have logic around it https://github.com/weaveworks/pctl/blob/4309c6da53c461831bb6425779cbaae12959e566/pkg/install/artifact/artifact.go#L126-L130 but looking at our e2e tests it isn't explicitly tested, which is a gap for sure. I'm wondering whats causing this :thinking:
I think this line needs to check if cfgMap exists and include as part of kustomization: https://github.com/weaveworks/pctl/blob/4309c6da53c461831bb6425779cbaae12959e566/pkg/install/artifact/artifact.go#L140.
I think this line needs to check if cfgMap exists and include as part of kustomization:
.
yeah I'm working on a fix atm :smile:
Fixed in 0.11.0
@tomhuang12
Working as expected in 0.11.0
! Thank you!
What were you trying to accomplish? I am trying to add a profile that has a local chart and
defaultValues
defined.or
What happened? The generated artifacts has the
ConfigMap.yaml
generated but missing from./nginx/artifacts/nginx-server/helm-chart/kustomization.yaml
, causing it not deployed. The correspondingHelmRelease
fails to reconcile until the ConfigMap is applied.How to reproduce it? On a GitOps repository, run the commands from above. Check that the
./nginx/artifacts/nginx-server/helm-chart/kustomization.yaml
resources is missing- ConfigMap.yaml
.Logs
Anything else we need to know? Darwin amd64
Versions 0.10.0