Describe the bug
If you have a resource that depends on an externally provided tls credential (generateTlsCredentials: false), like a RouterAccess, and the respective secret is not available, kube-adaptor is not proceeding with the syncronization logic for the other entities, like bridges and links.
How To Reproduce
- Create a RouterAccess resource with
.spec.generateTlsCredentials: false.
- Create any other resource like, a listener:
skupper listener create backend 8080.
- List the active tcpListeners, using:
kubectl exec deploy/skupper-router -- skmanage query --type tcpListener
You will see an empty list of tcpListeners as they have been defined to the ConfigMap, but not through the Management API.
Expected behavior
If a resource, like RouterAccess, Listener, Connector refers to a TLS Credential that does not exist, they should simply be skipped from the router configuration at all (including the configmap itself), so that the configuration of other entities are not impacted.
In case the router pod restarts, the config-init container will prevent it from starting, with the following error:
Waiting for Secrets to be created for SslProfiles
Environment details
Describe the bug
If you have a resource that depends on an externally provided tls credential (
generateTlsCredentials: false), like aRouterAccess, and the respective secret is not available, kube-adaptor is not proceeding with the syncronization logic for the other entities, like bridges and links.How To Reproduce
.spec.generateTlsCredentials: false.skupper listener create backend 8080.kubectl exec deploy/skupper-router -- skmanage query --type tcpListenerYou will see an empty list of tcpListeners as they have been defined to the ConfigMap, but not through the Management API.
Expected behavior
If a resource, like
RouterAccess,Listener,Connectorrefers to a TLS Credential that does not exist, they should simply be skipped from the router configuration at all (including the configmap itself), so that the configuration of other entities are not impacted.In case the router pod restarts, the
config-initcontainer will prevent it from starting, with the following error:Environment details