Migrate the role to a separate repo
This commit is contained in:
52
defaults/main.yml
Normal file
52
defaults/main.yml
Normal file
@ -0,0 +1,52 @@
|
||||
---
|
||||
# --------------------------------------
|
||||
# -- yq version
|
||||
# --------------------------------------
|
||||
yq:
|
||||
version: v4.31.2
|
||||
binary: yq_linux_amd64
|
||||
# --------------------------------------
|
||||
# -- Path to k8s admin config
|
||||
# --------------------------------------
|
||||
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
|
||||
# --------------------------------------
|
||||
# -- K8s username
|
||||
# --------------------------------------
|
||||
username: "admin"
|
||||
# --------------------------------------
|
||||
# -- How many days certificate
|
||||
# -- will be valid
|
||||
# --------------------------------------
|
||||
certificate_expires_in: 500
|
||||
# --------------------------------------
|
||||
# -- K8s cluster name
|
||||
# --------------------------------------
|
||||
cluster: "microk8s-cluster"
|
||||
# --------------------------------------
|
||||
# -- RoleBinding parameters
|
||||
# --------------------------------------
|
||||
# -- Binding type:
|
||||
# ---- ClusterRoleBinding
|
||||
# ---- RoleBinding
|
||||
# --------------------------------------
|
||||
binding_type: ClusterRoleBinding
|
||||
# --------------------------------------
|
||||
# -- Role type
|
||||
# -- ClusterRole
|
||||
# -- Role
|
||||
# --------------------------------------
|
||||
role_type: ClusterRole
|
||||
# --------------------------------------
|
||||
# -- Cluster role name
|
||||
# -- https://kubernetes.io/docs/reference/access-authn-authz/rbac/
|
||||
# --------------------------------------
|
||||
role: cluster-admin
|
||||
|
||||
# --------------------------------------
|
||||
# -- Use with microk8s
|
||||
# --------------------------------------
|
||||
# k8s_config_path: /var/snap/microk8s/current/credentials/client.config
|
||||
# k8s_cert_path: /var/snap/microk8s/current/certs
|
Reference in New Issue
Block a user