Skip to content

Commit

Permalink
Switch debian11 to debian12 for crd-client image (#3573)
Browse files Browse the repository at this point in the history
  • Loading branch information
Kalaiselvi84 authored Jan 9, 2024
1 parent 2764e2f commit 19a09ad
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion examples/crd-client/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ COPY . .
RUN CGO_ENABLED=0 GOOS=linux go build -a -installsuffix cgo -o client .

# Create the final image that will run the webhook server for FleetAutoscaler webhook policy
FROM gcr.io/distroless/static-debian11:nonroot
FROM gcr.io/distroless/static-debian12:nonroot

COPY --from=builder /go/src/crd-client/client /

Expand Down
4 changes: 2 additions & 2 deletions examples/crd-client/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,9 @@ REPOSITORY ?=
PROD_REPO ?= us-docker.pkg.dev/agones-images/examples

ifeq ($(REPOSITORY),)
server_tag := crd-client:0.12
server_tag := crd-client:0.13
else
server_tag := $(REPOSITORY)/crd-client:0.12
server_tag := $(REPOSITORY)/crd-client:0.13
endif

# _____ _
Expand Down
2 changes: 1 addition & 1 deletion examples/crd-client/create-gs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ spec:
cpu: 500m
ephemeral-storage: 1Gi
memory: 2Gi
image: us-docker.pkg.dev/agones-images/examples/crd-client:0.12
image: us-docker.pkg.dev/agones-images/examples/crd-client:0.13
imagePullPolicy: Always
env:
- name: GAMESERVER_IMAGE
Expand Down

0 comments on commit 19a09ad

Please sign in to comment.