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
Deploy the litmus-agent chart via ArgoCD and add values to create a new infrastructure. Making sure to let the deployment create the infraSecret and infraConfigmap
The subscriber-secret and subscriber-configmap get populated with the correct values and every starts up
Run a sync on ArgoCD
The hook annotations on the subscriber-secret and subscriber-configmap will delete the kubernetes resources and remove the required information
The pre-install-webhook will start up and complete with the message Infra already exist. This will create but not populate the subscriber-secret and subscriber-configmap.
The subscriber and event-tracker deployments 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
Steps to Reproduce Issue
litmus-agent
chart via ArgoCD and add values to create a new infrastructure. Making sure to let the deployment create theinfraSecret
andinfraConfigmap
subscriber-secret
andsubscriber-configmap
get populated with the correct values and every starts upsubscriber-secret
andsubscriber-configmap
will delete the kubernetes resources and remove the required informationpre-install-webhook
will start up and complete with the messageInfra already exist
. This will create but not populate thesubscriber-secret
andsubscriber-configmap
.subscriber
andevent-tracker
deployments fail because the required environment variables do not existRequested Feature
Requested Fix in Code
[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"Requested Fix in Helm Chart
helm.sh
hook annotations frominfra_config_map
helm.sh
hook annotations frominfra-secret
Current (undesired) Workaround
subscriber-secret
andsubscriber-configmap
without the hook annotationssubscriber-secret
andsubscriber-configmap
are deleted or altered in anywayOther People Facing the Same Issues
litmuschaos/litmus-helm#412
litmuschaos/litmus-helm#334
#4892
#4786
The text was updated successfully, but these errors were encountered: