cli: deploy cinder as OpenStack CSI plugin

This commit is contained in:
Moritz Eckert 2023-05-08 17:44:06 +00:00
parent 9607f01510
commit 6252193879
6 changed files with 64 additions and 2 deletions

View file

@ -507,6 +507,10 @@ func (k *KubeWrapper) setupExtraVals(ctx context.Context, serviceConfig constell
"yawolNetworkID": networkIDs[0],
"yawolAPIHost": fmt.Sprintf("https://%s:%d", serviceConfig.loadBalancerIP, constants.KubernetesPort),
}
cinderIni := creds.CloudINI().CinderCSIConfiguration()
extraVals["cinder-config"] = map[string]any{
"secretData": cinderIni,
}
}
return extraVals, nil
}