diff --git a/template/stacks/ref-implementation/openbao-logging/sidecar-script-configmap.yaml b/template/stacks/ref-implementation/openbao-logging/sidecar-script-configmap.yaml index 0103127..c215cd4 100644 --- a/template/stacks/ref-implementation/openbao-logging/sidecar-script-configmap.yaml +++ b/template/stacks/ref-implementation/openbao-logging/sidecar-script-configmap.yaml @@ -12,11 +12,11 @@ data: start.sh: | #!/bin/sh - echo "Starting mini HTTP server on port 8080..." + echo "Starting mini HTTP server on port 3030..." while true; do echo "Waiting for HTTP POST..." - REQUEST=$(nc -l -p 8080) + REQUEST=$(nc -l -p 3030) echo "$REQUEST" | grep -q "POST /" && { echo "Received POST request, sending SIGHUP..." @@ -26,5 +26,5 @@ data: RESPONSE="HTTP/1.1 405 Method Not Allowed\r\nContent-Length: 18\r\n\r\nMethod Not Allowed" } - echo -e "$RESPONSE" | nc -N localhost 8081 + echo -e "$RESPONSE" | nc -N localhost 3031 done \ No newline at end of file diff --git a/template/stacks/ref-implementation/openbao-logging/sidecar-script-service.yaml b/template/stacks/ref-implementation/openbao-logging/sidecar-script-service.yaml index fcc0291..817ed6c 100644 --- a/template/stacks/ref-implementation/openbao-logging/sidecar-script-service.yaml +++ b/template/stacks/ref-implementation/openbao-logging/sidecar-script-service.yaml @@ -5,8 +5,9 @@ metadata: namespace: openbao spec: selector: - app: openbao + app.kubernetes.io/instance: openbao + component: server ports: - protocol: TCP - port: 8080 - targetPort: 8080 + port: 3030 + targetPort: 3030 diff --git a/template/stacks/ref-implementation/openbao/values.yaml b/template/stacks/ref-implementation/openbao/values.yaml index cc6fd3d..f370ab5 100644 --- a/template/stacks/ref-implementation/openbao/values.yaml +++ b/template/stacks/ref-implementation/openbao/values.yaml @@ -39,7 +39,7 @@ server: image: alpine:latest command: ["/bin/sh", "/tmp/start.sh"] ports: - - containerPort: 8080 + - containerPort: 3030 volumeMounts: - name: sidecar-script mountPath: /tmp/start.sh