Skip to content

Commit

Permalink
Testing setting KUBECONFIG for cmctl binary, fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
Maciej Zelechowski committed Jul 24, 2024
1 parent 428a59f commit 5201585
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/clientauth-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ jobs:
- name: "check certificate resource"
run: |
sudo microk8s.kubectl get certificaterequest -n ncm-issuer
sudo -E cmctl status certificate status certificate ncm-cert -n ncm-issuer
sudo -E cmctl status certificate ncm-cert -n ncm-issuer
sudo microk8s.kubectl -n ncm-issuer logs `sudo microk8s.kubectl get pods -A -l app=ncm-issuer -o jsonpath='{.items[0].metadata.name}'`|tail -25
sudo -E cmctl status certificate ncm-cert -n ncm-issuer | grep "No CertificateRequest found for this Certificate"
sudo microk8s.kubectl describe certificaterequest ncm-cert -n ncm-issuer | grep "Certificate:" | awk '{print $2}' | base64 -d > /tmp/cert.der
Expand Down

0 comments on commit 5201585

Please sign in to comment.