Skip to content

Commit 2f51b1c

Browse files
chore: add default registry as docker
Signed-off-by: Abhinandan Purkait <[email protected]>
1 parent 8086112 commit 2f51b1c

File tree

2 files changed

+6
-8
lines changed

2 files changed

+6
-8
lines changed

deploy/helm/charts/values.yaml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
global:
66
# Used as default image registry, values supplied by localpv.image.registry
77
# and helperPod.image.registry override this value.
8-
imageRegistry: ""
8+
imageRegistry: "docker.io"
99

1010
rbac:
1111
# rbac.create: `true` if rbac resources should be created
@@ -37,7 +37,7 @@ localpv:
3737
privileged: true
3838
annotations: {}
3939
podAnnotations: {}
40-
## Labels to be added to localpv provisioner deployment pods
40+
## Labels to be added to localpv provisioner deployment pods
4141
podLabels:
4242
name: openebs-localpv-provisioner
4343
healthCheck:
@@ -65,10 +65,9 @@ localpv:
6565
priorityClassName: ""
6666

6767
imagePullSecrets:
68-
# - name: img-pull-secret
69-
68+
# - name: img-pull-secret
7069
podSecurityContext: {}
71-
# fsGroup: 2000
70+
# fsGroup: 2000
7271

7372
nameOverride: ""
7473
fullnameOverride: ""

scripts/yq_utils.sh

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,12 @@
22
# this function gets around that using diff with --ignore-blank-lines
33
yq_ibl()
44
{
5-
set +e
6-
diff_out=$(diff -B <(yq '.' "$2") <(yq "$1" "$2")) || error=$?
5+
error=0
6+
diff_out=$(diff -B <(cat "$2") <(yq "$1" "$2")) || error=$?
77
if [ "$error" != "0" ] && [ "$error" != "1" ]; then
88
exit "$error"
99
fi
1010
if [ -n "$diff_out" ]; then
1111
echo "$diff_out" | patch --quiet --no-backup-if-mismatch "$2" -
1212
fi
13-
set -euo pipefail
1413
}

0 commit comments

Comments
 (0)