-
Notifications
You must be signed in to change notification settings - Fork 304
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
tls secrets not updating due to invalid resource.name #311
Comments
(I also made a ticket at https://issuetracker.google.com/issues/109759258 but the last time I found a bug around cert updates, I had to make 3 tickets before it was found so I figured I ought to bring it here.) |
That's weird - the cluster UID is missing. What do you get when you run
|
That seems.. bad. |
Indeed. I don't believe there's a code path in the controllers to wipeout those controllers, so I'd check to see if any of your commands could have done that. If you know what the |
Hm, I poked at |
Instance groups are guaranteed to not have truncated values. It has the naming pattern |
Hrm, in my instance groups ( Neither of those look right? Are they and I didn't understand what to look at? |
Then the configmap was wiped out before you created your first ingress. You'll have to delete your ingress, set a UID value, then re-create the ingress. |
Yeah, but ... how do I get the UID? You said to get the UID from the ingress names, but I don't have them (maybe because they had to be recreated when I swapped nodepools?). :( |
Nodepools are entirely orthogonal to L7 instance groups. If all your L7 resources are missing a In this case, you can set the UID to anything... take
Another option is to just migrate to a new cluster and use DNS to transition between LB VIPs. |
I'm facing this identical issue. @jmhodges, Were you able to resolve your issue? |
I created a new cluster at my own expense because I didn’t trust that there wouldn’t be more bugs caused by updating the config. (I’m a lil salty about it) |
This is with v1.10.2-gke.3 (the GKE default now, I believe)
Updating a tls Secret used in a GCLB Ingress is failing because the
resource.name
field generated by the Ingress (or something) is invalid. Error from akubectl describe ingress apps
:(The important bit is
Invalid value for field 'resource.name': 'k8s-ssl-69d4fb7e3d37d4e1-3275ae2d33a9a727--'. Must be a match of regex '(?:a-z?)'
)The TLS certs used by the GCLB Ingress should be updated to what is inside the Secret but, instead, the old (soon to expire) cert is the one being served.
Not sure how to reproduce other than trying to update a cert, I guess? I'm not sure how that resource.name field gets constructed. I use Let's Encrypt created tickets and they refresh often.
I've got a production certificate expiring in 10 days and I'm not sure how to fix this.
The text was updated successfully, but these errors were encountered: