Fix TLS check on uninstall#768
Conversation
mbaldessari
commented
Jul 10, 2026
- Drop insecure TLS
- Add unit tests for the checkSpokeApplicationsGone() function
We read the two CAs in the pod and use those if we find at least one: /run/secrets/kubernetes.io/serviceaccount/ca.crt /run/secrets/kubernetes.io/serviceaccount/service-ca.crt If we can't find any we just assume that we're in a development setup and we set InsecureSkipVerify = true
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: mbaldessari The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
|
@mbaldessari: The following test failed, say
Full PR test history. Your PR dashboard. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here. |