-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[feat] adding linodeFirewall to clusters (#496)
* - defined the LinodeFirewall resource in linodeFirewall.yaml - added the resource linodeFirewall.yaml in kustomization.yaml * - added firewallRef to template * - updated firewallRef definition - added params apiVersion and kind * - updated inboundPolicy - removed inboundRules * - re-added the newline at EOF in kustomization.yaml - added newline at EOF in linodeFirewall.yaml - reset the comment lines in linodeMachineTemplate.yaml - added back the inbound rules * - updated /24 to /8 * - added patches in vpcless flavors to delete the LinodeFirewall * - added patches in vpcless flavors to delete the firewallRef
- Loading branch information
1 parent
979ca0d
commit 9889886
Showing
9 changed files
with
119 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,3 +7,4 @@ resources: | |
- linodeMachineTemplate.yaml | ||
- machineDeployment.yaml | ||
- secret.yaml | ||
- linodeFirewall.yaml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
--- | ||
apiVersion: infrastructure.cluster.x-k8s.io/v1alpha2 | ||
kind: LinodeFirewall | ||
metadata: | ||
labels: | ||
cluster.x-k8s.io/cluster-name: ${CLUSTER_NAME} | ||
name: ${CLUSTER_NAME} | ||
spec: | ||
enabled: ${LINODE_FIREWALL_ENABLED:=false} | ||
inboundPolicy: DROP | ||
inboundRules: | ||
- action: ACCEPT | ||
label: intra-cluster | ||
ports: "1-65535" | ||
protocol: "TCP" | ||
addresses: | ||
ipv4: | ||
- "10.0.0.0/8" | ||
- action: ACCEPT | ||
addresses: | ||
ipv4: | ||
- 0.0.0.0/0 | ||
ipv6: | ||
- ::/0 | ||
ports: "6443" | ||
protocol: TCP | ||
label: inbound-api-server |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters