Skip to content

Commit

Permalink
Revert "Fix cilium to use k3s paths for binPath and confPath" (#1388)
Browse files Browse the repository at this point in the history
  • Loading branch information
onedr0p authored Mar 26, 2024
1 parent 94cffb4 commit d3a4b10
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 13 deletions.
2 changes: 1 addition & 1 deletion bootstrap/templates/ansible/playbooks/cluster-nuke.yaml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
loop: ["filter", "nat", "mangle", "raw"]
- name: Networking | Delete CNI directory
ansible.builtin.file:
path: /var/lib/rancher/k3s/agent/etc/cni/net.d
path: /etc/cni/net.d
state: absent

- name: Check to see if k3s-killall.sh exits
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,7 @@ cgroup:
hostRoot: /sys/fs/cgroup
cluster:
id: 1
name: "#{ bootstrap_cluster_name|default('home-kubernetes', true) }#"
#% if bootstrap_distribution in ["k3s"] %#
cni:
binPath: /var/lib/rancher/k3s/data/current/bin
confPath: /var/lib/rancher/k3s/agent/etc/cni/net.d
#% endif %#
name: #{ bootstrap_cluster_name|default('home-kubernetes', true) }#
containerRuntime:
integration: containerd
#% if bootstrap_distribution in ["k3s"] %#
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,7 @@ cgroup:
hostRoot: /sys/fs/cgroup
cluster:
id: 1
name: "#{ bootstrap_cluster_name|default('home-kubernetes', true) }#"
#% if bootstrap_distribution in ["k3s"] %#
cni:
binPath: /var/lib/rancher/k3s/data/current/bin
confPath: /var/lib/rancher/k3s/agent/etc/cni/net.d
#% endif %#
name: #{ bootstrap_cluster_name|default('home-kubernetes', true) }#
containerRuntime:
integration: containerd
#% if bootstrap_distribution in ["k3s"] %#
Expand Down

0 comments on commit d3a4b10

Please sign in to comment.