-
Notifications
You must be signed in to change notification settings - Fork 9
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
webhook requires hostNetwork: true on EKS with Calico CNI #788
Comments
I've run into this issue a couple of times and could never figure out the issue. Didn't realize it had to do with an alternate CNI. Thanks! Added the flag |
Hello @mlbiam ,
The fix is to change Orchestra pod's |
I'm also hitting this issue on a cluster configured with Kubespray, which uses Calico by default. Besides the apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: openunison
namespace: argocd
spec:
project: default
ignoreDifferences:
- group: "admissionregistration.k8s.io"
kind: "ValidatingWebhookConfiguration"
jsonPointers:
- /webhooks/0/clientConfig/caBundle
- /webhooks/1/clientConfig/caBundle
- /webhooks/2/clientConfig/caBundle
- /webhooks/3/clientConfig/caBundle
- /webhooks/4/clientConfig/caBundle
+
+ # Work around a Calico CNI issue.
+ # See: https://github.com/TremoloSecurity/OpenUnison/issues/788
+ - group: apps
+ kind: Deployment
+ jsonPointers:
+ - /spec/template/spec/dnsPolicy It'd be great if the Helm chart provided a configuration value for |
There is an EKS cluster with the Calico CNI installed. In this environment, the deployment of
orchestra-login-portal
fails when attempting to deploy anyAuthenticationChain
due to the webhook.Internal error occurred: failed calling webhook "authmechs-openunison.tremolo.io": failed to call webhook: Post "https://openunison-openunison.openunison.svc:443/k8s/webhooks/v1/authmechs?timeout=5s": Address is not allowed
To work around this issue, it is required to patch the openunison
deployment
by addinghostNetwork: true
for the Orchestra (OpenUnison) pods. This network issue is known to occur on EKS with Calico CNI, and you can find more details about it here.Is it possible to add this parameter into
kind: OpenUnison
being possible to set it via helm chart.Thanks
The text was updated successfully, but these errors were encountered: