Skip to content

Commit

Permalink
Merge pull request #78 from rwaffen/firewall
Browse files Browse the repository at this point in the history
update firewall resources to use jump instead of action
  • Loading branch information
bastelfreak authored Jan 18, 2024
2 parents 8ba97d3 + 89c6207 commit b7768dc
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 13 deletions.
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

0 comments on commit b7768dc

Please sign in to comment.