awx-operator
awx-operator copied to clipboard
annotations not applied to postgres statefulset
Please confirm the following
- [X] I agree to follow this project's code of conduct.
- [X] I have checked the current issues for duplicates.
- [X] I understand that the AWX Operator is open source software provided for free and that I might not receive a timely response.
Bug Summary
I have set the following:
AWX:
spec:
annotations: |
eks.amazonaws.com/compute-type: ec2
They don't get applied, and checking the template manifests, it doesn't look like any annotations will reach the created resource.
It should be possible to set annotations on the postgres deployment, either via the global annotations
or a new separate postgres_annotations
possibly.
AWX Operator version
2.7.2
AWX version
2.7.2
Kubernetes platform
kubernetes
Kubernetes/Platform version
1.27
Modifications
no
Steps to reproduce
- Define annotations
- Apply
- Check statefulset annotations
Expected results
Global annotations should apply to deployments and statefulsets.
Actual results
No annotations flow through to the postgres statefulset.
Additional information
No response
Operator Logs
No response
this would be a great contribution if someone from the community wants to implement it
a new separate postgres_annotations is preferable
@pmcenery-bl would you be interested?