Skip to content

Commit

Permalink
- added patches in vpcless flavors to delete the firewallRef
Browse files Browse the repository at this point in the history
  • Loading branch information
prajwalvathreya committed Sep 3, 2024
1 parent 04759dc commit 3d15f1e
Show file tree
Hide file tree
Showing 5 changed files with 35 additions and 0 deletions.
7 changes: 7 additions & 0 deletions templates/flavors/k3s/full-vpcless/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -171,3 +171,10 @@ patches:
kind: LinodeFirewall
metadata:
name: ${CLUSTER_NAME}
- target:
group: infrastructure.cluster.x-k8s.io
version: v1alpha2
kind: LinodeMachineTemplate
patch: |-
- op: remove
path: /spec/template/spec/firewallRef
7 changes: 7 additions & 0 deletions templates/flavors/k3s/vpcless/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -108,3 +108,10 @@ patches:
kind: LinodeFirewall
metadata:
name: ${CLUSTER_NAME}
- target:
group: infrastructure.cluster.x-k8s.io
version: v1alpha2
kind: LinodeMachineTemplate
patch: |-
- op: remove
path: /spec/template/spec/firewallRef
7 changes: 7 additions & 0 deletions templates/flavors/kubeadm/full-vpcless/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -198,3 +198,10 @@ patches:
kind: LinodeFirewall
metadata:
name: ${CLUSTER_NAME}
- target:
group: infrastructure.cluster.x-k8s.io
version: v1alpha2
kind: LinodeMachineTemplate
patch: |-
- op: remove
path: /spec/template/spec/firewallRef
7 changes: 7 additions & 0 deletions templates/flavors/kubeadm/vpcless/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -125,3 +125,10 @@ patches:
kind: LinodeFirewall
metadata:
name: ${CLUSTER_NAME}
- target:
group: infrastructure.cluster.x-k8s.io
version: v1alpha2
kind: LinodeMachineTemplate
patch: |-
- op: remove
path: /spec/template/spec/firewallRef
7 changes: 7 additions & 0 deletions templates/flavors/rke2/vpcless/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -98,3 +98,10 @@ patches:
kind: LinodeFirewall
metadata:
name: ${CLUSTER_NAME}
- target:
group: infrastructure.cluster.x-k8s.io
version: v1alpha2
kind: LinodeMachineTemplate
patch: |-
- op: remove
path: /spec/template/spec/firewallRef

0 comments on commit 3d15f1e

Please sign in to comment.