Skip to content

feat(http_proxy_config): Add http_proxy_config#435

Closed
isantospardo wants to merge 4 commits intoAzure:mainfrom
isantospardo:feat/add-http_proxy_config
Closed

feat(http_proxy_config): Add http_proxy_config#435
isantospardo wants to merge 4 commits intoAzure:mainfrom
isantospardo:feat/add-http_proxy_config

Conversation

@isantospardo
Copy link
Copy Markdown
Contributor

Describe your changes

Adds a HTTP(S) proxy configuration within this module like described in the upstream Terraform Kubernetes Cluster resource.

This feature is currently not implemented yet and it would let us configure a HTTP(s) proxy for our AKS nodes with a customer CA as well.

You can have a look on a fork which enabled it, please see here.

We are working on a PR already and it will be linked to this issue asap.

Thanks for your understanding and time.

Issue number

#434

Checklist before requesting a review

  • The pr title can be used to describe what this pr did in CHANGELOG.md file
  • I have executed pre-commit on my machine
  • I have passed pr-check on my machine

Fixes: #434

@vmaillot vmaillot mentioned this pull request Aug 29, 2023
1 task
@zioproto
Copy link
Copy Markdown
Contributor

@zioproto
Copy link
Copy Markdown
Contributor

@isantospardo please run pre-commit and pr-check steps like described in the README file.

https://github.com/Azure/terraform-azurerm-aks#pre-commit--pr-check--test

@isantospardo isantospardo force-pushed the feat/add-http_proxy_config branch from 89c901e to 385b210 Compare August 29, 2023 12:54
@isantospardo
Copy link
Copy Markdown
Contributor Author

@isantospardo please run pre-commit and pr-check steps like described in the README file.

https://github.com/Azure/terraform-azurerm-aks#pre-commit--pr-check--test

Done, thanks for the quick note :)

@isantospardo
Copy link
Copy Markdown
Contributor Author

@microsoft-github-policy-service agree

@isantospardo
Copy link
Copy Markdown
Contributor Author

@jiaweitao001 could you have a look at this PR?

Copy link
Copy Markdown
Member

@lonegunmanb lonegunmanb left a comment

Choose a reason for hiding this comment

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

Thanks @isantospardo for opening this pr, some review comments, and I'm afraid that we might need to defer this pr to our next major version, but I think it could be merged and released in one or two months.

Comment thread main.tf Outdated
Comment thread variables.tf Outdated
Comment thread variables.tf Outdated
Comment thread variables.tf
@isantospardo
Copy link
Copy Markdown
Contributor Author

Thanks @isantospardo for opening this pr, some review comments, and I'm afraid that we might need to defer this pr to our next major version, but I think it could be merged and released in one or two months.

Thanks a lot for the comments, I just updated the PR, and thanks for the time estimation.

Copy link
Copy Markdown
Member

@lonegunmanb lonegunmanb left a comment

Choose a reason for hiding this comment

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

Thanks @isantospardo for the update, only one comment.

Btw, I've merged a pr to update the readme file, so your pr contains a conflict with readme file now, would you please update your pr by rebase from the latest main branch and try again? Thanks a lot!

Comment thread main.tf Outdated
Copy link
Copy Markdown
Member

@lonegunmanb lonegunmanb left a comment

Choose a reason for hiding this comment

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

Thanks @isantospardo for your update, we have a conflict on the readme file, would you please rebase your branch with the latest main branch and try again? Thanks!

Related to: Azure#434

Signed-off-by: Iago Santos Pardo <iago.santos.pardo@adfinis.com>
Signed-off-by: Iago Santos Pardo <iago.santos.pardo@adfinis.com>
Signed-off-by: Iago Santos Pardo <iago.santos.pardo@adfinis.com>
Signed-off-by: Iago Santos Pardo <iago.santos.pardo@adfinis.com>
@isantospardo isantospardo force-pushed the feat/add-http_proxy_config branch from 6a39ee3 to d509b29 Compare September 8, 2023 08:05
@isantospardo
Copy link
Copy Markdown
Contributor Author

Thanks @isantospardo for your update, we have a conflict on the readme file, would you please rebase your branch with the latest main branch and try again? Thanks!

Done!

@lonegunmanb
Copy link
Copy Markdown
Member

Thanks @isantospardo for the update, almost LGTM but this pr should be considered as a breaking change, so I'd like to defer this pr to our next major version upgrade (I hope we could make it happened in October).

@lonegunmanb lonegunmanb added this to the 8.0.0 milestone Sep 14, 2023
Comment thread variables.tf
default = null
description = <<-EOT
optional(object({
http_proxy = (Optional) The proxy address to be used when communicating over HTTP. Changing this forces a new resource to be created.
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

"Changing this forces a new resource to be created." is not true anymore.

References:
Azure/AKS#3524
MicrosoftDocs/azure-docs@0bb10c7

This will probably change soon upstream in the provider. Hold before merging.

@lonegunmanb
Copy link
Copy Markdown
Member

I'm closing this pr since I've opened a new one #492 , I've continued @isantospardo's work there. Thanks everyone.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Development

Successfully merging this pull request may close these issues.

Support for http proxy settings

3 participants