Skip to content

Add "ignore_changes" support #2938

@MZODEH-se

Description

@MZODEH-se

Hi,
We have a use case where a Redis Cache is cretaed by ASO.
Once created we have an external support team that need to put some tags manually on the Redis Cache.
But since ASO compares current state with desired state each 30min, the tags get removed.
Support team can't give us the tags in advance since they don't know all of them in advance. Otherwise we could add them when deploying the Redis Cache.

As workaround, when the Redis Cache is deployed we put the annotation "serviceoperator.azure.com/reconcile-policy: skip". But this is not an efficient solution since it brings other issues.

What we want is to have a parameter at the Resource level which allows to ignore changes affecting an attribute of the resource. Something like what is done with Terraform parameter " ignore_changes = [tags]".

Any idea on how to implement this?

Thanks in advance for your support

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    Medium Term

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions