Update cd-pr.yml
This commit is contained in:
@@ -98,6 +98,18 @@ jobs:
|
||||
echo | openssl s_client -connect 191.252.159.227:6443 2>/dev/null \
|
||||
| openssl x509 -noout -text | grep -E "Issuer|Subject|Not Before|Not After|DNS:|IP:"
|
||||
|
||||
- name: Test with Go-like TLS settings
|
||||
run: |
|
||||
curl -v --tlsv1.2 --tls-max 1.2 -k \
|
||||
--cert <(kubectl config view --raw -o jsonpath='{.users[0].user.client-certificate-data}' | base64 -d) \
|
||||
--key <(kubectl config view --raw -o jsonpath='{.users[0].user.client-key-data}' | base64 -d) \
|
||||
https://191.252.159.227:6443/api/v1/namespaces/tasknote-stg 2>&1 | tail -5
|
||||
|
||||
curl -v --tlsv1.3 -k \
|
||||
--cert <(kubectl config view --raw -o jsonpath='{.users[0].user.client-certificate-data}' | base64 -d) \
|
||||
--key <(kubectl config view --raw -o jsonpath='{.users[0].user.client-key-data}' | base64 -d) \
|
||||
https://191.252.159.227:6443/api/v1/namespaces/tasknote-stg 2>&1 | tail -5
|
||||
|
||||
- name: Setup Go
|
||||
uses: actions/setup-go@v5
|
||||
with:
|
||||
|
||||
Reference in New Issue
Block a user