Skip to content

Commit

Permalink
Re-enable serviceMonitors
Browse files Browse the repository at this point in the history
Signed-off-by: Nicolas Bigler <[email protected]>
  • Loading branch information
TheBigLee committed Aug 6, 2024
1 parent fabdc9c commit c80d514
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 7 deletions.
2 changes: 1 addition & 1 deletion package/crossplane.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@ kind: Function
metadata:
name: function-appcat
spec:
image: ghcr.io/vshn/appcat:latest
image: ghcr.io/vshn/appcat:keycloak_svc_monitor
crossplane:
version: ">=1.14.0"
9 changes: 3 additions & 6 deletions pkg/comp-functions/functions/vshnkeycloak/deploy.go
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ func newValues(ctx context.Context, svc *runtime.ServiceRuntime, comp *vshnv1.VS
{
"name": "JAVA_OPTS_APPEND",
"value": `-Djava.awt.headless=true
-Djgroups.dns.query={{ include "keycloak.fullname" . }}-headless`,
-Djgroups.dns.query={{ include "keycloak.full§name" . }}-headless`,
},
{
"name": "KC_HTTPS_CERTIFICATE_FILE",
Expand Down Expand Up @@ -324,8 +324,6 @@ func newValues(ctx context.Context, svc *runtime.ServiceRuntime, comp *vshnv1.VS
"/opt/keycloak/bin/kc-with-setup.sh",
"--verbose",
"start",
"--http-enabled=true",
"--http-port=8080",
"--hostname-strict=false",
"--spi-events-listener-jboss-logging-success-level=info",
"--spi-events-listener-jboss-logging-error-level=warn",
Expand All @@ -344,10 +342,10 @@ func newValues(ctx context.Context, svc *runtime.ServiceRuntime, comp *vshnv1.VS
"enabled": true,
},
"extraServiceMonitor": map[string]any{
"enabled": false,
"enabled": true,
},
"serviceMonitor": map[string]any{
"enabled": false,
"enabled": true,
},
"resources": map[string]any{
"requests": map[string]any{
Expand Down Expand Up @@ -390,7 +388,6 @@ func newValues(ctx context.Context, svc *runtime.ServiceRuntime, comp *vshnv1.VS
},
"http": map[string]any{
"relativePath": comp.Spec.Parameters.Service.RelativePath,
// "internalPort": "http-internal",
},
"podSecurityContext": nil,
}
Expand Down

0 comments on commit c80d514

Please sign in to comment.