This message was deleted.
# fleet
a
This message was deleted.
s
At the bottom where it says patch is what you need to change. Example on how to do that is here : https://fleet.rancher.io/bundle-diffs
f
Hey @steep-furniture-72588 thx for the help. but none of the examples are like mine, see that I have 3 elements under a list on fields.. I've tried to specify /metadata/fields/{1,2,3} (one line for each) but without success..
s
Look at the element order in the example
f
the example dot not set path directly for list elements
I can't decide which part of ["opensearch-fluentd",true,null] is a element..
tried /metadata/fields on path, but without sucess..
s
Can you show us your diff please?
It would be helpful to see a bit more with what you are working with
f
Tried like this: diff: comparePatches: - apiVersion: logging.banzaicloud.io/v1beta1 kind: ClusterOutput name: opensearch-fluentd operations: - {"op":"remove", "path":"/metadata/*"} Like this:
diff: comparePatches: - apiVersion: logging.banzaicloud.io/v1beta1 kind: ClusterOutput name: opensearch-fluentd operations: - {"op":"remove", "path":"/metadata/"} like this: diff: comparePatches: - apiVersion: logging.banzaicloud.io/v1beta1 kind: ClusterOutput name: opensearch-fluentd operations: - {"op":"remove", "path":"/metadata/fields"} and like this:
diff: comparePatches: - apiVersion: logging.banzaicloud.io/v1beta1 kind: ClusterOutput name: opensearch-fluentd operations: - {"op":"remove", "path":"/metadata/fields/0"}
s
It may actually pay to list the deployment as json as in the example in that link. That way you can see the layers that is being referenced