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
A load balancer and certificate will be created successfully. The certificate will be labeled with the service UID:
However, when the load balancer is removed, the certificate is not. The next time a load balancer is created, HCCM sees that the certificate already exists and won't create it - but it also won't reuse it, because the service UID changed and doesn't match the certificate's label anymore. The HCCM logs:
controller.go:298] error processing service example/ingress-nginx-controller (retrying with exponential backoff): failed to ensure load balancer: hcloud/loadBalancers.EnsureLoadBalancer: hcops/LoadBalancerOps.ReconcileHCLBServices: hcops/hclbServiceOptsBuilder.buildAddServiceOpts: hcops/CertificateOps.GetCertificateByLabel: not found
This could be avoided if:
HCCM would remove managed certificates when removing the load balancer (potentially undesired)
HCCM would remove the service label from the certificate when removing the load balancer
HCCM would add the service label to an existing certificate
HCCM would match the certificate by name and not by label
The text was updated successfully, but these errors were encountered:
Version 1.18.0
If you create a service like this:
A load balancer and certificate will be created successfully. The certificate will be labeled with the service UID:
However, when the load balancer is removed, the certificate is not. The next time a load balancer is created, HCCM sees that the certificate already exists and won't create it - but it also won't reuse it, because the service UID changed and doesn't match the certificate's label anymore. The HCCM logs:
This could be avoided if:
The text was updated successfully, but these errors were encountered: