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
After successfully installing the Operator on OpenShift 4.15.x, when creating the first CR, I get the error message
Error "failed calling webhook "vcryostat.kb.io": failed to call webhook: Post "https://cryostat-operator-controller-manager-service.openshift-operators.svc:443/validate-operator-cryostat-io-v1beta2-cryostat?timeout=10s": tls: failed to verify certificate: x509: certificate is valid for infinispan-operator-controller-manager-service.openshift-operators, infinispan-operator-controller-manager-service.openshift-operators.svc, not cryostat-operator-controller-manager-service.openshift-operators.svc" for field "undefined".
The CR I'm trying to install is very minimal. As the name above suggests, also the Infinispan Operator is installed.
Our operator's objects do not have an app.kubernetes.io/name label set. This is causing our webhook requests to sometimes be routes to Infinispan's webhook, which fails due to the TLS issue. This should be easily fixable by adding a similar label to our objects and selector.
Current Behavior
After successfully installing the Operator on OpenShift 4.15.x, when creating the first CR, I get the error message
Error "failed calling webhook "vcryostat.kb.io": failed to call webhook: Post "https://cryostat-operator-controller-manager-service.openshift-operators.svc:443/validate-operator-cryostat-io-v1beta2-cryostat?timeout=10s": tls: failed to verify certificate: x509: certificate is valid for infinispan-operator-controller-manager-service.openshift-operators, infinispan-operator-controller-manager-service.openshift-operators.svc, not cryostat-operator-controller-manager-service.openshift-operators.svc" for field "undefined".
The CR I'm trying to install is very minimal. As the name above suggests, also the Infinispan Operator is installed.
Expected Behavior
CR creation should succeed
Steps To Reproduce
Environment
Anything else?
No response
The text was updated successfully, but these errors were encountered: