Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: change container UID and GID #4911

Merged
merged 2 commits into from
Oct 23, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -148,11 +148,15 @@ Adding a new version? You'll need three changes:
### Changed

- Update paths of Konnect APIs from `runtime_groups/*` to `control-planes/*`.
[#4566](https://github.com/Kong/kubernetes-ingress-controller/pull/4566)
[#4566](https://github.com/Kong/kubernetes-ingress-controller/pull/4566)
- Docker images now use UID and GID 1000 to match Kong images. This should have
no user-facing effect.
[#4911](https://github.com/Kong/kubernetes-ingress-controller/pull/4911)
- Bump version of gateway API to `1.0.0-rc1` and support `Gateway`, `GatewayClass`
and `HTTPRoute` in API version `gateway.networking.k8s.io/v1`.
[#4893](https://github.com/Kong/kubernetes-ingress-controller/pull/4893)


### Added

- Added support for expression-based Kong routes for `TLSRoute`. This requires
Expand Down
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ RUN CGO_ENABLED=0 GOOS=linux GOARCH="${TARGETARCH}" GO111MODULE=on make _build.f
FROM gcr.io/distroless/static:nonroot AS distroless-fips
WORKDIR /
COPY --from=builder-fips /workspace/manager .
USER 65532:65532
USER 1000:1000

ENTRYPOINT ["/manager"]

Expand All @@ -100,6 +100,6 @@ LABEL name="Kong Ingress Controller" \

WORKDIR /
COPY --from=builder /workspace/bin/manager .
USER 65532:65532
USER 1000:1000

ENTRYPOINT ["/manager"]