ansible/awx-operator

annotations not applied to postgres statefulset

Open

#1,624 opened on Nov 8, 2023

View on GitHub
 (2 comments) (0 reactions) (0 assignees)Jinja (712 forks)auto 404
communitygood first issuehelp wantedtype:enhancement

Repository metrics

Stars
 (1,488 stars)
PR merge metrics
 (PR metrics pending)

Description

Please confirm the following

  • I agree to follow this project's code of conduct.
  • I have checked the current issues for duplicates.
  • 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

Contributor guide