Open hphilipps opened 11 months ago
Hi,I reproduced in my environment. This is because the valueObject
passed from the GUI differs from the value queried by kube client. The later escaped <foo>bar
to \\u003cfoo\\u003ebar\
, which makes the function below return false.
Do you guys have any ideas on how to fix it? Should we escape the fronted-passed parameter or unescape the kube client getting result? I will try to submit a PR later, any advise is appreciate.
ArgoCD versions 2.10 and below have reached EOL. Can you upgrade and let us know if the issue is still present, please?
Checklist:
argocd version
.Describe the bug
When using
helm.valuesObject
in an Application manifest, certain special characters like<
or>
are leading to all values being not shown in the "App Details" "Parameters" tab and they also can not be edited there.In chrome developer tools and logs of the argocd-server pod I can see a POST request returning with a 403 in this case.
We tested this the versions v2.8.0, v2.9.1 and v2.9.2 and always see the same bug.
To Reproduce
Example for a failing manifest:
Removing the
<
and>
characters from<foo>bar
is fixing the failure. Also, usingvalues: |
instead ofvaluesObject:
is not showing the the erroneous behaviour. Quoting the special chars with\
or\\
doesn't help.Expected behavior
<
and>
invaluesObject
do not lead to 403 requests and work like withvalues: |
Screenshots
No values shown
developer tools showing a failing POST request
Version
Logs
argocd-server