Skip to content

Commit 5004e80

Browse files
Auto terminate debug pods/nis 207911 (#5)
* change debug image to terminate automatically NIS-207911 * update Azure CLI version on debug image * add restartPolicy: Never to also make pod complete --------- Co-authored-by: Peter Foldberg <pfoldberg@live.dk>
1 parent c2361c6 commit 5004e80

3 files changed

Lines changed: 3 additions & 1 deletion

File tree

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
FROM ubuntu:22.04
22

3-
ARG AZ_CLI_VERSION=2.59.0
3+
ARG AZ_CLI_VERSION=2.72.0
44

55
RUN useradd -u 10001 scratchuser
66
RUN groupadd -g 30001 debuggroup

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ metadata:
2020
netic.dk/network-rules-egress: app-name
2121
netic.dk/network-component: other-app-name
2222
spec:
23+
restartPolicy: Never
2324
securityContext:
2425
runAsUser: 10001
2526
runAsGroup: 30001

debugger.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ metadata:
99
netic.dk/network-rules-egress: app-name
1010
netic.dk/network-component: other-app-name
1111
spec:
12+
restartPolicy: Never
1213
securityContext:
1314
runAsUser: 10001
1415
runAsGroup: 30001

0 commit comments

Comments
 (0)