diff options
author | Andreas Seelinger <andreas.seelinger@accenture.com> | 2024-11-07 10:20:07 +0100 |
---|---|---|
committer | Andreas Seelinger <andreas.seelinger@accenture.com> | 2024-12-09 12:53:21 +0100 |
commit | 23428032527583798d5e42aa96555728cc71a06d (patch) | |
tree | 82bdc7d9ff753088772a839cfffb6d09592362dd /kubernetes/aai/components/aai-traversal/templates/configmap.yaml | |
parent | 64e996851eb741093e18b8c9948f23dd91b26d96 (diff) |
[AAI] Fix Kyverno Policy violations
- Refactored code for readiness check and use library readinessCheck
- Fixed securityContext settings
- Limit emptyVolume size and make it configurable
- Important: Need to use aai-haproxy docker image version >= 1.15.2
- Refactore meta labels and use common.labels instead
Issue-ID: AAI-4044
Change-Id: I346316e64cb67222836951cf12b3772bbf509c6a
Signed-off-by: Andreas Seelinger <andreas.seelinger@accenture.com>
Diffstat (limited to 'kubernetes/aai/components/aai-traversal/templates/configmap.yaml')
-rw-r--r-- | kubernetes/aai/components/aai-traversal/templates/configmap.yaml | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/kubernetes/aai/components/aai-traversal/templates/configmap.yaml b/kubernetes/aai/components/aai-traversal/templates/configmap.yaml index 905c21f4b3..e9415df278 100644 --- a/kubernetes/aai/components/aai-traversal/templates/configmap.yaml +++ b/kubernetes/aai/components/aai-traversal/templates/configmap.yaml @@ -18,14 +18,7 @@ apiVersion: v1 kind: ConfigMap -metadata: - name: {{ include "common.fullname" . }} - namespace: {{ include "common.namespace" . }} - labels: - app: {{ include "common.name" . }} - chart: {{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }} - release: {{ include "common.release" . }} - heritage: {{ .Release.Service }} +metadata: {{- include "common.resourceMetadata" . | nindent 2 }} data: {{ tpl (.Files.Glob "resources/config/logback.xml").AsConfig . | indent 2 }} {{ tpl (.Files.Glob "resources/config/localhost-access-logback.xml").AsConfig . | indent 2 }} |