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

Skip setting proxy on subscription module, if satellite is part of no_proxy #2664

Merged
merged 1 commit into from
Nov 16, 2023

Conversation

vignesh-goutham
Copy link
Member

Description of changes:
Ansible Redhat subscription module does not support a no_proxy field. If the user wants to use proxy, but wants to avoid using proxy to access the Redhat Satellite for registration, they can do so by providing the satellite hostname on the provider configuration json using the no_proxy field.

This change, checks if the redhat satellite hostname matches with one of the no_proxy endpoints and if so, skips setting proxy on the subscription module.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@eks-distro-bot eks-distro-bot added the size/M Denotes a PR that changes 30-99 lines, ignoring generated files. label Nov 16, 2023
@vignesh-goutham
Copy link
Member Author

/approve

@eks-distro-bot
Copy link
Collaborator

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: vignesh-goutham

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@eks-distro-bot eks-distro-bot merged commit 05d983e into aws:main Nov 16, 2023
@vignesh-goutham
Copy link
Member Author

/cherrypick release-0.18

@eks-distro-pr-bot
Copy link
Contributor

@vignesh-goutham: new pull request created: #2667

In response to this:

/cherrypick release-0.18

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved lgtm size/M Denotes a PR that changes 30-99 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants