-
Notifications
You must be signed in to change notification settings - Fork 643
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
Allow the user to set the ingress apiVersion #245
Conversation
@shanemcd lmk if you need any other changes. I'm happy to update this quickly. |
Unfortunately I don't think it will be so simple. When I tried to use this, I saw:
Per the k8s docs, it needs to look like this now:
At which point it will only work for |
I should note that even when I made the above changes I still see the webhook error mentioned in #205 |
Well, we can update the template to switch the spec based on which apiVersion is set, but yea... we will have to wait for the next version of minikube. |
I also removed the 'Closes' from the commit message and PR so it doesn't close 205 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice work 😄
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@bhundven thanks for great work.
I would say that would be nice to have this option also exposed as a hidden
field at https://github.com/ansible/awx-operator/blob/devel/deploy/olm-catalog/awx-operator/manifests/awx-operator.clusterserviceversion.yaml so users can use configure it via UI as well.
Do you mind adding it for future use? You might need to extend the awxs.awx.ansible.com
CDR as well.
But I'm ok if @shanemcd wants to merge like this since we can revisit this if needed in the future.
I will do that this evening. |
@tchellomello Like that? |
|
Forgot to add |
I dropped the commit to try and fix the molecule int to string conversion warning. I think it broke the pipeline. |
I am not sure why this is looping and never coming up? Is there something in molecule that needs to be updated? |
I ran the test locally, and got this during prepare:
|
That was fixed with a rebase. Now getting |
Ok, I fixed that, this passed on my test-local setup. |
In #205, newer ingress is broken by not using networking.k8s.io/v1, but this may not be the case for all users. Allow apiVersion to be set by the user. Default to networking.k8s.io/v1, but add a note in the README.md about older k8s or ingress-nginx to use networking.k8s.io/v1beta1. Signed-off-by: Bryan Hundven <[email protected]>
In #205, newer ingress is broken by not using networking.k8s.io/v1,
but this may not be the case for all users.
Allow apiVersion to be set by the user.
Default to networking.k8s.io/v1, but add a note in the README.md about
older k8s or ingress-nginx to use networking.k8s.io/v1beta1.
Signed-off-by: Bryan Hundven [email protected]