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
When comparing a list of Kubernetes manifests against each other and some documents have been added or removed, there are no document separators in the "documents removed"/"documents added" output, so all the manifests run together.
Example:
# a.yaml
---
apiVersion: v1kind: Namespacemetadata:
name: a
---
apiVersion: v1kind: Namespacemetadata:
name: b
# x.yaml
---
apiVersion: v1kind: Namespacemetadata:
name: x
---
apiVersion: v1kind: Namespacemetadata:
name: y
$ dyff between -ib a.yaml x.yaml
(file level)
- two documents removed: ---
--- apiVersion: v1
apiVersion: v1 kind: Namespace
kind: Namespace metadata:
metadata: │ name: x
│ name: a apiVersion: v1
apiVersion: v1 kind: Namespace
kind: Namespace metadata:
metadata: │ name: y
│ name: b
I would expect it to look something like this instead:
- two documents removed: ---
--- apiVersion: v1
apiVersion: v1 kind: Namespace
kind: Namespace metadata:
metadata: │ name: x
│ name: a ---
--- apiVersion: v1
apiVersion: v1 kind: Namespace
kind: Namespace metadata:
metadata: │ name: y
│ name: b
The text was updated successfully, but these errors were encountered:
When comparing a list of Kubernetes manifests against each other and some documents have been added or removed, there are no document separators in the "documents removed"/"documents added" output, so all the manifests run together.
Example:
I would expect it to look something like this instead:
The text was updated successfully, but these errors were encountered: