aboutsummaryrefslogtreecommitdiffstats
path: root/kubernetes/aai/components/aai-traversal/templates/autoscaling.yaml
diff options
context:
space:
mode:
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