Skip to content
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

v1.14 backports 2023-07-22 #26995

Merged
merged 1 commit into from Jul 24, 2023

Conversation

sayboras
Copy link
Member

@sayboras sayboras commented Jul 21, 2023

Once this PR is merged, you can update the PR labels via:

$ for pr in 26988; do contrib/backporting/set-labels.py $pr done 1.14; done

[ upstream commit 301844c ]

Currently, if the TLS secret is not available by the time the Ingress
object is created, the creation event will be filtered out based on
in-memory list of watched secrets. This commit is to make sure that
we still add secret name to watch list, so that creation event will
trigger the sync accordingly.

Testing is done as per below:

```
$ curl -k -v https://bookinfo.cilium.rocks/details/1
*   Trying 10.104.207.106:443...
* Connected to bookinfo.cilium.rocks (10.104.207.106) port 443 (#0)
* ALPN: offers h2,http/1.1
* TLSv1.3 (OUT), TLS handshake, Client hello (1):
* Recv failure: Connection reset by peer
* OpenSSL SSL_connect: Connection reset by peer in connection to bookinfo.cilium.rocks:443
* Closing connection 0
curl: (35) Recv failure: Connection reset by peer
$ kubectl create secret tls demo-cert --key=_.cilium.rocks/key.pem --cert=_.cilium.rocks/cert.pem
secret/demo-cert created
$ curl -k https://bookinfo.cilium.rocks/details/1
{"id":1,"author":"William Shakespeare","year":1595,"type":"paperback","pages":200,"publisher":"PublisherA","language":"English","ISBN-10":"1234567890","ISBN-13":"123-1234567890"}
```

Signed-off-by: Tam Mach <tam.mach@cilium.io>
@sayboras sayboras requested a review from a team as a code owner July 21, 2023 15:35
@sayboras sayboras added kind/backports This PR provides functionality previously merged into master. backport/1.14 This PR represents a backport for Cilium 1.14.x of a PR that was merged to main. labels Jul 21, 2023
@sayboras
Copy link
Member Author

/test-backport-1.14

@sayboras sayboras added the ready-to-merge This PR has passed all tests and received consensus from code owners to merge. label Jul 24, 2023
@youngnick youngnick merged commit f9f3b2c into cilium:v1.14 Jul 24, 2023
64 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport/1.14 This PR represents a backport for Cilium 1.14.x of a PR that was merged to main. kind/backports This PR provides functionality previously merged into master. ready-to-merge This PR has passed all tests and received consensus from code owners to merge.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants