shwstppr commented on issue #8265: URL: https://github.com/apache/cloudstack/issues/8265#issuecomment-1827395167
@ahmadamirahmadi007 from what I can understand from code the cloudstack-secret is auto generated based on the k8s cluster owner account, project and env details. I don't think APIs provide an option to provision custom cloudstack-secret to a custom file. I guess you can your your custom secret by running following on your control node, ``` /opt/bin/kubectl -n kube-system create secret generic cloudstack-secret --from-file=<FILE_PATH> ``` Appropriate provisioning must be done at CloudStack end for API/secret key used in your file. PS: I've not tested this -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
