Skip to content

Conversation

@brandond
Copy link
Member

Use configured secret namespace/name in error message, to avoid panicing if the secret is invalid because it is nil

Use configured secret namespace/name in error message, to avoid panicing if the secret is invalid because it is nil

Signed-off-by: Brad Davidson <[email protected]>
@brandond brandond requested a review from a team as a code owner September 12, 2025 20:41
@tomleb tomleb requested a review from marytlf September 12, 2025 20:55
@brandond brandond merged commit d9174a1 into rancher:main Sep 12, 2025
1 check passed
brandond added a commit to brandond/dynamiclistener that referenced this pull request Oct 9, 2025
Use configured secret namespace/name in error message, to avoid panicing if the secret is invalid because it is nil

Signed-off-by: Brad Davidson <[email protected]>
(cherry picked from commit d9174a1)
Signed-off-by: Brad Davidson <[email protected]>
brandond added a commit that referenced this pull request Oct 10, 2025
* Sync changes to Kubernetes secret through workqueue instead of goroutines with locks (#202)

Signed-off-by: Brad Davidson <[email protected]>
(cherry picked from commit b12f85e)
Signed-off-by: Brad Davidson <[email protected]>

* fix dynamic-cert.json permission (#196)

(cherry picked from commit 2fb4ae1)
Signed-off-by: Brad Davidson <[email protected]>

* Fix panic on nil secret (#204)

Use configured secret namespace/name in error message, to avoid panicing if the secret is invalid because it is nil

Signed-off-by: Brad Davidson <[email protected]>
(cherry picked from commit d9174a1)
Signed-off-by: Brad Davidson <[email protected]>

* Do not update memory storage with a nil secret (#205)

Signed-off-by: Brad Davidson <[email protected]>
(cherry picked from commit 7ad4185)
Signed-off-by: Brad Davidson <[email protected]>

* Avoid creating certs that violate Apple requirements for macOS 10.15 (#208)

* Prevent creating non-standards compliant certs.

Changes generated certificates to have a NotBefore based on either the
CA NotBefore or the current time. This prevents creation of certificates
that are valid for too long making them return errors on platforms like
MacOS.

* Add license header and add test cases

(cherry picked from commit 3e35acf)
Signed-off-by: Brad Davidson <[email protected]>

---------

Signed-off-by: Brad Davidson <[email protected]>
Co-authored-by: Siva Kanakala <[email protected]>
Co-authored-by: Wesley <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants