Skip to content

Instantly share code, notes, and snippets.

View beekhof's full-sized avatar

Andrew Beekhof beekhof

View GitHub Profile
diff --git a/clustergroup/templates/applications.yaml b/clustergroup/templates/applications.yaml
index 7e17afc..4952f06 100644
--- a/clustergroup/templates/applications.yaml
+++ b/clustergroup/templates/applications.yaml
@@ -33,17 +33,17 @@ spec:
{{- end }}
# Watch the progress of https://issues.redhat.com/browse/GITOPS-891 and update accordingly
parameters:
- - name: global.repoURL
+ - name: {{ default "global.repoURL" .repoField }}
diff --git a/clustergroup/templates/plumbing/cluster-external-secrets.yaml b/clustergroup/templates/plumbing/cluster-external-secrets.yaml
index 52f5ca5..2f8db26 100644
--- a/clustergroup/templates/plumbing/cluster-external-secrets.yaml
+++ b/clustergroup/templates/plumbing/cluster-external-secrets.yaml
@@ -34,10 +34,10 @@ spec:
data:
- secretKey: kubeBearer
remoteRef:
- key: {{ $.Values.secretsBase.key }}/cluster_{{ .Values.clusterGroup.targetCluster }}
+ key: {{ $.Values.hostedSite.bearer_secret_key }}
@beekhof
beekhof / Convert .mov or .MP4 to .gif.md
Created February 2, 2023 08:23 — forked from SheldonWangRJT/Convert .mov or .MP4 to .gif.md
Convert Movie(.mov) file to Gif(.gif) file in one command line in Mac Terminal

This notes is written by Sheldon. You can find me with #iOSBySheldon in Github, Youtube, Facebook, etc.

Need

Convert .mov/.MP4 to .gif

Reason

As a developer, I feel better to upload a short video when I create the pull request to show other viewers what I did in this PR. I tried .mov format directly got after finishing recording screen using Quicktime, however, gif offers preview in most web pages, and has smaller file size.

This is not limited to developer, anyone has this need can use this method to convert the files.