Skip to content

Commit

Permalink
fix(reports): update deprecated quarkus properties (#818)
Browse files Browse the repository at this point in the history
  • Loading branch information
mwangggg authored May 10, 2024
1 parent d7b0379 commit 0a426ad
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ metadata:
capabilities: Seamless Upgrades
categories: Monitoring, Developer Tools
containerImage: quay.io/cryostat/cryostat-operator:2.5.0-dev
createdAt: "2024-04-16T20:46:24Z"
createdAt: "2024-05-10T19:04:02Z"
description: JVM monitoring and profiling tool
operatorframework.io/initialization-resource: |-
{
Expand Down
12 changes: 6 additions & 6 deletions config/scorecard/patches/custom.config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
entrypoint:
- cryostat-scorecard-tests
- operator-install
image: "quay.io/cryostat/cryostat-operator-scorecard:2.5.0-20240416204604"
image: "quay.io/cryostat/cryostat-operator-scorecard:2.5.0-20240510190403"
labels:
suite: cryostat
test: operator-install
Expand All @@ -18,7 +18,7 @@
entrypoint:
- cryostat-scorecard-tests
- cryostat-cr
image: "quay.io/cryostat/cryostat-operator-scorecard:2.5.0-20240416204604"
image: "quay.io/cryostat/cryostat-operator-scorecard:2.5.0-20240510190403"
labels:
suite: cryostat
test: cryostat-cr
Expand All @@ -28,7 +28,7 @@
entrypoint:
- cryostat-scorecard-tests
- cryostat-multi-namespace
image: "quay.io/cryostat/cryostat-operator-scorecard:2.5.0-20240416204604"
image: "quay.io/cryostat/cryostat-operator-scorecard:2.5.0-20240510190403"
labels:
suite: cryostat
test: cryostat-multi-namespace
Expand All @@ -38,7 +38,7 @@
entrypoint:
- cryostat-scorecard-tests
- cryostat-recording
image: "quay.io/cryostat/cryostat-operator-scorecard:2.5.0-20240416204604"
image: "quay.io/cryostat/cryostat-operator-scorecard:2.5.0-20240510190403"
labels:
suite: cryostat
test: cryostat-recording
Expand All @@ -48,7 +48,7 @@
entrypoint:
- cryostat-scorecard-tests
- cryostat-config-change
image: "quay.io/cryostat/cryostat-operator-scorecard:2.5.0-20240416204604"
image: "quay.io/cryostat/cryostat-operator-scorecard:2.5.0-20240510190403"
labels:
suite: cryostat
test: cryostat-config-change
Expand All @@ -58,7 +58,7 @@
entrypoint:
- cryostat-scorecard-tests
- cryostat-report
image: "quay.io/cryostat/cryostat-operator-scorecard:2.5.0-20240416204604"
image: "quay.io/cryostat/cryostat-operator-scorecard:2.5.0-20240510190403"
labels:
suite: cryostat
test: cryostat-report
Original file line number Diff line number Diff line change
Expand Up @@ -477,11 +477,11 @@ func NewPodForReports(cr *model.CryostatInstance, imageTags *ImageTags, tls *TLS
Value: strconv.Itoa(int(constants.ReportsContainerPort)),
},
{
Name: "QUARKUS_HTTP_SSL_CERTIFICATE_KEY_FILE",
Name: "QUARKUS_HTTP_SSL_CERTIFICATE_KEY_FILES",
Value: fmt.Sprintf("/var/run/secrets/operator.cryostat.io/%s/%s", tls.ReportsSecret, corev1.TLSPrivateKeyKey),
},
{
Name: "QUARKUS_HTTP_SSL_CERTIFICATE_FILE",
Name: "QUARKUS_HTTP_SSL_CERTIFICATE_FILES",
Value: fmt.Sprintf("/var/run/secrets/operator.cryostat.io/%s/%s", tls.ReportsSecret, corev1.TLSCertKey),
},
{
Expand Down
4 changes: 2 additions & 2 deletions internal/test/resources.go
Original file line number Diff line number Diff line change
Expand Up @@ -1556,10 +1556,10 @@ func (r *TestResources) NewReportsEnvironmentVariables(resources *corev1.Resourc
Name: "QUARKUS_HTTP_SSL_PORT",
Value: "10000",
}, corev1.EnvVar{
Name: "QUARKUS_HTTP_SSL_CERTIFICATE_KEY_FILE",
Name: "QUARKUS_HTTP_SSL_CERTIFICATE_KEY_FILES",
Value: fmt.Sprintf("/var/run/secrets/operator.cryostat.io/%s-reports-tls/tls.key", r.Name),
}, corev1.EnvVar{
Name: "QUARKUS_HTTP_SSL_CERTIFICATE_FILE",
Name: "QUARKUS_HTTP_SSL_CERTIFICATE_FILES",
Value: fmt.Sprintf("/var/run/secrets/operator.cryostat.io/%s-reports-tls/tls.crt", r.Name),
}, corev1.EnvVar{
Name: "QUARKUS_HTTP_INSECURE_REQUESTS",
Expand Down

0 comments on commit 0a426ad

Please sign in to comment.