Skip to content

Commit

Permalink
Add ignore preflight errors to base template as it applies to all clu…
Browse files Browse the repository at this point in the history
…sters < version 1.23, not just kube-vip ones.

Signed-off-by: Chris Privitere <cprivite@users.noreply.github.com>
  • Loading branch information
cprivitere authored and davidspek committed Apr 11, 2022
1 parent d1b8a2b commit d552aad
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 6 deletions.
3 changes: 2 additions & 1 deletion templates/cluster-template-crs-cni.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,8 @@ spec:
provider-id: equinixmetal://{{ `{{ v1.instance_id }}` }}
joinConfiguration:
nodeRegistration:
ignorePreflightErrors: []
ignorePreflightErrors:
- DirAvailable--etc-kubernetes-manifests
kubeletExtraArgs:
cloud-provider: external
provider-id: equinixmetal://{{ `{{ v1.instance_id }}` }}
Expand Down
3 changes: 2 additions & 1 deletion templates/cluster-template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,8 @@ spec:
provider-id: "equinixmetal://{{ `{{ v1.instance_id }}` }}"
joinConfiguration:
nodeRegistration:
ignorePreflightErrors: []
ignorePreflightErrors:
- DirAvailable--etc-kubernetes-manifests
kubeletExtraArgs:
cloud-provider: external
provider-id: "equinixmetal://{{ `{{ v1.instance_id }}` }}"
Expand Down
4 changes: 0 additions & 4 deletions templates/experimental-kube-vip/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,6 @@ patches:
name: "${CLUSTER_NAME}-control-plane"
spec:
kubeadmConfigSpec:
joinConfiguration:
nodeRegistration:
ignorePreflightErrors:
- DirAvailable--etc-kubernetes-manifests
preKubeadmCommands:
- |
sed -ri '/\sswap\s/s/^#?/#/' /etc/fstab
Expand Down

0 comments on commit d552aad

Please sign in to comment.