File tree 3 files changed +11
-7
lines changed
testdata/hybrid/memcached-operator
3 files changed +11
-7
lines changed Original file line number Diff line number Diff line change @@ -14,20 +14,24 @@ declare -r SECRING_AUTO="${GPG_HOME}/secring.auto"
14
14
declare -r PUBRING_AUTO=" ${GPG_HOME} /pubring.auto"
15
15
16
16
mkdir -p " $GPG_HOME "
17
+ chmod 700 " $GPG_HOME "
17
18
cp " ${DIR} " /* .auto* " ${GPG_HOME} "
18
19
20
+ echo -e " \nImporting public keys..."
21
+ { gpg --home " ${GPG_HOME} " --import " ${PUBRING_AUTO} " ; } || { err_exit " Could not import public key into gpg." ; }
22
+ echo " Success!"
23
+
19
24
echo -e " \nDecrypting secret key..."
20
25
{
21
26
# $GPG_PASSWORD is taken from the script's env (injected by CI).
22
- echo $GPG_PASSWORD | gpg --decrypt \
23
- --pinentry-mode loopback --batch \
27
+ echo $GPG_PASSWORD | gpg --home " ${GPG_HOME} " -- decrypt \
28
+ --pinentry-mode loopback --yes \
24
29
--passphrase-fd 0 \
25
30
--output " ${SECRING_AUTO} " \
26
31
" ${SECRING_AUTO} " .gpg ; \
27
32
} || { err_exit " Failed to decrypt secret key." ; }
28
33
echo " Success!"
29
34
30
- echo -e " \nImporting keys..."
31
- { gpg --home " ${GPG_HOME} " --import " ${PUBRING_AUTO} " ; } || { err_exit " Could not import public key into gpg." ; }
35
+ echo -e " \nImporting private keys..."
32
36
{ gpg --home " ${GPG_HOME} " --import " ${SECRING_AUTO} " ; } || { err_exit " Could not import secret key into gpg." ; }
33
37
echo " Success!"
Original file line number Diff line number Diff line change 5
5
require (
6
6
github.com/onsi/ginkgo/v2 v2.13.0
7
7
github.com/onsi/gomega v1.30.0
8
- github.com/operator-framework/helm-operator-plugins v0.1.2
8
+ github.com/operator-framework/helm-operator-plugins v0.1.3
9
9
k8s.io/apimachinery v0.28.5
10
10
k8s.io/client-go v0.28.5
11
11
sigs.k8s.io/controller-runtime v0.16.3
Original file line number Diff line number Diff line change @@ -285,8 +285,8 @@ github.com/opencontainers/go-digest v1.0.0 h1:apOUWs51W5PlhuyGyz9FCeeBIOUDA/6nW8
285
285
github.com/opencontainers/go-digest v1.0.0 /go.mod h1:0JzlMkj0TRzQZfJkVvzbP0HBR3IKzErnv2BNG4W4MAM =
286
286
github.com/opencontainers/image-spec v1.1.0-rc5 h1:Ygwkfw9bpDvs+c9E34SdgGOj41dX/cbdlwvlWt0pnFI =
287
287
github.com/opencontainers/image-spec v1.1.0-rc5 /go.mod h1:X4pATf0uXsnn3g5aiGIsVnJBR4mxhKzfwmvK/B2NTm8 =
288
- github.com/operator-framework/helm-operator-plugins v0.1.2 h1:gMPdJluw2NGxDURBpcLHJhWWXERCG095iHZUmACoXeE =
289
- github.com/operator-framework/helm-operator-plugins v0.1.2 /go.mod h1:f/AR6r2DiSRK5zv9MD+NgWbayP6qDbQMw+unFuw0rPQ =
288
+ github.com/operator-framework/helm-operator-plugins v0.1.3 h1:nwl9K1Pq0NZmanpEF/DYO00S7QO/iAmEdRIuLROrYpk =
289
+ github.com/operator-framework/helm-operator-plugins v0.1.3 /go.mod h1:f/AR6r2DiSRK5zv9MD+NgWbayP6qDbQMw+unFuw0rPQ =
290
290
github.com/operator-framework/operator-lib v0.12.0 h1:OzpMU5N7mvFgg/uje8FUUeD24Ahq64R6TdN25uswCYA =
291
291
github.com/operator-framework/operator-lib v0.12.0 /go.mod h1:ClpLUI7hctEF7F5DBe/kg041dq/4NLR7XC5tArY7bG4 =
292
292
github.com/peterbourgon/diskv v2.0.1+incompatible h1:UBdAOUP5p4RWqPBg048CAvpKN+vxiaj6gdUUzhl4XmI =
You can’t perform that action at this time.
0 commit comments