add support for multi-users

This commit is contained in:
RNRod
2023-07-16 22:07:38 +02:00
parent cbe707f618
commit cf5d235cc2
5 changed files with 163 additions and 116 deletions

View File

@ -6,6 +6,12 @@ yq:
version: v4.31.2
binary: yq_linux_amd64
# --------------------------------------
# -- kubectl version
# --------------------------------------
kubectl:
version: v1.26.6
arch: amd64
# --------------------------------------
# -- Path to k8s admin config
# --------------------------------------
k8s_config_path: /etc/kubernetes/admin.conf
@ -44,7 +50,16 @@ role_type: ClusterRole
# -- https://kubernetes.io/docs/reference/access-authn-authz/rbac/
# --------------------------------------
role: cluster-admin
# --------------------------------------
# users:
# - username: "admin"
# cluster: "microk8s-cluster"
# certificate_expires_in: 500
# binding_type: ClusterRoleBinding
# role_type: ClusterRole
# role: cluster-admin
# --------------------------------------
users: []
# --------------------------------------
# -- Use with microk8s
# --------------------------------------