You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
we have resource labels that we'd like to ignore differences but contain non-constant key names. it would be impossible for us to explicitly know all key names upfront. We will know what they always end with.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
gearing up for 3.0 and testing new breaking changes from 2.14. Currently testing on 3.0.5.
trying to make these changes as a result of: https://argo-cd.readthedocs.io/en/latest/operator-manual/upgrading/2.14-3.0/#use-annotation-based-tracking-by-default . reverting to
label
orannotation+label
indeed ignores these labels but we are trying to convert respectively.we have resource labels that we'd like to ignore differences but contain non-constant key names. it would be impossible for us to explicitly know all key names upfront. We will know what they always end with.
example namespace resource:
with argocd-cm config map entry:
first jqPathExpression works as expected as a literal but the attempt to handle "wildcard" scenario doesn't ignore differences as expected.
jq playground*:
https://www.devtoolsdaily.com/jq_playground/#v2=N4IglgdgDgrgLgFQKYA84gFwmAHQgAnxxAEMowA1JAJwGcwB7CYjIkANwEZiAaPQ4gGtIAExZsAciQC2SWlBIBjJL35tZcEiJKbxuAoTYQZKzEYDmkFAFo4cuKoMCQAGxIAjJC9p61htmRQ4sQQlhAojv7OgkgAngCCicEgdrRwifGRUUJxAEL5yalw+blZ-sQAFhCKAHQ2ggActDWMAPSQii4wIkgi1say8kqmrMRw1DCmfE6GIWE2RTXjSEg1VbX1TS0MrT1QcBXJAAxlsyAQtABMS9Qra9V11o3NbXsHydwg01FGtADMNzu60ez22uyQ+0OZmIl1O0TiAGEkYV7EiEcQ-PgAL5qHEQLFfEAAMzALjs1AAoigoNRMCBzEg4AoDgAKZkVWj4AA++FoXiQijgLJqAG1rJwALrc-BICAiWgAdzArOIgNWwM2Lx2byhAEp9SAsUA
*working jq path expression in playgroud but not working in argocd-cm config map
any ideas on what we are doing incorrectly to ignore label key names matching with a "wildcard" using jqPathExpressions?
thanks for any advice!
this looks to be related to: #21185
Beta Was this translation helpful? Give feedback.
All reactions