File tree Expand file tree Collapse file tree 1 file changed +10
-0
lines changed
k8s/magiclove/zigbee2mqtt Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -29,6 +29,10 @@ import (
29
29
image : " alpine:3.17.2@sha256:e2e16842c9b54d985bf1ef9242a313f36b856181f188de21313820e177002501 "
30
30
command : [" cp " ]
31
31
args : [" /etc/zigbee2mqtt/configuration.yaml " , " /app/data/configuration.yaml " ]
32
+ resources : limits : {
33
+ (v1 .#ResourceCPU ): " 50m "
34
+ (v1 .#ResourceMemory ): " 8Mi "
35
+ }
32
36
volumeMounts : [{
33
37
name : " config "
34
38
mountPath : " /etc/zigbee2mqtt/configuration.yaml "
@@ -37,6 +41,12 @@ import (
37
41
name : " data "
38
42
mountPath : " /app/data "
39
43
}]
44
+ imagePullPolicy : v1 .#PullIfNotPresent
45
+ securityContext : {
46
+ capabilities : drop : [" ALL " ]
47
+ readOnlyRootFilesystem : true
48
+ allowPrivilegeEscalation : false
49
+ }
40
50
}]
41
51
containers : [{
42
52
name : #Name
You can’t perform that action at this time.
0 commit comments