From ea7158aeb184ee1f3a841e55a3b9d20dac02da71 Mon Sep 17 00:00:00 2001 From: Jean-Francois Roy Date: Wed, 6 Mar 2024 13:41:41 -0800 Subject: [PATCH] Sync with upstream --- .github/renovate.json5 | 10 ++++++++++ .github/workflows/flux-diff.yaml | 4 ++-- README.md | 2 +- Taskfile.yaml | 3 +++ .../group_vars/kubernetes/main.yaml.j2 | 4 ++-- .../templates/ansible/inventory/hosts.yaml.j2 | 6 ++++++ .../playbooks/cluster-installation.yaml.j2 | 1 + .../templates/custom-kube-vip-ds.yaml.j2 | 2 ++ .../templates/custom-kube-vip-rbac.yaml.j2 | 2 ++ .../cert-manager/app/helmrelease.yaml.j2 | 2 -- .../cilium/app/helmrelease.yaml.j2 | 2 -- .../apps/kube-system/kube-vip/.mjfilter.py | 1 + .../kube-vip/app/daemonset.yaml.j2 | 2 ++ .../kube-vip/app/kustomization.yaml.j2 | 6 ++++++ .../kube-system/kube-vip/app/rbac.yaml.j2 | 2 ++ .../apps/kube-system/kube-vip/ks.yaml.j2 | 20 +++++++++++++++++++ .../app/helmrelease.yaml.j2 | 2 -- .../apps/kube-system/kustomization.yaml.j2 | 9 +++++---- .../metrics-server/app/helmrelease.yaml.j2 | 2 -- .../reloader/app/helmrelease.yaml.j2 | 2 -- .../spegel/app/helmrelease.yaml.j2 | 2 -- .../cloudflared/app/helmrelease.yaml.j2 | 2 -- .../echo-server/app/helmrelease.yaml.j2 | 2 -- .../external-dns/app/helmrelease.yaml.j2 | 2 -- .../external/helmrelease.yaml.j2 | 2 -- .../internal/helmrelease.yaml.j2 | 2 -- .../k8s-gateway/app/helmrelease.yaml.j2 | 2 -- .../openebs/app/helmrelease.yaml.j2 | 2 -- .../apps/system-upgrade/k3s/app/plan.yaml.j2 | 2 +- .../app/helmrelease.yaml.j2 | 4 +--- .../app/kustomization.yaml.j2 | 2 +- config.sample.yaml | 11 +++++----- 32 files changed, 74 insertions(+), 45 deletions(-) create mode 100644 bootstrap/templates/ansible/playbooks/templates/custom-kube-vip-ds.yaml.j2 create mode 100644 bootstrap/templates/ansible/playbooks/templates/custom-kube-vip-rbac.yaml.j2 create mode 100644 bootstrap/templates/kubernetes/apps/kube-system/kube-vip/.mjfilter.py create mode 100644 bootstrap/templates/kubernetes/apps/kube-system/kube-vip/app/daemonset.yaml.j2 create mode 100644 bootstrap/templates/kubernetes/apps/kube-system/kube-vip/app/kustomization.yaml.j2 create mode 100644 bootstrap/templates/kubernetes/apps/kube-system/kube-vip/app/rbac.yaml.j2 create mode 100644 bootstrap/templates/kubernetes/apps/kube-system/kube-vip/ks.yaml.j2 diff --git a/.github/renovate.json5 b/.github/renovate.json5 index 47dd17a34..dfd4d5d72 100644 --- a/.github/renovate.json5 +++ b/.github/renovate.json5 @@ -73,6 +73,16 @@ }, "separateMinorPatch": true }, + { + "description": ["System Upgrade Controller Group"], + "groupName": "System Upgrade Controller", + "matchPackagePatterns": ["system-upgrade-controller"], + "matchDatasources": ["docker", "github-releases"], + "group": { + "commitMessageTopic": "{{{groupName}}} group" + }, + "separateMinorPatch": true + }, // custom versioning { "description": ["Use custom versioning for k3s"], diff --git a/.github/workflows/flux-diff.yaml b/.github/workflows/flux-diff.yaml index 5e942518b..7548800f3 100644 --- a/.github/workflows/flux-diff.yaml +++ b/.github/workflows/flux-diff.yaml @@ -40,8 +40,8 @@ jobs: args: >- diff ${{ matrix.resources }} --unified 6 - --path /github/workspace/pull/${{ matrix.paths }} - --path-orig /github/workspace/default/${{ matrix.paths }} + --path /github/workspace/pull/${{ matrix.paths }}/flux + --path-orig /github/workspace/default/${{ matrix.paths }}/flux --strip-attrs "helm.sh/chart,checksum/config,app.kubernetes.io/version,chart" --limit-bytes 10000 --all-namespaces diff --git a/README.md b/README.md index 8b6dd0916..a37ecbb00 100644 --- a/README.md +++ b/README.md @@ -318,7 +318,7 @@ You have two different options for setting up your local workstation. 2. Install Flux and sync the cluster to the Git repository - 📍 _Run `task flux:github-deploy-key` first if using a private repository._ + 📍 _Run `task flux:github-deploy-key` first if using a private repository._ ```sh task flux:bootstrap diff --git a/Taskfile.yaml b/Taskfile.yaml index c510d73df..8b02c190a 100644 --- a/Taskfile.yaml +++ b/Taskfile.yaml @@ -36,6 +36,9 @@ includes: talos: .taskfiles/Talos/Taskfile.yaml sops: .taskfiles/Sops/Taskfile.yaml workstation: .taskfiles/Workstation/Taskfile.yaml + user: + taskfile: .taskfiles/User + optional: true tasks: diff --git a/bootstrap/templates/ansible/inventory/group_vars/kubernetes/main.yaml.j2 b/bootstrap/templates/ansible/inventory/group_vars/kubernetes/main.yaml.j2 index bf1aeb1ba..01ec2ba51 100644 --- a/bootstrap/templates/ansible/inventory/group_vars/kubernetes/main.yaml.j2 +++ b/bootstrap/templates/ansible/inventory/group_vars/kubernetes/main.yaml.j2 @@ -18,6 +18,6 @@ k3s_registries: k3s_release_version: v1.29.1+k3s2 k3s_server_manifests_templates: - custom-cilium-helmchart.yaml - - kube-vip-ds.yaml - - kube-vip-rbac.yaml + - custom-kube-vip-ds.yaml + - custom-kube-vip-rbac.yaml k3s_use_unsupported_config: true diff --git a/bootstrap/templates/ansible/inventory/hosts.yaml.j2 b/bootstrap/templates/ansible/inventory/hosts.yaml.j2 index 8960a23da..4df83a280 100644 --- a/bootstrap/templates/ansible/inventory/hosts.yaml.j2 +++ b/bootstrap/templates/ansible/inventory/hosts.yaml.j2 @@ -8,6 +8,9 @@ kubernetes: "#{ item.name }#": ansible_user: "#{ item.ssh_user }#" ansible_host: "#{ item.address }#" + #% if item.ssh_key %# + ansible_ssh_private_key_file: "#{ item.ssh_key }#" + #% endif %# #% endif %# #% endfor %# #% if bootstrap_node_inventory | selectattr('controller', 'equalto', False) | list | length %# @@ -18,6 +21,9 @@ kubernetes: "#{ item.name }#": ansible_user: "#{ item.ssh_user }#" ansible_host: "#{ item.address }#" + #% if item.ssh_key %# + ansible_ssh_private_key_file: "#{ item.ssh_key }#" + #% endif %# #% endif %# #% endfor %# #% endif %# diff --git a/bootstrap/templates/ansible/playbooks/cluster-installation.yaml.j2 b/bootstrap/templates/ansible/playbooks/cluster-installation.yaml.j2 index 54c2f87aa..ccbeaba6c 100644 --- a/bootstrap/templates/ansible/playbooks/cluster-installation.yaml.j2 +++ b/bootstrap/templates/ansible/playbooks/cluster-installation.yaml.j2 @@ -50,6 +50,7 @@ wait_timeout: 360 loop: - { name: cilium, kind: HelmChart, namespace: kube-system } + - { name: kube-vip, kind: DaemonSet, namespace: kube-system } - name: Cilium when: k3s_primary_control_node diff --git a/bootstrap/templates/ansible/playbooks/templates/custom-kube-vip-ds.yaml.j2 b/bootstrap/templates/ansible/playbooks/templates/custom-kube-vip-ds.yaml.j2 new file mode 100644 index 000000000..f62cab4d9 --- /dev/null +++ b/bootstrap/templates/ansible/playbooks/templates/custom-kube-vip-ds.yaml.j2 @@ -0,0 +1,2 @@ +--- +#% include 'partials/kube-vip-ds.partial.yaml.j2' %# diff --git a/bootstrap/templates/ansible/playbooks/templates/custom-kube-vip-rbac.yaml.j2 b/bootstrap/templates/ansible/playbooks/templates/custom-kube-vip-rbac.yaml.j2 new file mode 100644 index 000000000..481c2e822 --- /dev/null +++ b/bootstrap/templates/ansible/playbooks/templates/custom-kube-vip-rbac.yaml.j2 @@ -0,0 +1,2 @@ +--- +#% include 'partials/kube-vip-rbac.partial.yaml.j2' %# diff --git a/bootstrap/templates/kubernetes/apps/cert-manager/cert-manager/app/helmrelease.yaml.j2 b/bootstrap/templates/kubernetes/apps/cert-manager/cert-manager/app/helmrelease.yaml.j2 index 34b1a211a..02a576dc2 100644 --- a/bootstrap/templates/kubernetes/apps/cert-manager/cert-manager/app/helmrelease.yaml.j2 +++ b/bootstrap/templates/kubernetes/apps/cert-manager/cert-manager/app/helmrelease.yaml.j2 @@ -20,8 +20,6 @@ spec: cleanupOnFail: true remediation: retries: 3 - uninstall: - keepHistory: false values: installCRDs: true dns01RecursiveNameservers: 1.1.1.1:53,9.9.9.9:53 diff --git a/bootstrap/templates/kubernetes/apps/kube-system/cilium/app/helmrelease.yaml.j2 b/bootstrap/templates/kubernetes/apps/kube-system/cilium/app/helmrelease.yaml.j2 index 2acdaf579..eadc13d05 100644 --- a/bootstrap/templates/kubernetes/apps/kube-system/cilium/app/helmrelease.yaml.j2 +++ b/bootstrap/templates/kubernetes/apps/kube-system/cilium/app/helmrelease.yaml.j2 @@ -20,8 +20,6 @@ spec: cleanupOnFail: true remediation: retries: 3 - uninstall: - keepHistory: false values: #% filter indent(width=4, first=True) %# #% include 'partials/cilium-values-full.partial.yaml.j2' %# diff --git a/bootstrap/templates/kubernetes/apps/kube-system/kube-vip/.mjfilter.py b/bootstrap/templates/kubernetes/apps/kube-system/kube-vip/.mjfilter.py new file mode 100644 index 000000000..0979f9a64 --- /dev/null +++ b/bootstrap/templates/kubernetes/apps/kube-system/kube-vip/.mjfilter.py @@ -0,0 +1 @@ +main = lambda data: data.get("bootstrap_distribution", "k3s") in ["k3s"] diff --git a/bootstrap/templates/kubernetes/apps/kube-system/kube-vip/app/daemonset.yaml.j2 b/bootstrap/templates/kubernetes/apps/kube-system/kube-vip/app/daemonset.yaml.j2 new file mode 100644 index 000000000..f62cab4d9 --- /dev/null +++ b/bootstrap/templates/kubernetes/apps/kube-system/kube-vip/app/daemonset.yaml.j2 @@ -0,0 +1,2 @@ +--- +#% include 'partials/kube-vip-ds.partial.yaml.j2' %# diff --git a/bootstrap/templates/kubernetes/apps/kube-system/kube-vip/app/kustomization.yaml.j2 b/bootstrap/templates/kubernetes/apps/kube-system/kube-vip/app/kustomization.yaml.j2 new file mode 100644 index 000000000..cbede8284 --- /dev/null +++ b/bootstrap/templates/kubernetes/apps/kube-system/kube-vip/app/kustomization.yaml.j2 @@ -0,0 +1,6 @@ +--- +apiVersion: kustomize.config.k8s.io/v1beta1 +kind: Kustomization +resources: + - ./rbac.yaml + - ./daemonset.yaml diff --git a/bootstrap/templates/kubernetes/apps/kube-system/kube-vip/app/rbac.yaml.j2 b/bootstrap/templates/kubernetes/apps/kube-system/kube-vip/app/rbac.yaml.j2 new file mode 100644 index 000000000..481c2e822 --- /dev/null +++ b/bootstrap/templates/kubernetes/apps/kube-system/kube-vip/app/rbac.yaml.j2 @@ -0,0 +1,2 @@ +--- +#% include 'partials/kube-vip-rbac.partial.yaml.j2' %# diff --git a/bootstrap/templates/kubernetes/apps/kube-system/kube-vip/ks.yaml.j2 b/bootstrap/templates/kubernetes/apps/kube-system/kube-vip/ks.yaml.j2 new file mode 100644 index 000000000..fcd2c8add --- /dev/null +++ b/bootstrap/templates/kubernetes/apps/kube-system/kube-vip/ks.yaml.j2 @@ -0,0 +1,20 @@ +--- +apiVersion: kustomize.toolkit.fluxcd.io/v1 +kind: Kustomization +metadata: + name: &app kube-vip + namespace: flux-system +spec: + targetNamespace: kube-system + commonMetadata: + labels: + app.kubernetes.io/name: *app + path: ./kubernetes/apps/kube-system/kube-vip/app + prune: true + sourceRef: + kind: GitRepository + name: home-kubernetes + wait: false + interval: 30m + retryInterval: 1m + timeout: 5m diff --git a/bootstrap/templates/kubernetes/apps/kube-system/kubelet-csr-approver/app/helmrelease.yaml.j2 b/bootstrap/templates/kubernetes/apps/kube-system/kubelet-csr-approver/app/helmrelease.yaml.j2 index de34fa4c9..dec622a06 100644 --- a/bootstrap/templates/kubernetes/apps/kube-system/kubelet-csr-approver/app/helmrelease.yaml.j2 +++ b/bootstrap/templates/kubernetes/apps/kube-system/kubelet-csr-approver/app/helmrelease.yaml.j2 @@ -20,8 +20,6 @@ spec: cleanupOnFail: true remediation: retries: 3 - uninstall: - keepHistory: false values: #% filter indent(width=4, first=True) %# #% include 'partials/kubelet-csr-approver-values.partial.yaml.j2' %# diff --git a/bootstrap/templates/kubernetes/apps/kube-system/kustomization.yaml.j2 b/bootstrap/templates/kubernetes/apps/kube-system/kustomization.yaml.j2 index f15479365..289af80e9 100644 --- a/bootstrap/templates/kubernetes/apps/kube-system/kustomization.yaml.j2 +++ b/bootstrap/templates/kubernetes/apps/kube-system/kustomization.yaml.j2 @@ -4,11 +4,12 @@ kind: Kustomization resources: - ./namespace.yaml - ./cilium/ks.yaml - #% if bootstrap_distribution in ["talos"] %# - - ./kubelet-csr-approver/ks.yaml - #% endif %# - ./metrics-server/ks.yaml + - ./reloader/ks.yaml #% if bootstrap_distribution in ["talos"] %# + - ./kubelet-csr-approver/ks.yaml - ./spegel/ks.yaml #% endif %# - - ./reloader/ks.yaml + #% if bootstrap_distribution in ["k3s"] %# + - ./kube-vip/ks.yaml + #% endif %# diff --git a/bootstrap/templates/kubernetes/apps/kube-system/metrics-server/app/helmrelease.yaml.j2 b/bootstrap/templates/kubernetes/apps/kube-system/metrics-server/app/helmrelease.yaml.j2 index 1c435f4e4..2ea3acf21 100644 --- a/bootstrap/templates/kubernetes/apps/kube-system/metrics-server/app/helmrelease.yaml.j2 +++ b/bootstrap/templates/kubernetes/apps/kube-system/metrics-server/app/helmrelease.yaml.j2 @@ -20,8 +20,6 @@ spec: cleanupOnFail: true remediation: retries: 3 - uninstall: - keepHistory: false values: args: - --kubelet-insecure-tls diff --git a/bootstrap/templates/kubernetes/apps/kube-system/reloader/app/helmrelease.yaml.j2 b/bootstrap/templates/kubernetes/apps/kube-system/reloader/app/helmrelease.yaml.j2 index 8f636562f..9bbc0b4ad 100644 --- a/bootstrap/templates/kubernetes/apps/kube-system/reloader/app/helmrelease.yaml.j2 +++ b/bootstrap/templates/kubernetes/apps/kube-system/reloader/app/helmrelease.yaml.j2 @@ -20,8 +20,6 @@ spec: cleanupOnFail: true remediation: retries: 3 - uninstall: - keepHistory: false values: fullnameOverride: reloader reloader: diff --git a/bootstrap/templates/kubernetes/apps/kube-system/spegel/app/helmrelease.yaml.j2 b/bootstrap/templates/kubernetes/apps/kube-system/spegel/app/helmrelease.yaml.j2 index 50c00d47d..e14399709 100644 --- a/bootstrap/templates/kubernetes/apps/kube-system/spegel/app/helmrelease.yaml.j2 +++ b/bootstrap/templates/kubernetes/apps/kube-system/spegel/app/helmrelease.yaml.j2 @@ -20,8 +20,6 @@ spec: cleanupOnFail: true remediation: retries: 3 - uninstall: - keepHistory: false values: spegel: containerdSock: /run/containerd/containerd.sock diff --git a/bootstrap/templates/kubernetes/apps/network/cloudflared/app/helmrelease.yaml.j2 b/bootstrap/templates/kubernetes/apps/network/cloudflared/app/helmrelease.yaml.j2 index 0a515b4c5..c188ee70b 100644 --- a/bootstrap/templates/kubernetes/apps/network/cloudflared/app/helmrelease.yaml.j2 +++ b/bootstrap/templates/kubernetes/apps/network/cloudflared/app/helmrelease.yaml.j2 @@ -20,8 +20,6 @@ spec: cleanupOnFail: true remediation: retries: 3 - uninstall: - keepHistory: false values: controllers: main: diff --git a/bootstrap/templates/kubernetes/apps/network/echo-server/app/helmrelease.yaml.j2 b/bootstrap/templates/kubernetes/apps/network/echo-server/app/helmrelease.yaml.j2 index 95bb9b6b9..7980dc80a 100644 --- a/bootstrap/templates/kubernetes/apps/network/echo-server/app/helmrelease.yaml.j2 +++ b/bootstrap/templates/kubernetes/apps/network/echo-server/app/helmrelease.yaml.j2 @@ -20,8 +20,6 @@ spec: cleanupOnFail: true remediation: retries: 3 - uninstall: - keepHistory: false values: controllers: main: diff --git a/bootstrap/templates/kubernetes/apps/network/external-dns/app/helmrelease.yaml.j2 b/bootstrap/templates/kubernetes/apps/network/external-dns/app/helmrelease.yaml.j2 index 76f904103..336798120 100644 --- a/bootstrap/templates/kubernetes/apps/network/external-dns/app/helmrelease.yaml.j2 +++ b/bootstrap/templates/kubernetes/apps/network/external-dns/app/helmrelease.yaml.j2 @@ -20,8 +20,6 @@ spec: cleanupOnFail: true remediation: retries: 3 - uninstall: - keepHistory: false values: fullnameOverride: *app provider: cloudflare diff --git a/bootstrap/templates/kubernetes/apps/network/ingress-nginx/external/helmrelease.yaml.j2 b/bootstrap/templates/kubernetes/apps/network/ingress-nginx/external/helmrelease.yaml.j2 index 597ccbb8c..001ec0e19 100644 --- a/bootstrap/templates/kubernetes/apps/network/ingress-nginx/external/helmrelease.yaml.j2 +++ b/bootstrap/templates/kubernetes/apps/network/ingress-nginx/external/helmrelease.yaml.j2 @@ -20,8 +20,6 @@ spec: cleanupOnFail: true remediation: retries: 3 - uninstall: - keepHistory: false dependsOn: - name: cloudflared namespace: network diff --git a/bootstrap/templates/kubernetes/apps/network/ingress-nginx/internal/helmrelease.yaml.j2 b/bootstrap/templates/kubernetes/apps/network/ingress-nginx/internal/helmrelease.yaml.j2 index 97134fb5e..ae666a60e 100644 --- a/bootstrap/templates/kubernetes/apps/network/ingress-nginx/internal/helmrelease.yaml.j2 +++ b/bootstrap/templates/kubernetes/apps/network/ingress-nginx/internal/helmrelease.yaml.j2 @@ -21,8 +21,6 @@ spec: cleanupOnFail: true remediation: retries: 3 - uninstall: - keepHistory: false values: fullnameOverride: ingress-nginx-internal controller: diff --git a/bootstrap/templates/kubernetes/apps/network/k8s-gateway/app/helmrelease.yaml.j2 b/bootstrap/templates/kubernetes/apps/network/k8s-gateway/app/helmrelease.yaml.j2 index 4349ac308..421c48d79 100644 --- a/bootstrap/templates/kubernetes/apps/network/k8s-gateway/app/helmrelease.yaml.j2 +++ b/bootstrap/templates/kubernetes/apps/network/k8s-gateway/app/helmrelease.yaml.j2 @@ -20,8 +20,6 @@ spec: cleanupOnFail: true remediation: retries: 3 - uninstall: - keepHistory: false values: fullnameOverride: k8s-gateway domain: "${SECRET_DOMAIN}" diff --git a/bootstrap/templates/kubernetes/apps/openebs-system/openebs/app/helmrelease.yaml.j2 b/bootstrap/templates/kubernetes/apps/openebs-system/openebs/app/helmrelease.yaml.j2 index bf0afcd1f..35eefea81 100644 --- a/bootstrap/templates/kubernetes/apps/openebs-system/openebs/app/helmrelease.yaml.j2 +++ b/bootstrap/templates/kubernetes/apps/openebs-system/openebs/app/helmrelease.yaml.j2 @@ -20,8 +20,6 @@ spec: cleanupOnFail: true remediation: retries: 3 - uninstall: - keepHistory: false values: ndm: enabled: false diff --git a/bootstrap/templates/kubernetes/apps/system-upgrade/k3s/app/plan.yaml.j2 b/bootstrap/templates/kubernetes/apps/system-upgrade/k3s/app/plan.yaml.j2 index 5412ea574..38784cd5a 100644 --- a/bootstrap/templates/kubernetes/apps/system-upgrade/k3s/app/plan.yaml.j2 +++ b/bootstrap/templates/kubernetes/apps/system-upgrade/k3s/app/plan.yaml.j2 @@ -45,6 +45,6 @@ spec: operator: DoesNotExist prepare: image: rancher/k3s-upgrade - args: ["prepare", "server"] + args: ["prepare", "controllers"] upgrade: image: rancher/k3s-upgrade diff --git a/bootstrap/templates/kubernetes/apps/system-upgrade/system-upgrade-controller/app/helmrelease.yaml.j2 b/bootstrap/templates/kubernetes/apps/system-upgrade/system-upgrade-controller/app/helmrelease.yaml.j2 index f7718c38c..2d86e7b9b 100644 --- a/bootstrap/templates/kubernetes/apps/system-upgrade/system-upgrade-controller/app/helmrelease.yaml.j2 +++ b/bootstrap/templates/kubernetes/apps/system-upgrade/system-upgrade-controller/app/helmrelease.yaml.j2 @@ -20,8 +20,6 @@ spec: cleanupOnFail: true remediation: retries: 3 - uninstall: - keepHistory: false values: controllers: main: @@ -30,7 +28,7 @@ spec: main: image: repository: docker.io/rancher/system-upgrade-controller - tag: v0.13.3 + tag: v0.13.4 env: SYSTEM_UPGRADE_CONTROLLER_DEBUG: false SYSTEM_UPGRADE_CONTROLLER_THREADS: 2 diff --git a/bootstrap/templates/kubernetes/apps/system-upgrade/system-upgrade-controller/app/kustomization.yaml.j2 b/bootstrap/templates/kubernetes/apps/system-upgrade/system-upgrade-controller/app/kustomization.yaml.j2 index f1935facc..49f355119 100644 --- a/bootstrap/templates/kubernetes/apps/system-upgrade/system-upgrade-controller/app/kustomization.yaml.j2 +++ b/bootstrap/templates/kubernetes/apps/system-upgrade/system-upgrade-controller/app/kustomization.yaml.j2 @@ -3,6 +3,6 @@ apiVersion: kustomize.config.k8s.io/v1beta1 kind: Kustomization resources: # renovate: datasource=github-releases depName=rancher/system-upgrade-controller - - https://github.com/rancher/system-upgrade-controller/releases/download/v0.13.3/crd.yaml + - https://github.com/rancher/system-upgrade-controller/releases/download/v0.13.4/crd.yaml - helmrelease.yaml - rbac.yaml diff --git a/config.sample.yaml b/config.sample.yaml index 309daa7c7..890f11d34 100644 --- a/config.sample.yaml +++ b/config.sample.yaml @@ -49,11 +49,12 @@ bootstrap_node_default_gateway: "" # (Required) Use only 1, 3 or more ODD number of controller nodes, recommended is 3 # Worker nodes are optional bootstrap_node_inventory: [] - # - name: "" # Name of the node (must match [a-z0-9-\.]+) - # address: "" # IP address of the node - # controller: true # (Required) Set to true if this is a controller node - # ssh_user: "" # (Required: k3s) SSH username of the node - # talos_disk: "" # (Required: Talos) Device path or serial number of the disk for this node + # - name: "" # (Required) Name of the node (must match [a-z0-9-\.]+) + # address: "" # (Required) IP address of the node + # controller: true # (Required) Set to true if this is a controller node + # ssh_user: "" # (Required: k3s) SSH username of the node + # talos_disk: "" # (Required: Talos) Device path or serial number of the disk for this node + # ssh_key: "" # (Optional: k3s) Set specific SSH key for this node # ... # (Optional) The DNS server to use for the cluster, this can be an existing