93 lines
3.4 KiB
Bash
93 lines
3.4 KiB
Bash
#
|
|
# Cluster related variables
|
|
#
|
|
|
|
# The repo you created from this template
|
|
# e.g. https://github.com/k8s-at-home/home-cluster
|
|
export BOOTSTRAP_GIT_REPOSITORY=""
|
|
|
|
# Optional: Enable GitHub to send a webhook to update Flux, set the following to one of:
|
|
# ignored - this feature will be disabled
|
|
# generated - this will generate a token and print it in the logs
|
|
# Set this to any other string and it will be used for the secret
|
|
export BOOTSTRAP_FLUX_GITHUB_WEBHOOK_SECRET="ignored"
|
|
|
|
# Choose one of your cloudflare domains
|
|
# e.g. k8s-at-home.com
|
|
export BOOTSTRAP_CLOUDFLARE_DOMAIN=""
|
|
# The email you use to sign into Cloudflare with
|
|
export BOOTSTRAP_CLOUDFLARE_EMAIL=""
|
|
# Your global Cloudflare API Key
|
|
export BOOTSTRAP_CLOUDFLARE_APIKEY=""
|
|
|
|
# Pick a range of unused IPs that are on the same network as your nodes
|
|
# You don't need many IPs, just choose 10 IPs to start with
|
|
# e.g. 192.168.1.220-192.168.1.230
|
|
export BOOTSTRAP_METALLB_LB_RANGE=""
|
|
# The load balancer IP for k8s_gateway, choose from one of the available IPs above
|
|
# e.g. 192.168.1.220
|
|
export BOOTSTRAP_METALLB_K8S_GATEWAY_ADDR=""
|
|
# The load balancer IP for traefik, choose from one of the available IPs above
|
|
# that doesn't conflict with any other IP addresses here
|
|
# e.g. 192.168.1.221
|
|
export BOOTSTRAP_METALLB_TRAEFIK_ADDR=""
|
|
|
|
# Age Public Key - string should start with age
|
|
# e.g. age15uzrw396e67z9wdzsxzdk7ka0g2gr3l460e0slaea563zll3hdfqwqxdta
|
|
export BOOTSTRAP_AGE_PUBLIC_KEY=""
|
|
|
|
# The network interface on the host kube-vip should attach to
|
|
# Look this up on your nodes to verify what NIC to use
|
|
# This name should be the same across your nodes, see:
|
|
# https://github.com/k8s-at-home/template-cluster-k3s/issues/310
|
|
# e.g. eno1
|
|
export BOOTSTRAP_KUBE_VIP_INTERFACE=""
|
|
# The IP Address to use with KubeVIP
|
|
# Pick a unused IP that is on the same network as your nodes
|
|
# and outside the ${BOOTSTRAP_METALLB_LB_RANGE} range
|
|
# and doesn't conflict with any other IP addresses here
|
|
# e.g. 192.168.1.254
|
|
export BOOTSTRAP_KUBE_VIP_ADDR=""
|
|
|
|
#
|
|
# Ansible related variables
|
|
#
|
|
|
|
#
|
|
# Default prefixes for hostnames assigned by Ansible
|
|
# These are unused on nodes where BOOTSTRAP_ANSIBLE_HOSTNAME_ is provided
|
|
#
|
|
|
|
export BOOTSTRAP_ANSIBLE_DEFAULT_CONTROL_NODE_HOSTNAME_PREFIX="k8s-"
|
|
export BOOTSTRAP_ANSIBLE_DEFAULT_NODE_HOSTNAME_PREFIX="k8s-"
|
|
|
|
#
|
|
# Ansible hosts - repeat this block as many times as you need,
|
|
# incrementing the last digit on the variable name for each node
|
|
#
|
|
|
|
# Host IP Address to the control plane node
|
|
# That doesn't conflict with any other IP addresses here
|
|
# e.g. 192.168.1.200
|
|
export BOOTSTRAP_ANSIBLE_HOST_ADDR_0=""
|
|
# User Ansible will log into the nodes
|
|
export BOOTSTRAP_ANSIBLE_SSH_USERNAME_0=""
|
|
# Password Ansible will use to escalate to sudo
|
|
export BOOTSTRAP_ANSIBLE_SUDO_PASSWORD_0=""
|
|
# Set this node as a control node (true/false)
|
|
export BOOTSTRAP_ANSIBLE_CONTROL_NODE_0=""
|
|
# Optional: Set the hostname of the node, if set this will override the *_HOSTNAME_PREFIX vars above
|
|
export BOOTSTRAP_ANSIBLE_HOSTNAME_0=""
|
|
|
|
# export BOOTSTRAP_ANSIBLE_HOST_ADDR_1=""
|
|
# export BOOTSTRAP_ANSIBLE_SSH_USERNAME_1=""
|
|
# export BOOTSTRAP_ANSIBLE_SUDO_PASSWORD_1=""
|
|
# export BOOTSTRAP_ANSIBLE_CONTROL_NODE_1=""
|
|
# export BOOTSTRAP_ANSIBLE_HOSTNAME_1=""
|
|
|
|
# export BOOTSTRAP_ANSIBLE_HOST_ADDR_2=""
|
|
# export BOOTSTRAP_ANSIBLE_SSH_USERNAME_2=""
|
|
# export BOOTSTRAP_ANSIBLE_SUDO_PASSWORD_2=""
|
|
# export BOOTSTRAP_ANSIBLE_CONTROL_NODE_2=""
|
|
# export BOOTSTRAP_ANSIBLE_HOSTNAME_2=""
|