Skip to content

Commit

Permalink
Ensure that helm tests don't always break when the JuiceShop version …
Browse files Browse the repository at this point in the history
…is increased
  • Loading branch information
J12934 committed Dec 20, 2023
1 parent 20432ce commit ca0643c
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 6 deletions.
12 changes: 6 additions & 6 deletions helm/multi-juicer/tests/__snapshot__/multijuicer_test.yaml.snap
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ default values render correctly:
},
"juiceShop": {
"image": "bkimminich/juice-shop",
"tag": "v15.3.0",
"tag": "v42.42.42",
"imagePullPolicy": "IfNotPresent",
"ctfKey": "zLp@.-6fMW6L-7R3b!9uR_K!NfkkTr",
"nodeEnv": "multi-juicer",
Expand Down Expand Up @@ -179,7 +179,7 @@ default values render correctly:
template:
metadata:
annotations:
checksum/config: cf48275312cac7c9cacf895b9002eca3e01e3fcfb6b0936d2fc85716da847c2a
checksum/config: 4e04b32a6763d0f6788ac2eb7c5728626d7333691d95c412f393001adc1447ea
checksum/secret: 251cfd8e9e6e2060f9bce6d7ab720ed1658fee709ffddb5c877b0a366f3ff49c
labels:
app.kubernetes.io/component: load-balancer
Expand Down Expand Up @@ -2710,7 +2710,7 @@ full values render out correctly:
},
"juiceShop": {
"image": "bkimminich/juice-shop",
"tag": "v15.3.0",
"tag": "v42.42.42",
"imagePullPolicy": "IfNotPresent",
"ctfKey": "DONT_LET_ME_FIND_YOU_USING_THIS_EXACT_VALUE",
"nodeEnv": "ctf",
Expand Down Expand Up @@ -2760,7 +2760,7 @@ full values render out correctly:
template:
metadata:
annotations:
checksum/config: 947dc2e05e7d0515da848adf5e029ee2d423e134c673de366cfd6dd444b07980
checksum/config: 6d6bc92a94f12493138aa82fe204065d1f1ff6933357494240ac68429af2b01d
checksum/secret: 0e71fd1d122c1673521f3c4baba3d8bf7cb1687efd832017a2a2f9aa7414a283
labels:
app.kubernetes.io/component: load-balancer
Expand Down Expand Up @@ -3309,7 +3309,7 @@ production notes work correctly:
},
"juiceShop": {
"image": "bkimminich/juice-shop",
"tag": "v15.3.0",
"tag": "v42.42.42",
"imagePullPolicy": "IfNotPresent",
"ctfKey": "DONT_LET_ME_FIND_YOU_USING_THIS_EXACT_VALUE",
"nodeEnv": "ctf",
Expand Down Expand Up @@ -3359,7 +3359,7 @@ production notes work correctly:
template:
metadata:
annotations:
checksum/config: 947dc2e05e7d0515da848adf5e029ee2d423e134c673de366cfd6dd444b07980
checksum/config: 6d6bc92a94f12493138aa82fe204065d1f1ff6933357494240ac68429af2b01d
checksum/secret: 0e71fd1d122c1673521f3c4baba3d8bf7cb1687efd832017a2a2f9aa7414a283
labels:
app.kubernetes.io/component: load-balancer
Expand Down
4 changes: 4 additions & 0 deletions helm/multi-juicer/tests/multijuicer_test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ tests:
version: 42.0.0
appVersion: 42.0.0
set:
juiceShop:
tag: v42.42.42
# randomized values are still specified here as the snapshot tests would fail otherwise
balancer:
adminPassword: "ABCDEFGH"
Expand Down Expand Up @@ -73,6 +75,7 @@ tests:
password: "ROTATE_THIS_YOU_LAZY_ASS"

juiceShop:
tag: v42.42.42
maxInstances: 42
nodeEnv: "ctf"
ctfKey: "DONT_LET_ME_FIND_YOU_USING_THIS_EXACT_VALUE"
Expand Down Expand Up @@ -111,6 +114,7 @@ tests:
enabled: true

juiceShop:
tag: v42.42.42
maxInstances: 42
nodeEnv: "ctf"
ctfKey: "DONT_LET_ME_FIND_YOU_USING_THIS_EXACT_VALUE"
Expand Down

0 comments on commit ca0643c

Please sign in to comment.