Skip to content

Commit b29f9da

Browse files
committed
machines/azure: use secrets from openshift-machine-api for machines
machine-api-operator moved the machine-controllers to only allow access to secrets in openshift-machine-api namespace [1] machine-api-operator PR [2], creates a secret `openshift-machine-api/azure-cloud-credentials` that can be used by azure machines [1]: openshift/machine-api-operator@df49930 [2]: openshift/machine-api-operator#325
1 parent cb775e4 commit b29f9da

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pkg/asset/machines/azure/machines.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ import (
1616
)
1717

1818
const (
19-
cloudsSecret = "azure-credentials"
20-
cloudsSecretNamespace = "kube-system"
19+
cloudsSecret = "azure-cloud-credentials"
20+
cloudsSecretNamespace = "openshift-machine-api"
2121
)
2222

2323
// Machines returns a list of machines for a machinepool.

0 commit comments

Comments
 (0)