Azure / kubernetes-keyvault-flexvol

Azure keyvault integration with Kubernetes via a Flex Volume
MIT License
253 stars 84 forks source link

Missing Documentation on how to configure for sovereign cloud environments #155

Closed sarndt closed 4 years ago

sarndt commented 4 years ago

Hello,

I would like to use flex-volume backed keyvaults in a different cloud than the "normal" Azure cloud. I saw that issue #15 describes a property called "CloudName" for usage to specify which cloud should be used.

Is this option already usable? If so, where do I need to add it, and what are the possible values? If it is not usable, please also state this, as we're currently planning to use this feature and will have to look for alternatives if it is not available for all necessary environments.

keyvault-flexvolumes version: 0.0.10

EDIT: Adding the "cloudname" configuration option now yields the following, different error:

main.go:82] [error] : failed to get vault: failed to get vault <vault-name>: keyvault.VaultsClient#Get: Failure responding to request: StatusCode=404 -- Original Error: autorest/azure: Service returned an error. Status=404 Code="SubscriptionNotFound" Message="The subscription ‘********-****-****-****-***********' could not be found."

Vault name and subscription ID are correct, CloudName should also be good, so I'm not quite sure what I'm missing here now. I would be thankful for any suggestions of what might be out of order.-

EDIT 2: Upgrading to the current version (0.0.15) fixes the issue described above. I still think it would be a good idea to add documentation regarding the CloudName feature.

sarndt commented 4 years ago

Is anyone alive around here?