Skip to content

Commit

Permalink
Revert change regarding "system:cloud-controller-manager" secret
Browse files Browse the repository at this point in the history
  • Loading branch information
NotTheEvilOne committed Feb 21, 2022
1 parent 157e864 commit 6505dca
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions pkg/controller/controlplane/valuesprovider.go
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,21 @@ func getSecretConfigsFuncs(useTokenRequestor bool) secrets.Interface {
if !useTokenRequestor {
out = append(
out,
&secrets.ControlPlaneSecretConfig{
CertificateSecretConfig: &secrets.CertificateSecretConfig{
Name: ionos.CloudControllerManagerName,
CommonName: "system:cloud-controller-manager",
Organization: []string{user.SystemPrivilegedGroup},
CertType: secrets.ClientCert,
SigningCA: cas[v1beta1constants.SecretNameCACluster],
},
KubeConfigRequests: []secrets.KubeConfigRequest{
{
ClusterName: clusterName,
APIServerHost: v1beta1constants.DeploymentNameKubeAPIServer,
},
},
},
&secrets.ControlPlaneSecretConfig{
CertificateSecretConfig: &secrets.CertificateSecretConfig{
Name: ionos.CSIAttacherName,
Expand Down

0 comments on commit 6505dca

Please sign in to comment.