Skip to content

Instantly share code, notes, and snippets.

@peschmae
Created March 30, 2024 15:11
Show Gist options
  • Save peschmae/e482f72c677c87afce1eec7364db8869 to your computer and use it in GitHub Desktop.
Save peschmae/e482f72c677c87afce1eec7364db8869 to your computer and use it in GitHub Desktop.
@@ nil-tests.something @@
! document #1
± type change from <nil> to string
- <nil>
+ value


@@ nil-tests.to-be-reset @@
! document #1
± type change from string to <nil>
- value
+ <nil>


@@ minor.change @@
! document #1
± value change
- VaLue
+ Value


@@ string-lengths.textA @@
! document #1
± value change
- very long text
+ shrt txt


@@ string-lengths.textB @@
! document #1
± value change
- shrt txt
+ very long text


@@ orderchanges @@
! document #1
⇆ order changed
- one, two, four, five, three, six
+ one, two, three, four, five, six


@@ multiline @@
! document #1
± value change in multiline text (one insert, one deletion)
- Yes,
- strings
- can
- have
- multiple
+ Yes, strings
+ can have multiple



@@ certs.data @@
! document #1
± certificate change
- Subject:
    Common Name: www.example.com
    Organization: Company Name
    Organization Unit: Org
    Locality: Portland
    State: Oregon
    Country: US
  Validity Period:
    NotBefore: Apr 2 19:29:56 2018 UTC
    NotAfter: Apr 2 19:29:56 2019 UTC
  Issuer: www.example.com, Company Name
  Serial Number: 14581103526614300972 (0xca5a7c67490a792c)
  

+ Subject:
    Common Name: www.example.com
    Organization: My Company Name
    Organization Unit: Org
    Locality: Portland
    State: Oregon
    Country: US
  Validity Period:
    NotBefore: Apr 2 19:37:46 2018 UTC
    NotAfter: Apr 1 19:37:46 2020 UTC
  Issuer: www.example.com, My Company Name
  Serial Number: 12453678034067864896 (0xacd45a3087b33d40)
  



@@ (root level) @@
! document #2
two list entries removed:
- - name: one
- - name: two

one list entry added:
+   - name: three

@@ spec.template.spec.containers.application-controller.env @@
! apps/v1/StatefulSet/gitlab-runner/release-name-argocd-application-controller
one list entry removed:
- - name: ARGOCD_APPLICATION_CONTROLLER_CRASHLOOP_SECONDS
-   valueFrom:
-     configMapKeyRef:
-       name: argocd-cmd-params-cm
-       key: controller.self.crash.seconds
-       optional: true

two list entries added:
+   - name: ARGOCD_APPLICATION_CONTROLLER_LOGLEVEL
+     valueFrom:
+       configMapKeyRef:
+         name: argocd-cmd-params-cm
+         key: controller.log.level
+         optional: true
+   - name: ARGOCD_APPLICATION_CONTROLLER_METRICS_CACHE_EXPIRATION
+     valueFrom:
+       configMapKeyRef:
+         name: argocd-cmd-params-cm
+         key: controller.metrics.cache.expiration
+         optional: true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment