Change the way binaries are installed

Now binaries are installed to the workdir, so they do not affect the
system. I want to have this role more or less containerized

Also some minor refactoring has been done as well
This commit is contained in:
Nikolai Rodionov
2023-08-11 09:34:21 +02:00
parent 9928b63672
commit 3806fe53b5
3 changed files with 70 additions and 55 deletions

View File

@ -3,7 +3,7 @@
# -- yq version
# --------------------------------------
yq:
version: v4.31.2
version: v4.35.2
binary: yq_linux_amd64
# --------------------------------------
# -- kubectl version
@ -58,6 +58,10 @@ role: cluster-admin
# binding_type: ClusterRoleBinding
# role_type: ClusterRole
# role: cluster-admin
# k8s_config_path: /etc/kubernetes/admin.conf
# k8s_cert_path: /etc/kubernetes/pki
# k8s_cert_crt_file: ca.crt
# k8s_cert_key_file: ca.key
# --------------------------------------
users: []
# --------------------------------------
@ -65,3 +69,10 @@ users: []
# --------------------------------------
# k8s_config_path: /var/snap/microk8s/current/credentials/client.config
# k8s_cert_path: /var/snap/microk8s/current/certs
# --------------------------------------
# -- Use with k3s
# --------------------------------------
# k8s_config_path: /etc/rancher/k3s/k3s.yaml
# k8s_cert_path: /var/lib/rancher/k3s/server/tls
# k8s_cert_crt_file: server-ca.crt
# k8s_cert_key_file: server-ca.key