Skip to content

Commit c892a17

Browse files
committed
Fix test pull policy
1 parent 0da0e99 commit c892a17

File tree

4 files changed

+12
-12
lines changed

4 files changed

+12
-12
lines changed

charts/cryostat/tests/cryostat_deployment_test.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -339,7 +339,7 @@ tests:
339339
value: "quay.io/cryostat/cryostat-grafana-dashboard:4.0"
340340
- equal:
341341
path: spec.template.spec.containers[?(@.name=='cryostat-grafana')].imagePullPolicy
342-
value: "IfNotPresent"
342+
value: "Always"
343343
- equal:
344344
path: spec.template.spec.containers[?(@.name=='cryostat-grafana')].env[?(@.name=='GF_AUTH_ANONYMOUS_ENABLED')].value
345345
value: "true"
@@ -390,7 +390,7 @@ tests:
390390
value: "quay.io/cryostat/jfr-datasource:4.0.2-snapshot"
391391
- equal:
392392
path: spec.template.spec.containers[?(@.name=='cryostat-jfr-datasource')].imagePullPolicy
393-
value: "IfNotPresent"
393+
value: "Always"
394394
- equal:
395395
path: spec.template.spec.containers[?(@.name=='cryostat-jfr-datasource')].env[?(@.name=='LISTEN_HOST')].value
396396
value: "localhost"
@@ -618,16 +618,16 @@ tests:
618618
asserts:
619619
- equal:
620620
path: spec.template.spec.containers[?(@.name=='cryostat')].imagePullPolicy
621-
value: IfNotPresent
621+
value: Always
622622
- equal:
623623
path: spec.template.spec.containers[?(@.name=='cryostat-authproxy')].imagePullPolicy
624624
value: Always
625625
- equal:
626626
path: spec.template.spec.containers[?(@.name=='cryostat-grafana')].imagePullPolicy
627-
value: IfNotPresent
627+
value: Always
628628
- equal:
629629
path: spec.template.spec.containers[?(@.name=='cryostat-jfr-datasource')].imagePullPolicy
630-
value: IfNotPresent
630+
value: Always
631631

632632
- it: should verify image pull policies for release versions
633633
set:

charts/cryostat/tests/db_deployment_test.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -63,10 +63,10 @@ tests:
6363
- ALL
6464
- equal:
6565
path: spec.template.spec.containers[?(@.name=='cryostat-db')].image
66-
value: "quay.io/cryostat/cryostat-db:4.0.2-dev"
66+
value: "quay.io/cryostat/cryostat-db:cryostat-v4.0"
6767
- equal:
6868
path: spec.template.spec.containers[?(@.name=='cryostat-db')].imagePullPolicy
69-
value: "IfNotPresent"
69+
value: "Always"
7070
- equal:
7171
path: spec.template.spec.containers[?(@.name=='cryostat-db')].env[?(@.name=='POSTGRESQL_USER')].value
7272
value: "cryostat"
@@ -320,7 +320,7 @@ tests:
320320
asserts:
321321
- equal:
322322
path: spec.template.spec.containers[?(@.name=='cryostat-db')].imagePullPolicy
323-
value: "IfNotPresent"
323+
value: "Always"
324324

325325
- it: should verify image pull policies for release versions
326326
set:

charts/cryostat/tests/reports_deployment_test.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -265,7 +265,7 @@ tests:
265265
asserts:
266266
- equal:
267267
path: spec.template.spec.containers[?(@.name=='cryostat-reports')].imagePullPolicy
268-
value: IfNotPresent
268+
value: "Always"
269269

270270
- it: should verify image pull policies for release versions
271271
set:

charts/cryostat/tests/storage_deployment_test.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -63,10 +63,10 @@ tests:
6363
- ALL
6464
- equal:
6565
path: spec.template.spec.containers[?(@.name=='cryostat-storage')].image
66-
value: "quay.io/cryostat/cryostat-storage:4.0.2-dev"
66+
value: "quay.io/cryostat/cryostat-storage:cryostat-v4.0"
6767
- equal:
6868
path: spec.template.spec.containers[?(@.name=='cryostat-storage')].imagePullPolicy
69-
value: "IfNotPresent"
69+
value: "Always"
7070
- equal:
7171
path: spec.template.spec.containers[?(@.name=='cryostat-storage')].env[?(@.name=='CRYOSTAT_BUCKETS')].value
7272
value: "archivedrecordings,archivedreports,eventtemplates,probes"
@@ -349,7 +349,7 @@ tests:
349349
asserts:
350350
- equal:
351351
path: spec.template.spec.containers[?(@.name=='cryostat-storage')].imagePullPolicy
352-
value: IfNotPresent
352+
value: "Always"
353353

354354
- it: should verify image pull policies for release versions
355355
set:

0 commit comments

Comments
 (0)