aboutsummaryrefslogtreecommitdiffstats
path: root/kubernetes/aai/components/aai-traversal/templates/autoscaling.yaml
diff options
context:
space:
mode:
authorAndreas Geissler <andreas-geissler@telekom.de>2024-12-12 11:34:05 +0000
committerGerrit Code Review <gerrit@onap.org>2024-12-12 11:34:05 +0000
commitbaa6822ac0435a5b4d2e2fc490e238163bedb34c (patch)
treed20410331bd422ef20c8f6a7829be88d43c0bb68 /kubernetes/aai/components/aai-traversal/templates/autoscaling.yaml
parent5f8008ea8d1aa700a26b7ced5d43aacbcf23107a (diff)
parent23428032527583798d5e42aa96555728cc71a06d (diff)
Merge "[AAI] Fix Kyverno Policy violations"
Diffstat (limited to 'kubernetes/aai/components/aai-traversal/templates/autoscaling.yaml')
-rw-r--r--kubernetes/aai/components/aai-traversal/templates/autoscaling.yaml9
1 files changed, 1 insertions, 8 deletions
diff --git a/kubernetes/aai/components/aai-traversal/templates/autoscaling.yaml b/kubernetes/aai/components/aai-traversal/templates/autoscaling.yaml
index 76d2611f16..a14a9b5bda 100644
--- a/kubernetes/aai/components/aai-traversal/templates/autoscaling.yaml
+++ b/kubernetes/aai/components/aai-traversal/templates/autoscaling.yaml
@@ -1,14 +1,7 @@
{{- if .Values.autoscaling.enabled }}
apiVersion: autoscaling/v2
kind: HorizontalPodAutoscaler
-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 }}
spec:
scaleTargetRef:
apiVersion: apps/v1