-
Notifications
You must be signed in to change notification settings - Fork 48
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chapSecretValidation breaks Argo CD multi source applications #398
Comments
The whole point of a cluster wide secret for CHAP was that it needs to exist prior to installing the Chart. I agree this pre-install-hook isn't the prettiest solution but fail to understand you can't reverse the order in your workflow? |
We use ArgoCD for deploying Helm charts. In our case the validation fails even though the secret already exists prior.
|
I'm not familiar with what you're exactly trying to do here but is it possible to pass |
Sadly this is not available in Argo CD. I have created #399 to work around the issue in a sensible way. |
When deploying the hpe-csi-driver chart using a multi source Argo CD application where the first source is the hpe-csi-driver chart and the second source is a custom chart with the secret containing the
iscsi.chapSecretName
secret, Argo CD cannot deploy the charts and fails withInstead of using a custom pre-install-hook I suggest using a Kubernetes native way of ensuring the secret is available and correct.
This could for example be mounting the secret into the container and validating it using an init container.
The text was updated successfully, but these errors were encountered: