Skip to content

Commit

Permalink
Merge pull request #1526 from lsst-it/IT-5614_rke_static_plugin
Browse files Browse the repository at this point in the history
(cluster/yagan) add CNI static plugin
  • Loading branch information
cbarria authored Nov 6, 2024
2 parents f5e4e09 + 82f1933 commit 2ea7c79
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 3 deletions.
1 change: 1 addition & 0 deletions hieradata/cluster/kueyen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ clustershell::groupmembers:
profile::core::ospl::enable_rundir: true
profile::core::k8snode::enable_dhcp: true
tuned::active_profile: "latency-performance"
cni::plugins::enable: ["macvlan", "static"]
nm::connections:
em1: #PXE Boot
content: |
Expand Down
1 change: 1 addition & 0 deletions hieradata/cluster/yagan.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@ clustershell::groupmembers:
profile::core::k8snode::enable_dhcp: true
profile::core::ospl::enable_rundir: true
tuned::active_profile: "latency-performance"
cni::plugins::enable: ["macvlan", "static"]
3 changes: 3 additions & 0 deletions hieradata/common.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,9 @@ lookup_options:
rke2::config:
merge:
strategy: "deep"
cni::plugins::enable:
merge:
strategy: "deep"

timezone::timezone: "UTC"
chrony::cmdport: 0
Expand Down
2 changes: 1 addition & 1 deletion spec/hosts/nodes/kueyen01.dev.lsst.org_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@
is_expected.to contain_class('cni::plugins').with(
version: '1.2.0',
checksum: 'f3a841324845ca6bf0d4091b4fc7f97e18a623172158b72fc3fdcdb9d42d2d37',
enable: ['macvlan']
enable: %w[macvlan static]
)
end

Expand Down
2 changes: 1 addition & 1 deletion spec/hosts/nodes/yagan01.cp.lsst.org_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@
is_expected.to contain_class('cni::plugins').with(
version: '1.2.0',
checksum: 'f3a841324845ca6bf0d4091b4fc7f97e18a623172158b72fc3fdcdb9d42d2d37',
enable: ['macvlan']
enable: %w[macvlan static]
)
end

Expand Down
2 changes: 1 addition & 1 deletion spec/hosts/nodes/yagan11.cp.lsst.org_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
is_expected.to contain_class('cni::plugins').with(
version: '1.2.0',
checksum: 'f3a841324845ca6bf0d4091b4fc7f97e18a623172158b72fc3fdcdb9d42d2d37',
enable: ['macvlan']
enable: %w[macvlan static]
)
end

Expand Down

0 comments on commit 2ea7c79

Please sign in to comment.