Skip to content

Commit

Permalink
Move Name field to ControlPlaneSecretConfig (#437)
Browse files Browse the repository at this point in the history
Signed-off-by: ialidzhikov <[email protected]>
  • Loading branch information
ialidzhikov authored Apr 19, 2022
1 parent 412d355 commit 4666bc3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/controller/controlplane/valuesprovider.go
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,8 @@ func getSecretConfigsFuncs(useTokenRequestor bool) secrets.Interface {
},
},
&secrets.ControlPlaneSecretConfig{
Name: openstack.CSISnapshotValidation,
CertificateSecretConfig: &secrets.CertificateSecretConfig{
Name: openstack.CSISnapshotValidation,
CommonName: openstack.UsernamePrefix + openstack.CSISnapshotValidation,
DNSNames: kutil.DNSNamesForService(openstack.CSISnapshotValidation, clusterName),
CertType: secrets.ServerCert,
Expand Down

0 comments on commit 4666bc3

Please sign in to comment.