Skip to content

annotations in logs pvc #28745

Closed
Closed

Description

@do-it-tim

Official Helm Chart version

1.7.0 (latest released)

Apache Airflow version

2.5.0

Kubernetes Version

v1.22.8+d48376b

Helm Chart configuration

No response

Docker Image customisations

No response

What happened

When creating the dags pvc, it is possible to inject annotations to the object.

What you think should happen instead

There should be the possibility to inject annotations to the logs pvc as well.

How to reproduce

No response

Anything else

We are using annotations on pvc to disable the creation of backup snapshots provided by our company platform. (OpenShift)

Are you willing to submit PR?

  • Yes I am willing to submit a PR!

Code of Conduct

Activity

  1. boring-cyborg commented on Jan 5, 2023

    @boring-cyborg

    Thanks for opening your first issue here! Be sure to follow the issue template!

  2. potiuk commented on Jan 17, 2023

    @potiuk
    Member

    Feel free to add PR adding it @do-it-tim

  3. amoghrajesh commented on Jan 31, 2023

    @amoghrajesh
    Contributor

    @potiuk @do-it-tim if nobody is actively developing this, i would be more than happy to take it up. I would require some more context and concrete idea before starting though.

  4. do-it-tim commented on Jan 31, 2023

    @do-it-tim
    Author

    Glad to here that.
    There are differences between the creation of dags pvc versus logs pvc.
    You can compare these two files:
    https://github.com/apache/airflow/blob/main/chart/templates/dags-persistent-volume-claim.yaml#L32-L35
    vs
    https://github.com/apache/airflow/blob/main/chart/templates/logs-persistent-volume-claim.yaml
    There is no possibility to add annotations in the logs pvc.
    Hope this helps!
    Thanks

  5. amoghrajesh commented on Jan 31, 2023

    @amoghrajesh
    Contributor

    Oh, thanks @do-it-tim. It would be nice to accept it from: .Values.logs.persistence.annotations?

  6. do-it-tim commented on Jan 31, 2023

    @do-it-tim
    Author

    yes, think that would be the equivalent way to do it.

  7. amoghrajesh commented on Jan 31, 2023

    @amoghrajesh
    Contributor

    I can take it up then. @potiuk / @do-it-tim can I?

  8. amoghrajesh commented on Jan 31, 2023

    @amoghrajesh
    Contributor

    @do-it-tim added support for this in #29270.

  9. amoghrajesh commented on Feb 21, 2023

    @amoghrajesh
    Contributor

    @potiuk we can close this. It has been merged

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions