Skip to content

Commit

Permalink
Update calico and flannel on canal and added regex for the interace
Browse files Browse the repository at this point in the history
Signed-off-by: Roberto Bonafiglia <[email protected]>
  • Loading branch information
rbrtbnfgl committed Aug 2, 2023
1 parent 6d59d81 commit fc3de09
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 8 deletions.
4 changes: 2 additions & 2 deletions packages/rke2-canal/charts/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
apiVersion: v1
name: rke2-canal
description: Install Canal Network Plugin.
version: v3.25.1-build20230512
appVersion: v3.25.1
version: v3.26.1-build20230802
appVersion: v3.26.1
home: https://www.projectcalico.org/
keywords:
- canal
Expand Down
2 changes: 2 additions & 0 deletions packages/rke2-canal/charts/templates/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ data:
# default route.
canal_iface: {{ .Values.flannel.iface | quote }}

canal_iface_regex: {{ .Values.flannel.regexIface | quote }}

# Whether or not to masquerade traffic to destinations not within
# the pod network.
masquerade: {{ .Values.calico.masquerade | quote }}
Expand Down
5 changes: 5 additions & 0 deletions packages/rke2-canal/charts/templates/daemonset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -256,6 +256,11 @@ spec:
configMapKeyRef:
name: {{ .Release.Name }}-config
key: canal_iface
- name: FLANNELD_IFACE_REGEX
valueFrom:
configMapKeyRef:
name: {{ .Release.Name }}-config
key: canal_iface_regex
- name: FLANNELD_IP_MASQ
valueFrom:
configMapKeyRef:
Expand Down
12 changes: 7 additions & 5 deletions packages/rke2-canal/charts/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,13 @@ flannel:
# kube-flannel image
image:
repository: rancher/hardened-flannel
tag: v0.22.0-build20230612
tag: v0.22.1-build20230802
# The interface used by canal for host <-> host communication.
# If left blank, then the interface is chosen using the node's
# default route.
iface: ""
# A regulare expression used to match the interface
regexIface: ""
# kube-flannel command arguments
args:
- "--ip-masq"
Expand Down Expand Up @@ -59,19 +61,19 @@ calico:
# CNI installation image.
cniImage:
repository: rancher/hardened-calico
tag: v3.25.1-build20230607
tag: v3.26.1-build20230802
# Canal node image.
nodeImage:
repository: rancher/hardened-calico
tag: v3.25.1-build20230607
tag: v3.26.1-build20230802
# Flexvol Image.
flexvolImage:
repository: rancher/hardened-calico
tag: v3.25.1-build20230607
tag: v3.26.1-build20230802
# kubecontroller image
kubeControllerImage:
repository: rancher/hardened-calico
tag: v3.25.1-build20230607
tag: v3.26.1-build20230802

# Datastore type for canal. It can be either kuberentes or etcd.
datastoreType: kubernetes
Expand Down
2 changes: 1 addition & 1 deletion packages/rke2-canal/package.yaml
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
url: local
packageVersion: 04
packageVersion: 00

0 comments on commit fc3de09

Please sign in to comment.