Fix getent invocation
Some checks failed
/ blog-pim (push) Failing after 4m11s

This commit is contained in:
Pim Kunis 2024-05-02 17:17:30 +02:00
parent e89a42fe3d
commit 2905267a15

View file

@ -9,7 +9,7 @@ jobs:
- name: Clone repository
run: git clone ${GITHUB_SERVER_URL}/${GITHUB_REPOSITORY}.git src
- run: uname -a
- run: "getent passwd $USER"
- run: nix run nixpkgs#getent -- passwd $USER
- run: "curl --cacert /var/run/secrets/kubernetes.io/serviceaccount/ca.crt -H \"Authorization: Bearer $(cat /var/run/secrets/kubernetes.io/serviceaccount/token)\" https://kubernetes.default.svc/api/v1/namespaces/default/pods"
- run: nix run nixpkgs#kubectl -- config set-cluster my-cluster --server=https://kubernetes.default.svc --certificate-authority=/var/run/secrets/kubernetes.io/serviceaccount/ca.crt