apiVersion: autoscaling/v1
kind: HorizontalPodAutoscaler
metadata:
  annotations:
    cpuCurrentUtilization: "0"
    cpuTargetUtilization: "80"
    memoryCurrentValue: "0"
    memoryTargetValue: 200Mi
  name: '{{ .Values.image.name }}-v1'
  namespace: ""
spec:
  maxReplicas: 5
  minReplicas: 1
  scaleTargetRef:
    apiVersion: apps/v1
    kind: Deployment
    name: '{{ .Values.image.name }}-v1'