kuma-glpi-bridge: webhook receiver opening GLPI incident tickets
Go service: Kuma webhook -> GLPI REST (two-step session) ticket per monitor down-event, dedupe while open, recovery followup + solve on up. Distroless image; CI = gofmt/vet/build/secret-scan. Ticket: https://projects.knownelement.com/issues/824
This commit is contained in:
+10
@@ -0,0 +1,10 @@
|
||||
FROM golang:1.23-alpine AS build
|
||||
WORKDIR /src
|
||||
COPY go.mod ./
|
||||
COPY cmd/ ./cmd/
|
||||
RUN go build -ldflags="-s -w" -o /out/bridge ./cmd/bridge
|
||||
FROM scratch
|
||||
COPY --from=build /out/bridge /bridge
|
||||
USER 65532:65532
|
||||
EXPOSE 8080
|
||||
ENTRYPOINT ["/bridge"]
|
||||
Reference in New Issue
Block a user