Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ignore differences when using the catalog source image template annotation #676

Open
Jamstah opened this issue Apr 16, 2024 · 0 comments
Open

Comments

@Jamstah
Copy link

Jamstah commented Apr 16, 2024

Is your feature request related to a problem? Please describe.
When ArgoCD is used to sync a catalog source that uses the olm.catalogImageTemplate to set the image name, the image is replaced using the template. ArgoCD then thinks the resource is out of sync, because the image name doesn't match the desired state.

See this repo as an example to sync: https://github.com/Jamstah/ibm-operator-catalog

Describe the solution you'd like
Automatically ignore that difference by ignoring fields set by the catalog manager, the same way we set tekton exclusions here.

In the default ArgoCD object, that would be:

spec:
  resourceIgnoreDifferences:
    resourceIdentifiers:
      - customization:
          managedFieldsManagers:
            - catalog
        group: operators.coreos.com
        kind: CatalogSource

Describe alternatives you've considered
Without this, users need to ignore the difference themselves.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant