aboutsummaryrefslogtreecommitdiffstats
path: root/kubernetes/common/mariadb-galera/templates
diff options
context:
space:
mode:
authorLukasz Rajewski <lukasz.rajewski@t-mobile.pl>2024-04-03 14:12:59 +0000
committerGerrit Code Review <gerrit@onap.org>2024-04-03 14:12:59 +0000
commit6d5a8690d675f65a8ec38b2c03f6fde2c2d2d9b8 (patch)
treea0a041e5e9ce2874018c1023c2c27b0a6161650d /kubernetes/common/mariadb-galera/templates
parente19c074716bed2ad57ae4beb9cedae132c00efa9 (diff)
parentd518f733756ef9d9b1b7015d509906152d6a1288 (diff)
Merge "[COMMON][READINESS] Update readiness image and use service feature"
Diffstat (limited to 'kubernetes/common/mariadb-galera/templates')
-rw-r--r--kubernetes/common/mariadb-galera/templates/backup/cronjob.yaml7
1 files changed, 7 insertions, 0 deletions
diff --git a/kubernetes/common/mariadb-galera/templates/backup/cronjob.yaml b/kubernetes/common/mariadb-galera/templates/backup/cronjob.yaml
index 9f0a786282..f2128693e8 100644
--- a/kubernetes/common/mariadb-galera/templates/backup/cronjob.yaml
+++ b/kubernetes/common/mariadb-galera/templates/backup/cronjob.yaml
@@ -32,6 +32,13 @@ spec:
jobTemplate:
spec:
template:
+ metadata:
+ annotations:
+ # Workarround to exclude K8S API from istio communication
+ # as init-container (readinessCheck) does not work with the
+ # Istio CNI plugin, see:
+ # (https://istio.io/latest/docs/setup/additional-setup/cni/#compatibility-with-application-init-containers)
+ traffic.sidecar.istio.io/excludeOutboundPorts: "443"
spec:
serviceAccountName: {{ include "common.fullname" (dict "suffix" "read" "dot" . )}}
{{ include "common.podSecurityContext" . | indent 10 | trim}}