ops: configure PKI and scoped OpenBao identities

This commit is contained in:
2026-11-06 21:14:49 +03:00
parent 48918e8b19
commit ee547e5523
64 changed files with 2454 additions and 235 deletions
+4
View File
@@ -10,7 +10,11 @@ RUN LDFLAGS="$(MC_RELEASE=RELEASE go run buildscripts/gen-ldflags.go)" && \
FROM alpine:3.22.2
RUN apk add --no-cache curl openssl postgresql17-client redis && \
addgroup -g 10001 messenger && \
adduser -D -H -u 10001 -G messenger messenger
COPY --from=build /out/mc /usr/local/bin/mc
COPY infra/minio/bootstrap.sh /usr/local/bin/bootstrap.sh
USER 10001:10001
ENTRYPOINT ["mc"]