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

Using ignoreDifferences #631

Open
dezren39 opened this issue Jan 26, 2025 · 1 comment
Open

Using ignoreDifferences #631

dezren39 opened this issue Jan 26, 2025 · 1 comment

Comments

@dezren39
Copy link

How would I use ignoreDifferences for an app deployed from this tool? Since I've been using the json file I don't actually have an argo app where i can put these things right? Kustomize doesn't seem to have an alternate way for me to do it.

@dezren39
Copy link
Author

i guess it would have to be a config.json value that mimics the equivalent yaml?

  "ignoreDifferences": [
    {
      "group": "apiextensions.k8s.io",
      "kind": "CustomResourceDefinition",
      "jqPathExpressions": [
        ".spec.versions[].additionalPrinterColumns[]"
      ]
    }
  ]

unfortunately patchops don't really seem to work well because my kustomize is to a helmChart. also sometimes you need to change things dynamically and being able to ignore them would really be nice.

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