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 have installed OpenUnison in my k8s cluster (1.27.1 - kubeadm) using ouctl and the openunison orchestra pods are unable to startup due to the following error:
Exceptioninthread"main"jakarta.servlet.ServletException: com.tremolosecurity.provisioning.core.ProvisioningException: CouldnotloadCRDsatcom.tremolosecurity.filter.UnisonServletFilter.init(UnisonServletFilter.java:400)
atcom.tremolosecurity.openunison.OpenUnisonServletFilter.init(OpenUnisonServletFilter.java:118)
atio.undertow.servlet.core.LifecyleInterceptorInvocation.proceed(LifecyleInterceptorInvocation.java:111)
atio.undertow.servlet.core.ManagedFilter.createFilter(ManagedFilter.java:86)
atio.undertow.servlet.core.DeploymentManagerImpl$2.call(DeploymentManagerImpl.java:598)
atio.undertow.servlet.core.DeploymentManagerImpl$2.call(DeploymentManagerImpl.java:559)
atio.undertow.servlet.core.ServletRequestContextThreadSetupAction$1.call(ServletRequestContextThreadSetupAction.java:42)
atio.undertow.servlet.core.ContextClassLoaderSetupAction$1.call(ContextClassLoaderSetupAction.java:43)
atio.undertow.servlet.core.DeploymentManagerImpl.start(DeploymentManagerImpl.java:605)
atcom.tremolosecurity.openunison.undertow.OpenUnisonOnUndertow.main(OpenUnisonOnUndertow.java:353)
Causedby: com.tremolosecurity.provisioning.core.ProvisioningException: CouldnotloadCRDsatcom.tremolosecurity.k8s.watch.K8sWatcher.initalRun(K8sWatcher.java:176)
atcom.tremolosecurity.provisioning.targets.LoadTargetsFromK8s.loadDynamicTargets(LoadTargetsFromK8s.java:223)
atcom.tremolosecurity.provisioning.core.ProvisioningEngineImpl.generateTargets(ProvisioningEngineImpl.java:887)
atcom.tremolosecurity.provisioning.core.ProvisioningEngineImpl.<init>(ProvisioningEngineImpl.java:482)
atcom.tremolosecurity.config.util.UnisonConfigManagerImpl.initialize(UnisonConfigManagerImpl.java:484)
atcom.tremolosecurity.filter.UnisonServletFilter.init(UnisonServletFilter.java:369)
... 9moreCausedby: java.io.IOException: Unexpectedresultcalling'https://10.96.0.1:443/apis/openunison.tremolo.io/v1/namespaces/openunison/targets' - 403 / {"kind":"Status","apiVersion":"v1","metadata":{},"status":"Failure","message":"targets.openunison.tremolo.ioisforbidden: User \"system:serviceaccount:auth-services:openunison-orchestra\" cannot list resource \"targets\" in API group \"openunison.tremolo.io\" in the namespace \"openunison\"","reason":"Forbidden","details":{"group":"openunison.tremolo.io","kind":"targets"},"code":403}
I believe the cause of this is that for some reason it is still trying to make calls on the default openunison namespace and not the auth-services namespace I have created and specified using the -n flag with ouctl. I used the following command to install OpenUnison, with the client-secret-auth being a file containing my Keycloak client secret an the openunison-values.yaml file containing my modified values from the default file downloaded from the documentation page links.
I have installed OpenUnison in my k8s cluster (1.27.1 - kubeadm) using ouctl and the openunison orchestra pods are unable to startup due to the following error:
I believe the cause of this is that for some reason it is still trying to make calls on the default
openunison
namespace and not theauth-services
namespace I have created and specified using the -n flag with ouctl. I used the following command to install OpenUnison, with the client-secret-auth being a file containing my Keycloak client secret an the openunison-values.yaml file containing my modified values from the default file downloaded from the documentation page links.I have verified that the CRD's have been installed and that the service accounts have been created within the auth-services namespace.
The text was updated successfully, but these errors were encountered: