Open k0da opened 2 months ago
This issue is currently awaiting triage.
If CAPI Operator contributors determines this is a relevant issue, they will accept it by applying the triage/accepted
label and provide further guidance.
The triage/accepted
label can be added by org members by writing /triage accepted
in a comment.
I did run clusterctl generate
and see secret is created properly
apiVersion: v1
kind: Secret
metadata:
labels:
cluster.x-k8s.io/provider: infrastructure-vsphere
clusterctl.cluster.x-k8s.io: ""
name: capv-manager-bootstrap-credentials
namespace: capv-system
stringData:
credentials.yaml: |-
username: 'foo'
password: 'bar'
type: Opaque
@k0da can you check the secret namespace. The empty one is in capi-system
:
name: capv-manager-bootstrap-credentials
namespace: capi-system
And generated with clusterctl generate
is from capv-system
:
name: capv-manager-bootstrap-credentials
namespace: capv-system
What steps did you take and what happened: [A clear and concise description on how to REPRODUCE the bug.]
Once provider is installed, resulting bootstrap-secret do not contain provided credentials
Which is equal to:
What did you expect to happen: bootstrap-credentials to contain secret data from spec.configSecret
Anything else you would like to add: [Miscellaneous information that will assist in solving the issue.]
Environment:
kubectl version
):/etc/os-release
):/kind bug [One or more /area label. See https://github.com/kubernetes-sigs/cluster-api-operator/labels?q=area for the list of labels]