File tree Expand file tree Collapse file tree 2 files changed +30
-30
lines changed Expand file tree Collapse file tree 2 files changed +30
-30
lines changed Original file line number Diff line number Diff line change @@ -9,14 +9,14 @@ metadata:
99spec :
1010 serviceAccountName : tty-$SUB
1111 securityContext :
12- runAsUser : 1000
13- runAsGroup : 1000
14- volumes :
15- - name : kconfig
16- configMap :
17- name : kconfig-team-$TARGET_TEAM
12+ runAsNonRoot : true
13+ seccompProfile :
14+ type : RuntimeDefault
15+ runAsUser : 1001
16+ runAsGroup : 1001
17+ fsGroup : 1001
1818 containers :
19- - image : linode/apl-tty:1.2.1
19+ - image : linode/apl-tty:1.2.5
2020 name : po
2121 resources :
2222 requests :
@@ -25,12 +25,12 @@ spec:
2525 limits :
2626 memory : ' 256Mi'
2727 cpu : ' 500m'
28- volumeMounts :
29- - name : kconfig
30- mountPath : /etc/kconfig
31- command :
32- - bash
33- - -c
34- - bash /etc/kconfig/kconfig.sh && ttyd -w /home/user -p 8080 tmux new -A
28+ env :
29+ - name : NAMESPACE
30+ value : team-$TARGET_TEAM
31+ securityContext :
32+ allowPrivilegeEscalation : false
33+ capabilities :
34+ drop :
35+ - ALL
3536---
36-
Original file line number Diff line number Diff line change @@ -9,14 +9,14 @@ metadata:
99spec :
1010 serviceAccountName : tty-$SUB
1111 securityContext :
12- runAsUser : 1000
13- runAsGroup : 1000
14- volumes :
15- - name : kconfig
16- configMap :
17- name : kconfig-team-$TARGET_TEAM
12+ runAsNonRoot : true
13+ seccompProfile :
14+ type : RuntimeDefault
15+ runAsUser : 1001
16+ runAsGroup : 1001
17+ fsGroup : 1001
1818 containers :
19- - image : linode/apl-tty:1.2.1
19+ - image : linode/apl-tty:1.2.5
2020 name : po
2121 resources :
2222 requests :
@@ -25,12 +25,12 @@ spec:
2525 limits :
2626 memory : ' 256Mi'
2727 cpu : ' 500m'
28- volumeMounts :
29- - name : kconfig
30- mountPath : /etc/kconfig
31- command :
32- - bash
33- - -c
34- - bash /etc/kconfig/kconfig.sh && ttyd -w /home/user -p 8080 tmux new -A
28+ env :
29+ - name : NAMESPACE
30+ value : team-$TARGET_TEAM
31+ securityContext :
32+ allowPrivilegeEscalation : false
33+ capabilities :
34+ drop :
35+ - ALL
3536---
36-
You can’t perform that action at this time.
0 commit comments