Skip to content

Commit

Permalink
update firewall resources to use jump instead of action
Browse files Browse the repository at this point in the history
  • Loading branch information
rwaffen committed Jan 18, 2024
1 parent 8ba97d3 commit d0144b6
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 12 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

0 comments on commit d0144b6

Please sign in to comment.