From 6ad5d1ced1ab8988486716884d1ad2b76f83cb26 Mon Sep 17 00:00:00 2001 From: Travis Glenn Hansen Date: Fri, 21 Jul 2023 14:28:24 -0600 Subject: [PATCH] bump chart, include sha of configmap Signed-off-by: Travis Glenn Hansen --- README.md | 7 ++++++- charts/metallb-node-route-agent/Chart.yaml | 2 +- charts/metallb-node-route-agent/templates/daemonset.yaml | 3 ++- 3 files changed, 9 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 9b8e75f..2cbfe7a 100644 --- a/README.md +++ b/README.md @@ -81,8 +81,13 @@ may end up routing to BGP Peers instead of staying local to the cluster. ``` # 0x14 = 20 in decimal, you may use whatever value you wish however - # mark *connections* coming from the 'outside' world +# +# Should be *before* KUBE-SERVICES +# 1 625 37918 cali-PREROUTING all -- any any anywhere anywhere /* cali:6gwbT8clXdHdC1b1 */ +# 2 1 60 CONNMARK all -- any any anywhere anywhere match-set KUBE-LOAD-BALANCER dst,dst ! match-set cali40masq-ipam-pools src CONNMARK set 0x14 +# 3 537K 47M KUBE-SERVICES all -- any any anywhere anywhere /* kubernetes service portals */ +# iptables -t nat -I PREROUTING \ -m set --match-set KUBE-LOAD-BALANCER dst,dst \ -m set ! --match-set cali40masq-ipam-pools src \ diff --git a/charts/metallb-node-route-agent/Chart.yaml b/charts/metallb-node-route-agent/Chart.yaml index c0e5c2f..43637ef 100644 --- a/charts/metallb-node-route-agent/Chart.yaml +++ b/charts/metallb-node-route-agent/Chart.yaml @@ -15,7 +15,7 @@ type: application # This is the chart version. This version number should be incremented each time you make changes # to the chart and its templates, including the app version. # Versions are expected to follow Semantic Versioning (https://semver.org/) -version: 0.4.2 +version: 0.4.3 # This is the version number of the application being deployed. This version number should be # incremented each time you make changes to the application. Versions are not expected to diff --git a/charts/metallb-node-route-agent/templates/daemonset.yaml b/charts/metallb-node-route-agent/templates/daemonset.yaml index 125373a..ff55358 100644 --- a/charts/metallb-node-route-agent/templates/daemonset.yaml +++ b/charts/metallb-node-route-agent/templates/daemonset.yaml @@ -10,8 +10,9 @@ spec: {{- include "metallb-node-route-agent.selectorLabels" . | nindent 6 }} template: metadata: - {{- with .Values.podAnnotations }} annotations: + checksum/configmap: {{ include (print $.Template.BasePath "/configmap.yaml") . | sha256sum }} + {{- with .Values.podAnnotations }} {{- toYaml . | nindent 8 }} {{- end }} labels: