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
Unable to ignore differences in metadata annotations #2918
Comments
Hello @yujunz , The |
@alexmt I do want to ignore one particular resource.
|
Ah, I see. I believe diff settings were not applied because group is missing. If ignoreDifferences:
- kind: APIService
group: apiregistration.k8s.io
name: v1alpha1.validators.kubedb.com
jsonPointers:
- /spec/caBundle
- /metadata |
Now I remember. When group is missing, it defaults to the core api group. |
What about specific annotation and not all annotations? I am not able to skip slashes and times ( dots) in the json pointer ( json path ) :( |
@abdennour use '~1' in place of '/'. |
Describe the bug
Trying to ignore the differences introduced by kubedb-operator on the ApiService but failed.
To Reproduce
Expected behavior
Differences ignored as configured
Screenshots
Version
Logs
N/A
The text was updated successfully, but these errors were encountered: