Skip to content

Commit

Permalink
include the infra namespace as a pod namespace for machine controller…
Browse files Browse the repository at this point in the history
… webhook (#3549)

Signed-off-by: moadqassem <moad.qassem@gmail.com>
Co-authored-by: moadqassem <moad.qassem@gmail.com>
  • Loading branch information
kubermatic-bot and moadqassem authored Jan 31, 2025
1 parent d807014 commit 4cbebbb
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions addons/machinecontroller/webhook.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,12 @@ spec:
value: "{{ .Config.Proxy.HTTPS }}"
- name: NO_PROXY
value: "{{ .Config.Proxy.NoProxy }}"
{{ with .Config.CloudProvider.Kubevirt -}}
{{ with .InfraNamespace }}
- name: POD_NAMESPACE
value: "{{ . }}"
{{ end }}
{{ end }}
{{ .MachineControllerCredentialsEnvVars | indent 12 }}
{{ if .Config.CABundle }}
{{ caBundleEnvVar | indent 12 }}
Expand Down

0 comments on commit 4cbebbb

Please sign in to comment.