awx-operator icon indicating copy to clipboard operation
awx-operator copied to clipboard

feat: Add ingress_class_name parameter

Open aperigault opened this issue 2 years ago • 10 comments

Related to #716

Hello, I added ingressClassName parameter compatibility in ingress template.

aperigault avatar Jan 07 '22 13:01 aperigault

Great to see this being added :+1:

I tried your new chart, and works fine for me on a kubespray cluster, v1.21.6

WebSpider avatar Jan 19 '22 18:01 WebSpider

Hi @shanemcd are we waiting for anything before merge ?

aperigault avatar Feb 18 '22 10:02 aperigault

Well, for some reason the test to actually create the AWX cluster with this flag set failed.

WebSpider avatar Feb 22 '22 12:02 WebSpider

I've resolved the conflict and pushed to this branch. I was going to merge it, but the last comment about the deployment failing has me concerned. Will wait for more eyes on this.

shanemcd avatar Mar 22 '22 13:03 shanemcd

I tried to install and I faced the same problem. I don't have (or want to have) a default ingress, so this feature would be nice.

thenets avatar Apr 20 '22 04:04 thenets

Hi @shanemcd, any news on this ?

aperigault avatar May 17 '22 14:05 aperigault

Against 0.21 the modifications to ingress.yaml.j2 are in the wrong location. The should be a bit higher and not indented as far:

spec: {% if ingress_class_name %} ingressClassName: {{ ingress_class_name }} {% endif %} rules:

johnkoyle avatar May 27 '22 17:05 johnkoyle

Hi @shanemcd, @aperigault thanks for your works ! we are interested on this PR we use massively awx on k8s. Let we know if you need some help on it.

atbore-phx avatar Jun 21 '22 08:06 atbore-phx

@aperigault can you please address the indentation mistake that has been pointed out? The key is supposed to be directly under the spec key and not part of any of subordinate keys in the spec.

I really need this to be added ASAP or I won't be able to deploy AWX using the operator. I was about to patch this myself but I see that this has already gotten some traction and I hope that it can be merged swiftly.

This is how I would do it:

spec:
{% if ingress_class_name %}
  ingressClassName: '{{ ingress_class_name }}'
{% endif %}
  rules:

somebadcode avatar Jun 22 '22 15:06 somebadcode

Since there's no action on this one, I've opened a new one which does not contain the bad indentation. I really need this fix and I will be responding to comments in the PR I opened.

PR #977

somebadcode avatar Jul 01 '22 15:07 somebadcode

PR #977 has been merged and takes care of the concerns regarding the syntax.

somebadcode avatar Aug 29 '22 13:08 somebadcode

These changes merged as part of https://github.com/ansible/awx-operator/pull/977/files, which also had the needed CSV parameter entries.

rooftopcellist avatar Aug 29 '22 13:08 rooftopcellist