File tree Expand file tree Collapse file tree 1 file changed +29
-2
lines changed
charts/opencloud-microservices/deployments/timoni/clamav Expand file tree Collapse file tree 1 file changed +29
-2
lines changed Original file line number Diff line number Diff line change @@ -65,12 +65,39 @@ bundle: {
6565 }
6666 icap : {
6767 image : {
68- registry : string @timoni (runtime:string:CLAMAV_ICAP_IMAGE_REGISTRY )
68+ registry : string @timoni (runtime:string:CLAMAV_ICAP_IMAGE_REGISTRY )
6969 repository : string @timoni (runtime:string:CLAMAV_ICAP_IMAGE_REPOSITORY )
70- tag : string @timoni (runtime:string:CLAMAV_ICAP_IMAGE_TAG )
70+ tag : string @timoni (runtime:string:CLAMAV_ICAP_IMAGE_TAG )
7171 }
72+
7273 settings : {
7374 clamdModClamdHost : string @timoni (runtime:string:CLAMAV_ICAP_CLAMD_HOST )
75+ tmpDir : " /icap-tmp "
76+ }
77+
78+ extraVolumes : [
79+ {
80+ name : " icap-tmp "
81+ emptyDir : {}
82+ }
83+ ]
84+
85+ extraVolumeMounts : [
86+ {
87+ name : " icap-tmp "
88+ mountPath : " /icap-tmp "
89+ }
90+ ]
91+
92+ lifecycleHooks : {
93+ postStart : {
94+ exec : {
95+ command : [
96+ " sh " , " -c " ,
97+ " rm -f /var/run/c-icap/c-icap.* /var/tmp/c-icap.* || true "
98+ ]
99+ }
100+ }
74101 }
75102 }
76103 milter : {
You can’t perform that action at this time.
0 commit comments