Skip to content

Commit

Permalink
fix(reports): update deprecated quarkus properties (backport #818) (#819
Browse files Browse the repository at this point in the history
)

* fix(reports): update deprecated quarkus properties (#818)

(cherry picked from commit 0a426ad)

# Conflicts:
#	bundle/manifests/cryostat-operator.clusterserviceversion.yaml
#	config/scorecard/patches/custom.config.yaml

* fixup! fix(reports): update deprecated quarkus properties (#818)

* regenerate, update scorecard image

* correct openshift-oauth-proxy image tag

---------

Co-authored-by: Ming Yu Wang <[email protected]>
Co-authored-by: Andrew Azores <[email protected]>
  • Loading branch information
3 people authored May 10, 2024
1 parent dc5df9b commit efec98e
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ metadata:
capabilities: Seamless Upgrades
categories: Monitoring, Developer Tools
containerImage: quay.io/cryostat/cryostat-operator:3.0.0-dev
createdAt: "2024-05-08T18:54:35Z"
createdAt: "2024-05-10T19:40:13Z"
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:3.0.0-20240416210645"
image: "quay.io/cryostat/cryostat-operator-scorecard:3.0.0-20240510194331"
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:3.0.0-20240416210645"
image: "quay.io/cryostat/cryostat-operator-scorecard:3.0.0-20240510194331"
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:3.0.0-20240416210645"
image: "quay.io/cryostat/cryostat-operator-scorecard:3.0.0-20240510194331"
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:3.0.0-20240416210645"
image: "quay.io/cryostat/cryostat-operator-scorecard:3.0.0-20240510194331"
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:3.0.0-20240416210645"
image: "quay.io/cryostat/cryostat-operator-scorecard:3.0.0-20240510194331"
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:3.0.0-20240416210645"
image: "quay.io/cryostat/cryostat-operator-scorecard:3.0.0-20240510194331"
labels:
suite: cryostat
test: cryostat-report
Original file line number Diff line number Diff line change
Expand Up @@ -492,11 +492,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
2 changes: 1 addition & 1 deletion internal/controllers/const_generated.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions internal/test/resources.go
Original file line number Diff line number Diff line change
Expand Up @@ -1431,10 +1431,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 efec98e

Please sign in to comment.