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

annotations not applied to postgres statefulset

Open pmcenery-bl opened this issue 1 year ago • 1 comments

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

  1. Define annotations
  2. Apply
  3. 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

pmcenery-bl avatar Nov 08 '23 12:11 pmcenery-bl

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?

fosterseth avatar Nov 08 '23 16:11 fosterseth