Fix docs for kubernetes apt variables.

This commit is contained in:
Jeff Geerling 2024-03-05 22:11:54 -06:00
parent 9dec31f3a6
commit 1ac324792d

View File

@ -140,9 +140,9 @@ kubernetes_ignore_preflight_errors: 'all'
Options passed to `kubeadm init` when initializing the Kubernetes control plane. The `kubernetes_apiserver_advertise_address` defaults to `ansible_default_ipv4.address` if it's left empty. Options passed to `kubeadm init` when initializing the Kubernetes control plane. The `kubernetes_apiserver_advertise_address` defaults to `ansible_default_ipv4.address` if it's left empty.
```yaml ```yaml
kubernetes_apt_release_channel: main kubernetes_apt_release_channel: "stable"
kubernetes_apt_repository: "deb http://apt.kubernetes.io/ kubernetes-xenial {{ kubernetes_apt_release_channel }}" kubernetes_apt_keyring_file: "/etc/apt/keyrings/kubernetes-apt-keyring.asc"
kubernetes_apt_ignore_key_error: false kubernetes_apt_repository: "deb [signed-by={{ kubernetes_apt_keyring_file }}] https://pkgs.k8s.io/core:/{{ kubernetes_apt_release_channel }}:/v{{ kubernetes_version }}/deb/ /"
``` ```
Apt repository options for Kubernetes installation. Apt repository options for Kubernetes installation.