Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update firewall resources to use jump instead of action; require puppetlabs/firewall 7.x #78

Merged
merged 2 commits into from
Jan 18, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions manifests/node/kubelet.pp
Original file line number Diff line number Diff line change
Expand Up @@ -295,9 +295,9 @@
include firewall

firewall { '100 allow kubelet access':
dport => 10250,
proto => 'tcp',
action => 'accept',
dport => 10250,
proto => 'tcp',
jump => 'accept',
}
}
default: {}
Expand Down
6 changes: 3 additions & 3 deletions manifests/server/apiserver.pp
Original file line number Diff line number Diff line change
Expand Up @@ -325,9 +325,9 @@
include firewall

firewall { '100 allow k8s apiserver access':
dport => 6443,
proto => 'tcp',
action => 'accept',
dport => 6443,
proto => 'tcp',
jump => 'accept',
}
}
default: {}
Expand Down
12 changes: 6 additions & 6 deletions manifests/server/etcd.pp
Original file line number Diff line number Diff line change
Expand Up @@ -188,14 +188,14 @@
include firewall

firewall { '100 allow etcd server access':
dport => 2379,
proto => 'tcp',
action => 'accept',
dport => 2379,
proto => 'tcp',
jump => 'accept',
}
firewall { '100 allow etcd client access':
dport => 2380,
proto => 'tcp',
action => 'accept',
dport => 2380,
proto => 'tcp',
jump => 'accept',
}
}
default: {}
Expand Down
2 changes: 1 addition & 1 deletion metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
},
{
"name": "puppetlabs-firewall",
"version_requirement": ">= 4.0.0 < 7.0.0"
"version_requirement": ">= 7.0.0 < 8.0.0"
},
{
"name": "puppet-firewalld",
Expand Down