-
Notifications
You must be signed in to change notification settings - Fork 4.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support for setting azurerm_kubernetes_cluster
network policy to none
#25597
Comments
@rcskosir could you add a comment as to what's blocking this upstream? |
@stevehipwell The fact that it is in preview is blocking, as the AKS service team doesn't want preview features to be integrated in the |
@aristosvo I'm pretty sure that isn't the case. There are a significant number of preview features integrated into the AKS TF resources and the API used is one of the preview APIs. |
@stevehipwell I understand your confusion, but it is. hashicorp/pandora#3469 (comment) is explaining why. |
@aristosvo that doesn't align with the communication we've had with the AKS team. I only add this to show that there doesn't seem to be a consistent message coming out of Azure. |
@stevehipwell to reiterate on the comment linked by @aristosvo, we have been asked by the AKS Service Team to switch to using a stable API version for the AKS resource. This discussion is currently ongoing and has not reached a resolution yet. If the conclusion is to move to a stable API version, then we will be removing all preview features currently supported in the AKS resource that do not exist in the newest available stable version at the time, in the next major 4.0 release. It's unsettling that this news diverges from the communication you've had with the AKS team. Given the scope and impact of this change and being no longer able to support preview features going forward should the decision fall in favour of only using stable, it would be disconcerting to find out that this wasn't a unanimous desire. Would you be able to reach out to your Azure/AKS contact to get some clarity and to get them to comment here on this issue? At the very least I think direct feedback from the community on how they feel about preview features being removed and no longer supported in the AzureRM provider would be helpful for the AKS team. |
Thanks for the detailed explanation @stephybun. Azure is already significantly harder to operate as IaC than other clouds and the removal of preview support will have a significant impact based on the way Azure currently operates. The only way that this makes sense is if Azure are going to start releasing required functionality as GA rather than using "preview" to abdicate responsibility for quality (of implementation and design) ETC. TL;DR - If functionality can't be accessed by IaC then it might as well not exist. |
CC @phealy |
Seems like the feature is finally available in a stable ARM API. Option Regarding the implementation. Should the provider support transitions for |
@stephybun The feature to uninstall Network Policy is now GA. I was wondering if there are any plans to support this in Terraform soon? |
Is there an existing issue for this?
Community Note
Description
I'd like to be able to uninstall the network policy for an AKS cluster.
New or Affected Resource(s)/Data Source(s)
azurerm_kubernetes_cluster
Potential Terraform Configuration
References
The text was updated successfully, but these errors were encountered: