Skip to content

Commit

Permalink
Revert Prometheus RSocket Proxy to 2.0.0-M2
Browse files Browse the repository at this point in the history
  • Loading branch information
corneil committed Dec 10, 2024
1 parent 0219809 commit 7e0244c
Show file tree
Hide file tree
Showing 15 changed files with 10 additions and 109 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,7 @@ public SecurityFilterChain filterChain(HttpSecurity http) throws Exception {
auth.userInfoEndpoint(customizer -> {
customizer.userService(plainOauth2UserService).oidcUserService(oidcUserService);
});
auth.defaultSuccessUrl(authorizationProperties.getDashboardUrl());
});

http.oauth2ResourceServer(resourceserver -> {
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@ spring:
client-secret: '090RucamvekrMLyGHMr4lkHX9xhAlsqK'
provider: 'keycloak'
authorization-grant-type: 'authorization_code'
# client-authentication-method: # unsure of value
scope:
- openid
- roles
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@ spring:
client-secret: '090RucamvekrMLyGHMr4lkHX9xhAlsqK'
provider: 'keycloak'
authorization-grant-type: 'authorization_code'
# client-authentication-method: # unsure of value
scope:
- openid
- roles
Expand Down
2 changes: 1 addition & 1 deletion src/carvel/config/values/values.yml
Original file line number Diff line number Diff line change
Expand Up @@ -112,5 +112,5 @@ scdf:
enabled: false
image:
repository: micrometermetrics/prometheus-rsocket-proxy
tag: 1.5.3
tag: 2.0.0-M2
digest: ""
2 changes: 1 addition & 1 deletion src/carvel/docs/configuration-options.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -597,7 +597,7 @@ No
Type:::
String
Default Value:::
1.5.3
2.0.0-M2

[[configuration-options-scdf.feature.monitoring.prometheusRsocketProxy.image.digest]]`scdf.feature.monitoring.prometheusRsocketProxy.image.digest`::
Description:::
Expand Down
2 changes: 1 addition & 1 deletion src/deploy/carvel/load-images.sh
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ else
sh "$K8S/load-image.sh" "springcloud/spring-cloud-dataflow-server" "$DATAFLOW_VERSION" true
fi
if [ "$PROMETHEUS" = "true" ]; then
sh "$K8S/load-image.sh" "micrometermetrics/prometheus-rsocket-proxy" "1.5.3" false
sh "$K8S/load-image.sh" "micrometermetrics/prometheus-rsocket-proxy" "2.0.0-M2" false
fi
if [ "$REGISTRY" = "" ]; then
REGISTRY=springcloud
Expand Down
2 changes: 1 addition & 1 deletion src/deploy/images/pull-prometheus-rsocket-proxy.sh
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
#!/bin/bash
docker pull "micrometermetrics/prometheus-rsocket-proxy:1.5.3"
docker pull "micrometermetrics/prometheus-rsocket-proxy:2.0.0-M2"
2 changes: 1 addition & 1 deletion src/deploy/k8s/deploy-scdf.sh
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ if [ "$PROMETHEUS" = "true" ] || [ "$METRICS" = "prometheus" ]; then
if [ "$K8S_DRIVER" != "tmc" ] && [ "$K8S_DRIVER" != "gke" ]; then
sh "$SCDIR/load-image.sh" "springcloud/spring-cloud-dataflow-grafana-prometheus:$DATAFLOW_VERSION" false
sh "$SCDIR/load-image.sh" "prom/prometheus:v2.37.8"
sh "$SCDIR/load-image.sh" "micrometermetrics/prometheus-rsocket-proxy:1.5.3"
sh "$SCDIR/load-image.sh" "micrometermetrics/prometheus-rsocket-proxy:2.0.0-M2"
fi
set +e
kubectl create --namespace "$NS" serviceaccount prometheus-rsocket-proxy
Expand Down
2 changes: 1 addition & 1 deletion src/docker-compose/docker-compose-prometheus.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ services:
#- SPRING_APPLICATION_JSON={"spring.jpa.properties.hibernate.generate_statistics":true}

prometheus-rsocket-proxy:
image: micrometermetrics/prometheus-rsocket-proxy:1.5.3
image: micrometermetrics/prometheus-rsocket-proxy:2.0.0-M2
container_name: prometheus-rsocket-proxy
expose:
- '9096'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ spec:
serviceAccountName: prometheus-rsocket-proxy
containers:
- name: prometheus-rsocket-proxy
image: micrometermetrics/prometheus-rsocket-proxy:1.5.3
image: micrometermetrics/prometheus-rsocket-proxy:2.0.0-M2
imagePullPolicy: IfNotPresent
ports:
- name: scrape
Expand Down
1 change: 0 additions & 1 deletion src/local/application-dataflow-keycloak.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ spring:
client-secret: '090RucamvekrMLyGHMr4lkHX9xhAlsqK'
provider: 'keycloak'
authorization-grant-type: 'authorization_code'
# client-authentication-method: # unsure of value
scope:
- openid
- roles
Expand Down
1 change: 0 additions & 1 deletion src/local/application-skipper-keycloak.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ spring:
client-secret: '090RucamvekrMLyGHMr4lkHX9xhAlsqK'
provider: 'keycloak'
authorization-grant-type: 'authorization_code'
# client-authentication-method: ''
scope:
- openid
- roles
Expand Down
2 changes: 1 addition & 1 deletion src/templates/docker-compose/docker-compose-prometheus.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ services:
#- SPRING_APPLICATION_JSON={"spring.jpa.properties.hibernate.generate_statistics":true}

prometheus-rsocket-proxy:
image: micrometermetrics/prometheus-rsocket-proxy:1.5.3
image: micrometermetrics/prometheus-rsocket-proxy:2.0.0-M3
container_name: prometheus-rsocket-proxy
expose:
- '9096'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ spec:
serviceAccountName: prometheus-rsocket-proxy
containers:
- name: prometheus-rsocket-proxy
image: micrometermetrics/prometheus-rsocket-proxy:1.5.3
image: micrometermetrics/prometheus-rsocket-proxy:2.0.0-M2
imagePullPolicy: IfNotPresent
ports:
- name: scrape
Expand Down

0 comments on commit 7e0244c

Please sign in to comment.