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
I would really like to use the Pull Request Generator to create ephemeral preview environments in my productive cluster. However, I faced some problems and I don't fully understand how to circumvent them. In the following I provide a very specific example.
I tried to use a preview environment of my deployed helm chart for external-secrets. I use the following Pull generator (using the argocd apps helm chart):
When I add the label preview-external-secrets, argocd creates the preview application in my cluster. It is then called for example external-secrets-211-preview. The problem is that I now get a SharedResourceWarning with the following message:
ValidatingWebhookConfiguration/externalsecret-validate is part of applications argocd/external-secrets-215-preview and external-secrets
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hello together,
I would really like to use the Pull Request Generator to create ephemeral preview environments in my productive cluster. However, I faced some problems and I don't fully understand how to circumvent them. In the following I provide a very specific example.
I tried to use a preview environment of my deployed helm chart for external-secrets. I use the following Pull generator (using the argocd apps helm chart):
When I add the label
preview-external-secrets
, argocd creates the preview application in my cluster. It is then called for exampleexternal-secrets-211-preview
. The problem is that I now get aSharedResourceWarning
with the following message:The problem is, that the chart that I am using has hardcoded the names of the webhook configurations, so the shared resource warning error appears (see here: https://github.com/external-secrets/external-secrets/blob/main/deploy/charts/external-secrets/templates/validatingwebhook.yaml).
I face the same error when the chart includes cluster wide resources.
Now the question is, how do I handle a
SharedResourceWarning
in my preview applications generated by the Pull Request Generator?Any help would be appreciated!
P.S. I am deploying my apps in argocd using the umbrella chart approach.
Beta Was this translation helpful? Give feedback.
All reactions