Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

feat: Global HTTP proxy support #2858

Merged
merged 31 commits into from
Jan 12, 2022
Merged

feat: Global HTTP proxy support #2858

merged 31 commits into from
Jan 12, 2022

Conversation

astefanutti
Copy link
Member

@astefanutti astefanutti commented Jan 7, 2022

This PR applies the HTTP proxy configuration, provided by users, or system-wide controllers, via the HTTP_PROXY, HTTPS_PROXY and NO_PROXY environment variables, to all the workloads managed by the Camel K operator.

In order to configure the Maven processes accordingly, this PR rationalises the management of the user vs. platform Maven settings. The later is now generated from the IntegrationPlatform and other environment variables, into global settings, while the user settings are left untouched. The merging of both settings is delegated to Maven, thus relying on its de-facto standard mechanism.

Fixes #2777
Fixes #1402

Release Note

feat: Global HTTP proxy support

@astefanutti astefanutti added the kind/feature New feature or request label Jan 7, 2022
Copy link
Contributor

@squakez squakez left a comment

Choose a reason for hiding this comment

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

Great work! I've added some minor comments to the review. One last thing, I'd like to see some little documentation reflected. This is a nice user feature and we should not miss to document how to use it.

@astefanutti astefanutti added the status/wip Work in progress label Jan 10, 2022
@squakez
Copy link
Contributor

squakez commented Jan 10, 2022

Great work! I've added some minor comments to the review. One last thing, I'd like to see some little documentation reflected. This is a nice user feature and we should not miss to document how to use it.

Sorry, I did not read the TODO list :) I'll have a further look when complete

@astefanutti astefanutti removed the status/wip Work in progress label Jan 12, 2022
@astefanutti
Copy link
Member Author

Great work! I've added some minor comments to the review. One last thing, I'd like to see some little documentation reflected. This is a nice user feature and we should not miss to document how to use it.

Sorry, I did not read the TODO list :) I'll have a further look when complete

@squakez this is ready in case you want to have another look.

@astefanutti astefanutti mentioned this pull request Jan 12, 2022
Copy link
Contributor

@squakez squakez left a comment

Choose a reason for hiding this comment

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

Great work! Good to go for me!

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
kind/feature New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

user provided maven setting are overridden by the camel-k operator Honor cluster PROXY settings
2 participants