Skip to content

Commit

Permalink
inherit from dual-stack flavor for cilium-bgp-lb
Browse files Browse the repository at this point in the history
  • Loading branch information
AshleyDumaine committed Jun 5, 2024
1 parent b92a01d commit 6b28152
Showing 1 changed file with 1 addition and 60 deletions.
61 changes: 1 addition & 60 deletions templates/flavors/kubeadm/cilium-bgp-lb/kustomization.yaml
Original file line number Diff line number Diff line change
@@ -1,71 +1,12 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- ../vpcless
- ../dual-stack
- machineDeployment.yaml
- linodeMachineTemplate.yaml
- kubeadmConfigTemplate.yaml

patches:
- target:
group: cluster.x-k8s.io
version: v1beta1
kind: Cluster
patch: |-
apiVersion: cluster.x-k8s.io/v1beta1
kind: Cluster
metadata:
name: ${CLUSTER_NAME}
spec:
clusterNetwork:
pods:
cidrBlocks:
- 10.192.0.0/10
- fd02::/80
services:
cidrBlocks:
- 10.96.0.0/12
- fd03::/108
- target:
group: controlplane.cluster.x-k8s.io
version: v1beta1
kind: KubeadmControlPlane
patch: |-
apiVersion: controlplane.cluster.x-k8s.io/v1beta1
kind: KubeadmControlPlane
metadata:
name: ${CLUSTER_NAME}-control-plane
spec:
kubeadmConfigSpec:
clusterConfiguration:
controllerManager:
extraArgs:
node-cidr-mask-size-ipv6: "96"
- target:
kind: HelmChartProxy
name: .*-cilium
patch: |-
- op: replace
path: /spec/valuesTemplate
value: |
bgpControlPlane:
enabled: true
policyAuditMode: ${FW_AUDIT_ONLY:=true}
hostFirewall:
enabled: true
extraConfig:
allow-localhost: policy
ipam:
mode: kubernetes
ipv6:
enabled: true
k8s:
requireIPv4PodCIDR: true
hubble:
relay:
enabled: true
ui:
enabled: true
- target:
kind: HelmChartProxy
name: .*-linode-cloud-controller-manager
Expand Down

0 comments on commit 6b28152

Please sign in to comment.