- 
                Notifications
    
You must be signed in to change notification settings  - Fork 776
 
Open
Description
Steps to Reproduce Issue
- Deploy the litmus portal
 - Create an environment in the portal
 - Deploy the 
litmus-agentchart via ArgoCD and add values to create a new infrastructure. Making sure to let the deployment create theinfraSecretandinfraConfigmap - The 
subscriber-secretandsubscriber-configmapget populated with the correct values and every starts up - Run a sync on ArgoCD
 - The hook annotations on the 
subscriber-secretandsubscriber-configmapwill delete the kubernetes resources and remove the required information - The 
pre-install-webhookwill start up and complete with the messageInfra already exist. This will create but not populate thesubscriber-secretandsubscriber-configmap. - The 
subscriberandevent-trackerdeployments fail because the required environment variables do not exist 
Requested Feature
Requested Fix in Code
- Update 
[client.go](https://github.com/litmuschaos/test-tools/blob/master/custom/litmus-helm-agent/pkg/litmus/client.go#L161)to add/update the required variables to the secret if the "Infra already exists"- This may require changes elsewhere in the code though
 
 
Requested Fix in Helm Chart
- Remove 
helm.shhook annotations frominfra_config_map - Remove 
helm.shhook annotations frominfra-secret 
Current (undesired) Workaround
- Create your own 
subscriber-secretandsubscriber-configmapwithout the hook annotations- However this will NOT WORK if the 
subscriber-secretandsubscriber-configmapare deleted or altered in anyway 
 - However this will NOT WORK if the 
 
Other People Facing the Same Issues
litmuschaos/litmus-helm#412
litmuschaos/litmus-helm#334
#4892
#4786
Calvinaud, Monkman08, pierluigilenoci, dariolstella and ebongzzang
Metadata
Metadata
Assignees
Labels
No labels