Skip to content

Commit a76bf72

Browse files
author
Your Name
committed
bump up version
1 parent 637765f commit a76bf72

File tree

1 file changed

+29
-2
lines changed
  • charts/opencloud-microservices/deployments/timoni/clamav

1 file changed

+29
-2
lines changed

charts/opencloud-microservices/deployments/timoni/clamav/clamav.cue

Lines changed: 29 additions & 2 deletions
Original file line numberDiff line numberDiff 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: {

0 commit comments

Comments
 (0)