https://pulumi.com logo
Title
p

proud-pizza-80589

06/23/2021, 8:15 AM
How do you pass --aks-custom-headers when creating an AKS cluster? To enable the CSI storage driver. https://docs.microsoft.com/en-us/azure/aks/csi-storage-drivers (azure native)
1
t

tall-librarian-49374

06/23/2021, 8:22 AM
Do you know what this command does in terms of ARM properties?
p

proud-pizza-80589

06/23/2021, 8:23 AM
Not a clue, was looking around here https://github.com/terraform-providers/terraform-provider-azurerm/issues/6793 and found that it is aparently a http header
But it is beyond me how i get to that to set it
sorry, strike that last one, it is something specific for the Traffic Manager endpoint.
p

proud-pizza-80589

06/23/2021, 8:37 AM
no, that is something for windows. I need the CSI plugins (the in tree storage plugins are scheduled for deprecating) to enable VolumeSnaphots. In EKS it is some config and a helm chart, on gke a boolean and in AKS it is setting those custom headers. (they are used for os level settings afaik). there is no way to modify the http request to the azure api?
t

tall-librarian-49374

06/23/2021, 8:40 AM
I think this isn’t supported https://github.com/Azure/AKS/issues/1638
The CLI command is a preview extension with some non-ARM voodoo in it https://github.com/Azure/azure-cli-extensions/pull/1686
p

proud-pizza-80589

06/23/2021, 8:42 AM
hmm, too bad
t

tall-librarian-49374

06/23/2021, 8:44 AM
Feel free to add a comment to that issue 😉
p

proud-pizza-80589

06/23/2021, 8:56 AM
thx!
i think the only way to do this consistently across cluster providers is using rook https://rook.io