Page MenuHomePhabricator
Paste P84268

YAMLdiff example
ActivePublic

Authored by akosiaris on Thu, Oct 23, 9:14 AM.
Tags
None
Referenced Files
F66784977: YAMLdiff example
Thu, Oct 23, 9:14 AM
Subscribers
None
This is the unified diff (diff -u) of a chart version bump (which includes a bit of comment and white space removal)
--- a 2025-10-23 12:12:41.202845993 +0300
+++ b 2025-10-23 12:12:34.850816497 +0300
@@ -6,7 +6,7 @@
name: shellbox-main
labels:
app: shellbox
- chart: shellbox-1.2.19
+ chart: shellbox-1.2.20
release: main
heritage: Helm
spec:
@@ -43,7 +43,7 @@
name: shellbox-main-secret-config
labels:
app: shellbox
- chart: shellbox-1.2.19
+ chart: shellbox-1.2.20
release: main
heritage: Helm
type: Opaque
@@ -55,7 +55,7 @@
name: shellbox-main-metrics-config
labels:
app: shellbox
- chart: shellbox-1.2.19
+ chart: shellbox-1.2.20
release: main
heritage: Helm
data:
@@ -126,7 +126,7 @@
name: shellbox-main-shellbox-config
labels:
app: shellbox
- chart: shellbox-1.2.19
+ chart: shellbox-1.2.20
release: main
heritage: Helm
data:
@@ -158,7 +158,7 @@
name: shellbox-main-shellbox-httpd-config
labels:
app: shellbox
- chart: shellbox-1.2.19
+ chart: shellbox-1.2.20
release: main
heritage: Helm
data:
@@ -173,7 +173,7 @@
name: shellbox-main-envoy-config-volume
labels:
app: shellbox
- chart: shellbox-1.2.19
+ chart: shellbox-1.2.20
release: main
heritage: Helm
data:
@@ -571,7 +571,7 @@
name: shellbox-main-tls-service
labels:
app: shellbox
- chart: shellbox-1.2.19
+ chart: shellbox-1.2.20
release: main
heritage: Helm
spec:
@@ -592,7 +592,7 @@
name: shellbox-main
labels:
app: shellbox
- chart: shellbox-1.2.19
+ chart: shellbox-1.2.20
release: main
heritage: Helm
spec:
@@ -803,18 +803,16 @@
seccompProfile:
type: RuntimeDefault
volumes:
-
- # TLS configurations
- name: envoy-config-volume
configMap:
name: shellbox-main-envoy-config-volume
- name: tls-certs-volume
secret:
secretName: shellbox-main-tls-proxy-certs
- # Additional app-specific volumes.
- name: shellbox-config
configMap:
name: shellbox-main-shellbox-config
+
- emptyDir: {}
name: local-disk-tmp
- name: shellbox-httpd-config
@@ -828,7 +826,7 @@
name: shellbox-main-tls-proxy-certs
labels:
app: shellbox
- chart: shellbox-1.2.19
+ chart: shellbox-1.2.20
release: main
heritage: Helm
spec:
@@ -886,7 +884,7 @@
name: shellbox-migration
labels:
app: shellbox
- chart: shellbox-1.2.19
+ chart: shellbox-1.2.20
release: migration
heritage: Helm
spec:
@@ -923,7 +921,7 @@
name: shellbox-migration-secret-config
labels:
app: shellbox
- chart: shellbox-1.2.19
+ chart: shellbox-1.2.20
release: migration
heritage: Helm
type: Opaque
@@ -935,7 +933,7 @@
name: shellbox-migration-metrics-config
labels:
app: shellbox
- chart: shellbox-1.2.19
+ chart: shellbox-1.2.20
release: migration
heritage: Helm
data:
@@ -1006,7 +1004,7 @@
name: shellbox-migration-shellbox-config
labels:
app: shellbox
- chart: shellbox-1.2.19
+ chart: shellbox-1.2.20
release: migration
heritage: Helm
data:
@@ -1038,7 +1036,7 @@
name: shellbox-migration-shellbox-httpd-config
labels:
app: shellbox
- chart: shellbox-1.2.19
+ chart: shellbox-1.2.20
release: migration
heritage: Helm
data:
@@ -1053,7 +1051,7 @@
name: shellbox-migration-envoy-config-volume
labels:
app: shellbox
- chart: shellbox-1.2.19
+ chart: shellbox-1.2.20
release: migration
heritage: Helm
data:
@@ -1451,7 +1449,7 @@
name: shellbox-migration
labels:
app: shellbox
- chart: shellbox-1.2.19
+ chart: shellbox-1.2.20
release: migration
heritage: Helm
spec:
@@ -1662,18 +1660,16 @@
seccompProfile:
type: RuntimeDefault
volumes:
-
- # TLS configurations
- name: envoy-config-volume
configMap:
name: shellbox-migration-envoy-config-volume
- name: tls-certs-volume
secret:
secretName: shellbox-migration-tls-proxy-certs
- # Additional app-specific volumes.
- name: shellbox-config
configMap:
name: shellbox-migration-shellbox-config
+
- emptyDir: {}
name: local-disk-tmp
- name: shellbox-httpd-config
@@ -1687,7 +1683,7 @@
name: shellbox-migration-tls-proxy-certs
labels:
app: shellbox
- chart: shellbox-1.2.19
+ chart: shellbox-1.2.20
release: migration
heritage: Helm
spec:
alex@himbar:~$ diff -u a b
--- a 2025-10-23 12:12:41.202845993 +0300
+++ b 2025-10-23 12:12:34.850816497 +0300
@@ -6,7 +6,7 @@
name: shellbox-main
labels:
app: shellbox
- chart: shellbox-1.2.19
+ chart: shellbox-1.2.20
release: main
heritage: Helm
spec:
@@ -43,7 +43,7 @@
name: shellbox-main-secret-config
labels:
app: shellbox
- chart: shellbox-1.2.19
+ chart: shellbox-1.2.20
release: main
heritage: Helm
type: Opaque
@@ -55,7 +55,7 @@
name: shellbox-main-metrics-config
labels:
app: shellbox
- chart: shellbox-1.2.19
+ chart: shellbox-1.2.20
release: main
heritage: Helm
data:
@@ -126,7 +126,7 @@
name: shellbox-main-shellbox-config
labels:
app: shellbox
- chart: shellbox-1.2.19
+ chart: shellbox-1.2.20
release: main
heritage: Helm
data:
@@ -158,7 +158,7 @@
name: shellbox-main-shellbox-httpd-config
labels:
app: shellbox
- chart: shellbox-1.2.19
+ chart: shellbox-1.2.20
release: main
heritage: Helm
data:
@@ -173,7 +173,7 @@
name: shellbox-main-envoy-config-volume
labels:
app: shellbox
- chart: shellbox-1.2.19
+ chart: shellbox-1.2.20
release: main
heritage: Helm
data:
@@ -571,7 +571,7 @@
name: shellbox-main-tls-service
labels:
app: shellbox
- chart: shellbox-1.2.19
+ chart: shellbox-1.2.20
release: main
heritage: Helm
spec:
@@ -592,7 +592,7 @@
name: shellbox-main
labels:
app: shellbox
- chart: shellbox-1.2.19
+ chart: shellbox-1.2.20
release: main
heritage: Helm
spec:
@@ -803,18 +803,16 @@
seccompProfile:
type: RuntimeDefault
volumes:
-
- # TLS configurations
- name: envoy-config-volume
configMap:
name: shellbox-main-envoy-config-volume
- name: tls-certs-volume
secret:
secretName: shellbox-main-tls-proxy-certs
- # Additional app-specific volumes.
- name: shellbox-config
configMap:
name: shellbox-main-shellbox-config
+
- emptyDir: {}
name: local-disk-tmp
- name: shellbox-httpd-config
@@ -828,7 +826,7 @@
name: shellbox-main-tls-proxy-certs
labels:
app: shellbox
- chart: shellbox-1.2.19
+ chart: shellbox-1.2.20
release: main
heritage: Helm
spec:
@@ -886,7 +884,7 @@
name: shellbox-migration
labels:
app: shellbox
- chart: shellbox-1.2.19
+ chart: shellbox-1.2.20
release: migration
heritage: Helm
spec:
@@ -923,7 +921,7 @@
name: shellbox-migration-secret-config
labels:
app: shellbox
- chart: shellbox-1.2.19
+ chart: shellbox-1.2.20
release: migration
heritage: Helm
type: Opaque
@@ -935,7 +933,7 @@
name: shellbox-migration-metrics-config
labels:
app: shellbox
- chart: shellbox-1.2.19
+ chart: shellbox-1.2.20
release: migration
heritage: Helm
data:
@@ -1006,7 +1004,7 @@
name: shellbox-migration-shellbox-config
labels:
app: shellbox
- chart: shellbox-1.2.19
+ chart: shellbox-1.2.20
release: migration
heritage: Helm
data:
@@ -1038,7 +1036,7 @@
name: shellbox-migration-shellbox-httpd-config
labels:
app: shellbox
- chart: shellbox-1.2.19
+ chart: shellbox-1.2.20
release: migration
heritage: Helm
data:
@@ -1053,7 +1051,7 @@
name: shellbox-migration-envoy-config-volume
labels:
app: shellbox
- chart: shellbox-1.2.19
+ chart: shellbox-1.2.20
release: migration
heritage: Helm
data:
@@ -1451,7 +1449,7 @@
name: shellbox-migration
labels:
app: shellbox
- chart: shellbox-1.2.19
+ chart: shellbox-1.2.20
release: migration
heritage: Helm
spec:
@@ -1662,18 +1660,16 @@
seccompProfile:
type: RuntimeDefault
volumes:
-
- # TLS configurations
- name: envoy-config-volume
configMap:
name: shellbox-migration-envoy-config-volume
- name: tls-certs-volume
secret:
secretName: shellbox-migration-tls-proxy-certs
- # Additional app-specific volumes.
- name: shellbox-config
configMap:
name: shellbox-migration-shellbox-config
+
- emptyDir: {}
name: local-disk-tmp
- name: shellbox-httpd-config
@@ -1687,7 +1683,7 @@
name: shellbox-migration-tls-proxy-certs
labels:
app: shellbox
- chart: shellbox-1.2.19
+ chart: shellbox-1.2.20
release: migration
heritage: Helm
spec:

Event Timeline

And this is the yamldiff of the same upgrade

$ ~/Downloads/yamldiff a b --color=always -c -m
0 added, 0 deleted, 1 modified
~ .metadata.labels.chart: [line:9 <String>] shellbox-1.2.19 → [line:9 <String>] shellbox-1.2.20
---
0 added, 0 deleted, 1 modified
~ .metadata.labels.chart: [line:46 <String>] shellbox-1.2.19 → [line:46 <String>] shellbox-1.2.20
---
0 added, 0 deleted, 1 modified
~ .metadata.labels.chart: [line:58 <String>] shellbox-1.2.19 → [line:58 <String>] shellbox-1.2.20
---
0 added, 0 deleted, 1 modified
~ .metadata.labels.chart: [line:129 <String>] shellbox-1.2.19 → [line:129 <String>] shellbox-1.2.20
---
0 added, 0 deleted, 1 modified
~ .metadata.labels.chart: [line:161 <String>] shellbox-1.2.19 → [line:161 <String>] shellbox-1.2.20
---
0 added, 0 deleted, 1 modified
~ .metadata.labels.chart: [line:176 <String>] shellbox-1.2.19 → [line:176 <String>] shellbox-1.2.20
---
0 added, 0 deleted, 1 modified
~ .metadata.labels.chart: [line:574 <String>] shellbox-1.2.19 → [line:574 <String>] shellbox-1.2.20
---
0 added, 0 deleted, 1 modified
~ .metadata.labels.chart: [line:595 <String>] shellbox-1.2.19 → [line:595 <String>] shellbox-1.2.20
---
0 added, 0 deleted, 1 modified
~ .metadata.labels.chart: [line:831 <String>] shellbox-1.2.19 → [line:829 <String>] shellbox-1.2.20
---
0 added, 0 deleted, 0 modified

---
0 added, 0 deleted, 1 modified
~ .metadata.labels.chart: [line:889 <String>] shellbox-1.2.19 → [line:887 <String>] shellbox-1.2.20
---
0 added, 0 deleted, 1 modified
~ .metadata.labels.chart: [line:926 <String>] shellbox-1.2.19 → [line:924 <String>] shellbox-1.2.20
---
0 added, 0 deleted, 1 modified
~ .metadata.labels.chart: [line:938 <String>] shellbox-1.2.19 → [line:936 <String>] shellbox-1.2.20
---
0 added, 0 deleted, 1 modified
~ .metadata.labels.chart: [line:1009 <String>] shellbox-1.2.19 → [line:1007 <String>] shellbox-1.2.20
---
0 added, 0 deleted, 1 modified
~ .metadata.labels.chart: [line:1041 <String>] shellbox-1.2.19 → [line:1039 <String>] shellbox-1.2.20
---
0 added, 0 deleted, 1 modified
~ .metadata.labels.chart: [line:1056 <String>] shellbox-1.2.19 → [line:1054 <String>] shellbox-1.2.20
---
0 added, 0 deleted, 1 modified
~ .metadata.labels.chart: [line:1454 <String>] shellbox-1.2.19 → [line:1452 <String>] shellbox-1.2.20
---
0 added, 0 deleted, 1 modified
~ .metadata.labels.chart: [line:1690 <String>] shellbox-1.2.19 → [line:1686 <String>] shellbox-1.2.20
---
0 added, 0 deleted, 0 modified