Skip to content

Commit

Permalink
Adds namespaces for the webhook service and webhook secret. (bitnami#…
Browse files Browse the repository at this point in the history
…18221)

Without these namespace inclusions, deploying using the --namespace flag to set
a non-default namespace does not work, as the controller pod cannot find the
webhook and secret but references to these resources are correctly updated
to include the new namespace.

Signed-off-by: Gwyn <[email protected]>
  • Loading branch information
gwynforthewyn authored Aug 7, 2023
1 parent a6e91d3 commit 53832c2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion bitnami/metallb/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 30,4 @@ maintainers:
name: metallb
sources:
- https://github.com/bitnami/charts/tree/main/bitnami/metallb
version: 4.6.0
version: 4.6.1
2 changes: 2 additions & 0 deletions bitnami/metallb/templates/controller/webhooks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 153,7 @@ apiVersion: v1
kind: Service
metadata:
name: metallb-webhook-service
namespace: {{ include "common.names.namespace" . | quote }}
labels: {{- include "common.labels.standard" . | nindent 4 }}
spec:
ports:
Expand All @@ -166,4 167,5 @@ apiVersion: v1
kind: Secret
metadata:
name: webhook-server-cert
namespace: {{ include "common.names.namespace" . | quote }}
labels: {{- include "common.labels.standard" . | nindent 4 }}

0 comments on commit 53832c2

Please sign in to comment.