Files
k3s/argocd/commands.sh
2024-06-29 07:39:28 -05:00

4 lines
204 B
Bash

ca=$(kubectl get -n kube-system secret/argo-cd-manager-token -o jsonpath='{.data.ca\.crt}')
token=$(kubectl get -n kube-system secret/argo-cd-manager-token -o jsonpath='{.data.token}' | base64 --decode)