ansible / awx-operator

An Ansible AWX operator for Kubernetes built with Operator SDK and Ansible. 🤖
https://www.github.com/ansible/awx
Apache License 2.0
1.24k stars 627 forks source link

Add podSpec/podTemplate/statefuSet field to override pod settings #479

Open ebarped opened 3 years ago

ebarped commented 3 years ago

Many kubernetes operators add a field called podSpec/podTemplate that allows the user to override pod´s configuration with custom properties.

Examples:

This will be extremely useful, since we could add securityContext, dnsPolicy, dnsConfig, ...

My main case is to add dnsPolicy and dnsConfig, but this would allow the user to provide all these fields. Another solution would be adding specific fields for securityContext, dnsPolicy, dnsConfig... to the CRD.

TheRealHaoLiu commented 9 months ago

I absolutely love this pattern