Update .gitea/workflows/k3s.yaml
This commit is contained in:
parent
1eaf27dc67
commit
b41af4f3fe
@ -52,7 +52,7 @@ jobs:
|
||||
echo "$K3S_CERT" | base64 --decode > ~/.kube/ca.crt
|
||||
|
||||
# Create the kubeconfig file
|
||||
cat << 'EOF' > ~/.kube/config
|
||||
cat <<EOF > ~/.kube/config
|
||||
apiVersion: v1
|
||||
kind: Config
|
||||
clusters:
|
||||
@ -63,7 +63,7 @@ clusters:
|
||||
users:
|
||||
- name: k3s-user
|
||||
user:
|
||||
token: $K3S_TOKEN
|
||||
token: ${K3S_TOKEN}
|
||||
contexts:
|
||||
- name: k3s-context
|
||||
context:
|
||||
|
||||
Loading…
Reference in New Issue
Block a user