fix(external-services): Add otterize annotations for clamav distributed

This commit is contained in:
Sven-Erik Schmidt
2025-10-07 14:01:49 +02:00
parent 93e7a52354
commit 35c5e44bc3
4 changed files with 22 additions and 6 deletions

View File

@@ -69,7 +69,10 @@ public-sector-ui:
pullPolicy: {{ .Values.global.imagePullPolicy | quote }}
replicaCount: {{ .Values.replicas.openxchangePublicSectorUI }}
podAnnotations:
{{ .Values.annotations.openxchangePublicSectorUi.pod | toYaml | nindent 4 }}
intents.otterize.com/service-name: open-xchange-public-sector-ui
{{- with .Values.annotations.openxchangePublicSectorUi.pod }}
{{ . | toYaml | nindent 4 }}
{{- end }}
resources:
{{ .Values.resources.openxchangePublicSectorUI | toYaml | nindent 4 }}
securityContext:
@@ -356,7 +359,6 @@ appsuite:
runAsNonRoot: true
runAsUser: 1001
runAsGroup: 1001
privileged: false
seccompProfile:
type: "RuntimeDefault"
seLinuxOptions:

View File

@@ -84,7 +84,10 @@ freshclam:
tag: {{ .Values.images.freshclam.tag | quote }}
imagePullPolicy: {{ .Values.global.imagePullPolicy | quote }}
podAnnotations:
{{ .Values.annotations.servicesExternalClamavDistributed.freshclamPod | toYaml | nindent 4 }}
intents.otterize.com/service-name: "clamav-freshclam"
{{- with .Values.annotations.servicesExternalClamavDistributed.freshclamPod }}
{{ . | toYaml | nindent 4 }}
{{- end }}
podSecurityContext:
enabled: true
fsGroup: 101
@@ -132,7 +135,10 @@ icap:
tag: {{ .Values.images.icap.tag | quote }}
imagePullPolicy: {{ .Values.global.imagePullPolicy | quote }}
podAnnotations:
{{ .Values.annotations.servicesExternalClamavDistributed.icapPod | toYaml | nindent 4 }}
intents.otterize.com/service-name: "clamav-icap"
{{- with .Values.annotations.servicesExternalClamavDistributed.icapPod }}
{{ . | toYaml | nindent 4 }}
{{- end }}
podSecurityContext:
enabled: true
fsGroup: 101
@@ -172,7 +178,10 @@ milter:
tag: {{ .Values.images.milter.tag | quote }}
imagePullPolicy: {{ .Values.global.imagePullPolicy | quote }}
podAnnotations:
{{ .Values.annotations.servicesExternalClamavDistributed.milterPod | toYaml | nindent 4 }}
intents.otterize.com/service-name: "clamav-milter"
{{- with .Values.annotations.servicesExternalClamavDistributed.milterPod }}
{{ . | toYaml | nindent 4 }}
{{- end }}
podSecurityContext:
enabled: true
fsGroup: 101

View File

@@ -30,7 +30,7 @@ image:
imagePullPolicy: {{ .Values.global.imagePullPolicy | quote }}
podAnnotations:
intents.otterize.com/service-name: "dkimpy"
intents.otterize.com/service-name: "dkimpy-milter"
{{- with .Values.annotations.servicesExternalDkimpy.service }}
{{ . | toYaml | nindent 2 }}
{{- end }}

View File

@@ -376,7 +376,12 @@ annotations:
clamdPod: ~
clamdService: ~
clamdServiceAccount: ~
icapCommon: ~
icapPod: ~
icapService: ~
icapServiceAccount: ~
freshclamCommon: ~
freshclamPod: ~
freshclamService: ~
freshclamServiceAccount: ~
milterCommon: ~