awx-operator
awx-operator copied to clipboard
Added PodSpec for DNS config,policy and Hostnetwork for rsyslog/redis/ee/task/init and web containers.
SUMMARY
Added PodSpec for DNS config,policy and Hostnetwork for rsyslog/redis/ee/task/init and web containers.
ISSUE TYPE
- New or Enhanced Feature
ADDITIONAL INFORMATION
This will address the following #479 issue
Is there a particular use case for doing this for Rsyslog?
Are you planning to add these fields as configurable for the task/web deployments?
I'm planning to apply for task/web and redis.I will update the PR by end of today
@rooftopcellist Updated the PR for all the containers
@rooftopcellist removed the init container from the config
@rakesh561 do you have a podspec(s) that we can use as an example when testing this out locally?
also can you please take a look at the above CI failures?
@rakesh561 It looks like CI is failing, before merge a couple things need to happen:
- the branch needs to be rebased
- CI needs to be passing
- It would be helpful to have samples added to
config/samples
or just an example in a comment here for testing the changes out.
@rakesh561 The CI is failing when applying the task deployment because of an extra closing brace somewhere:
task path: /opt/ansible/roles/installer/tasks/resources_configuration.yml:248\\nfatal: [localhost]: FAILED! => {\\\"msg\\\": \\\"An unhandled exception occurred while running the lookup plugin 'template'. Error was a <class 'ansible.errors.AnsibleError'>, original message: template error while templating string: unexpected '}'
@rooftopcellist thanks for finding them i have remove those extra braces
@rooftopcellist let me know wat you think also in between i was off couldn't get back to contribution.
Hi @rakesh561 I think the generic override pattern suggested in https://github.com/ansible/awx-operator/issues/479 is a better way to address your need and a lot more different needs for other people
https://github.com/ansible/awx-operator/pull/1695
@rakesh561 try this out it should allow you to override the bits you want