Skip to content

Commit eaede02

Browse files
author
Peker Oksuz
committed
fix: webhook failurePolicy Ignore + remove hooks from CRD resources
v0.15.5: - Webhook failurePolicy: Ignore (allows IPAddressPool creation even when controller pod isn't ready yet) - Removed post-install hooks from ipaddresspool/l2advertisement (not needed with Ignore policy) - CRDs still installed by subchart, just no webhook blocking
1 parent 3d030d1 commit eaede02

6 files changed

Lines changed: 41 additions & 20 deletions

File tree

charts/metallb/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,4 @@ name: metallb
1818
sources:
1919
- https://github.com/metallb/metallb
2020
type: application
21-
version: 0.15.4
21+
version: 0.15.5

charts/metallb/templates/ipaddresspool.yaml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,10 @@ metadata:
77
namespace: {{ $.Release.Namespace }}
88
labels:
99
{{- include "metallb.labels" $ | nindent 4 }}
10+
{{- with .annotations }}
1011
annotations:
11-
"helm.sh/hook": post-install,post-upgrade
12-
"helm.sh/hook-weight": "1"
13-
{{- with .annotations }}
1412
{{- toYaml . | nindent 4 }}
15-
{{- end }}
13+
{{- end }}
1614
spec:
1715
addresses:
1816
{{- range .addresses }}

charts/metallb/templates/l2advertisement.yaml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,10 @@ metadata:
77
namespace: {{ $.Release.Namespace }}
88
labels:
99
{{- include "metallb.labels" $ | nindent 4 }}
10+
{{- with .annotations }}
1011
annotations:
11-
"helm.sh/hook": post-install,post-upgrade
12-
"helm.sh/hook-weight": "2"
13-
{{- with .annotations }}
1412
{{- toYaml . | nindent 4 }}
15-
{{- end }}
13+
{{- end }}
1614
spec:
1715
{{- with .ipAddressPools }}
1816
ipAddressPools:

charts/metallb/templates/webhooks.yaml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ webhooks:
1212
name: metallb-webhook-service
1313
namespace: {{ .Release.Namespace }}
1414
path: /validate-metallb-io-v1beta2-bgppeer
15-
failurePolicy: {{ .Values.crds.validationFailurePolicy }}
15+
failurePolicy: Ignore
1616
name: bgppeervalidationwebhook.metallb.io
1717
rules:
1818
- apiGroups:
@@ -32,7 +32,7 @@ webhooks:
3232
name: metallb-webhook-service
3333
namespace: {{ .Release.Namespace }}
3434
path: /validate-metallb-io-v1beta1-ipaddresspool
35-
failurePolicy: {{ .Values.crds.validationFailurePolicy }}
35+
failurePolicy: Ignore
3636
name: ipaddresspoolvalidationwebhook.metallb.io
3737
rules:
3838
- apiGroups:
@@ -52,7 +52,7 @@ webhooks:
5252
name: metallb-webhook-service
5353
namespace: {{ .Release.Namespace }}
5454
path: /validate-metallb-io-v1beta1-bgpadvertisement
55-
failurePolicy: {{ .Values.crds.validationFailurePolicy }}
55+
failurePolicy: Ignore
5656
name: bgpadvertisementvalidationwebhook.metallb.io
5757
rules:
5858
- apiGroups:
@@ -72,7 +72,7 @@ webhooks:
7272
name: metallb-webhook-service
7373
namespace: {{ .Release.Namespace }}
7474
path: /validate-metallb-io-v1beta1-community
75-
failurePolicy: {{ .Values.crds.validationFailurePolicy }}
75+
failurePolicy: Ignore
7676
name: communityvalidationwebhook.metallb.io
7777
rules:
7878
- apiGroups:
@@ -92,7 +92,7 @@ webhooks:
9292
name: metallb-webhook-service
9393
namespace: {{ .Release.Namespace }}
9494
path: /validate-metallb-io-v1beta1-bfdprofile
95-
failurePolicy: {{ .Values.crds.validationFailurePolicy }}
95+
failurePolicy: Ignore
9696
name: bfdprofilevalidationwebhook.metallb.io
9797
rules:
9898
- apiGroups:
@@ -112,7 +112,7 @@ webhooks:
112112
name: metallb-webhook-service
113113
namespace: {{ .Release.Namespace }}
114114
path: /validate-metallb-io-v1beta1-l2advertisement
115-
failurePolicy: {{ .Values.crds.validationFailurePolicy }}
115+
failurePolicy: Ignore
116116
name: l2advertisementvalidationwebhook.metallb.io
117117
rules:
118118
- apiGroups:

index.yaml

Lines changed: 30 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ entries:
77
artifacthub.io/prerelease: "false"
88
apiVersion: v2
99
appVersion: 1.15.1
10-
created: "2026-04-06T22:08:43.153418+03:00"
10+
created: "2026-04-06T22:18:58.78477+03:00"
1111
description: Ingress controller for Kubernetes using NGINX as a reverse proxy
1212
and load balancer
1313
digest: ae41d62f2c58f34bb797bacb4ca4ec4696ec004701d744fb08d5ae52a60e311f
@@ -31,7 +31,32 @@ entries:
3131
metallb:
3232
- apiVersion: v2
3333
appVersion: v0.15.3
34-
created: "2026-04-06T22:08:43.157748+03:00"
34+
created: "2026-04-06T22:18:58.790915+03:00"
35+
dependencies:
36+
- condition: crds.enabled
37+
name: crds
38+
repository: ""
39+
version: 0.15.3
40+
- condition: frrk8s.enabled
41+
name: frr-k8s
42+
repository: https://metallb.github.io/frr-k8s
43+
version: 0.0.21
44+
description: A network load-balancer implementation for Kubernetes using standard
45+
routing protocols
46+
digest: 37214e50f31f846eae79d73d7b1de50fca7104094978adfb614525fb57e8d45c
47+
home: https://metallb.universe.tf
48+
icon: https://metallb.universe.tf/images/logo/metallb-white.png
49+
kubeVersion: '>= 1.19.0-0'
50+
name: metallb
51+
sources:
52+
- https://github.com/metallb/metallb
53+
type: application
54+
urls:
55+
- https://artifactsystems.github.io/rtxstack-plugins/metallb-0.15.5.tgz
56+
version: 0.15.5
57+
- apiVersion: v2
58+
appVersion: v0.15.3
59+
created: "2026-04-06T22:18:58.789209+03:00"
3560
dependencies:
3661
- condition: crds.enabled
3762
name: crds
@@ -56,7 +81,7 @@ entries:
5681
version: 0.15.4
5782
- apiVersion: v2
5883
appVersion: v0.15.3
59-
created: "2026-04-06T22:08:43.15568+03:00"
84+
created: "2026-04-06T22:18:58.787035+03:00"
6085
dependencies:
6186
- condition: crds.enabled
6287
name: crds
@@ -82,12 +107,12 @@ entries:
82107
vsphere-csi:
83108
- apiVersion: v2
84109
appVersion: 2.7.0
85-
created: "2026-04-06T22:08:43.158593+03:00"
110+
created: "2026-04-06T22:18:58.792128+03:00"
86111
description: A Helm chart for vSphere CSI Driver
87112
digest: 4ad49e09c9887e8589e87529dc9309a706f29f5ed3303939319b249ce9d428fe
88113
name: vsphere-csi
89114
type: application
90115
urls:
91116
- https://artifactsystems.github.io/rtxstack-plugins/vsphere-csi-0.2.0.tgz
92117
version: 0.2.0
93-
generated: "2026-04-06T22:08:43.148375+03:00"
118+
generated: "2026-04-06T22:18:58.780244+03:00"

metallb-0.15.5.tgz

41.6 KB
Binary file not shown.

0 commit comments

Comments
 (0)