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

Auto-assign NodePort port by default rather than hardcoding a default #1231

Merged
merged 1 commit into from Feb 10, 2023

Conversation

rooftopcellist
Copy link
Member

SUMMARY

Previously, there was no way to auto-assign a port by default which led to conflicts with other deployments at times. The nodeport_port param can still be used to specify a port if desired

With these changes, you can apply a simple AWX CR like this:

---
apiVersion: awx.ansible.com/v1beta1
kind: AWX
metadata:
  name: awx-demo
spec:
  service_type: nodeport

And the nodeport gets auto-assigned:

[chadams@fedora awx-operator]$ oc get -n awx svc awx-demo-service -o yaml | grep nodePort
    nodePort: 30390
ISSUE TYPE
  • New or Enhanced Feature

… value

 - previously, there was no way to auto-assign a port by default
   which led to conflicts with other deployments at times
 - nodeport_port param can still be used to specify a port if desired
@shanemcd shanemcd merged commit 6b10a81 into ansible:devel Feb 10, 2023
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.

None yet

2 participants