Skip to content
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

Add support for using application gateway for ingress #116

Closed
wants to merge 1 commit into from

Conversation

wjam
Copy link

@wjam wjam commented Aug 5, 2021

This adds support for using an application gateway for ingressing traffic into the cluster. The Application Gateway Ingress Controller, which will be deployed into the cluster, is granted the Contributor role to modify the gateway as it sees fit.

Note that the controller will need to be granted the Microsoft.Network/publicIPAddresses/read permission on the IP address associated with the gateway for any ingress Kubernetes resources to have their address correctly updated.

This also adds support for setting the O/S disk type to Ephemeral.

Fixes #114 #115

This adds support for using an application gateway for ingressing traffic into the cluster. The Application Gateway Ingress Controller, which will be deployed into the cluster, is granted the `Contributor` role to modify the gateway as it sees fit.

Note that the controller will need to be granted the `Microsoft.Network/publicIPAddresses/read` permission on the IP address associated with the gateway for any `ingress` Kubernetes resources to have their address correctly updated.

This also adds support for setting the O/S disk type to `Ephemeral`.
@ghost
Copy link

ghost commented Aug 5, 2021

CLA assistant check
All CLA requirements met.

@@ -85,6 +87,11 @@ resource "azurerm_kubernetes_cluster" "main" {
}

addon_profile {
ingress_application_gateway {

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should be more robust and include options for creating the application gateway as part of the addon_profile configuration.


count = var.ingress_application_gateway_id == null ? 0 : 1

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This logic causes issues when the application gateway is created as part of a module that calls this as a submodule. Since the apply will be creating the application gateway this "count" depends on Terraform will be unable to determine this count value.

@micgruber
Copy link

What is the status on supporting application gateway for ingress because currently we use the module and need this feature?

@lebenitza
Copy link
Contributor

Ping? We really need the disk type flag.

@nlamirault
Copy link
Contributor

Any news on this feature ?

@github-actions
Copy link
Contributor

MAIN BRANCH PUSH DETECTED DUE TO #241, THIS PR WILL BE UPDATED.

@github-actions
Copy link
Contributor

MAIN BRANCH PUSH DETECTED DUE TO #, THIS PR WILL BE UPDATED.

1 similar comment
@github-actions
Copy link
Contributor

MAIN BRANCH PUSH DETECTED DUE TO #, THIS PR WILL BE UPDATED.

@github-actions
Copy link
Contributor

MAIN BRANCH PUSH DETECTED DUE TO #, THIS PR NEED TO BE UPDATED TO TRIGGER CI.

1 similar comment
@github-actions
Copy link
Contributor

MAIN BRANCH PUSH DETECTED DUE TO #, THIS PR NEED TO BE UPDATED TO TRIGGER CI.

@zioproto
Copy link
Collaborator

This PR is not needed anymore because the changes were implemented in #139

The issue #114 is closed and #115 should be closed already.

@lonegunmanb Please close the PR without merging.

@github-actions
Copy link
Contributor

MAIN BRANCH PUSH DETECTED DUE TO #230, THIS PR NEED TO BE UPDATED TO TRIGGER CI.

@github-actions
Copy link
Contributor

MAIN BRANCH PUSH DETECTED DUE TO #, THIS PR NEED TO BE UPDATED TO TRIGGER CI.

1 similar comment
@github-actions
Copy link
Contributor

MAIN BRANCH PUSH DETECTED DUE TO #, THIS PR NEED TO BE UPDATED TO TRIGGER CI.

@github-actions
Copy link
Contributor

MAIN BRANCH PUSH DETECTED DUE TO #253, THIS PR NEED TO BE UPDATED TO TRIGGER CI.

@github-actions
Copy link
Contributor

MAIN BRANCH PUSH DETECTED DUE TO #, THIS PR NEED TO BE UPDATED TO TRIGGER CI.

@github-actions
Copy link
Contributor

MAIN BRANCH PUSH DETECTED DUE TO #249, THIS PR NEED TO BE UPDATED TO TRIGGER CI.

@lonegunmanb
Copy link
Member

I'm closing this pr since we've added ingress_application_gateway in #139. Thanks for opening this pr @wjam

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Expose os_disk_type as a variable
7 participants