mirror of
https://gitlab.kube.huskypup.net/Scooby/Homelabv4.git
synced 2026-08-20 23:16:49 +00:00
- Delete nessus Application CRD, manifests, and bootstrap script - Vendor envoy-gateway Helm chart (v1.6.3) locally to work around ArgoCD v3.3.3 Docker Hub OCI resolution bug - Re-enable auto-sync for envoy-gateway Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
25 lines
669 B
YAML
25 lines
669 B
YAML
{{- if .Values.hpa.enabled }}
|
|
apiVersion: autoscaling/v2
|
|
kind: HorizontalPodAutoscaler
|
|
metadata:
|
|
name: envoy-gateway
|
|
namespace: '{{ $.Release.Namespace }}'
|
|
spec:
|
|
scaleTargetRef:
|
|
apiVersion: apps/v1
|
|
kind: Deployment
|
|
name: envoy-gateway
|
|
{{- if .Values.hpa.minReplicas }}
|
|
minReplicas: {{ .Values.hpa.minReplicas }}
|
|
{{- end }}
|
|
maxReplicas: {{ required ".Values.hps.maxReplicas is required when hpa is enabled" .Values.hpa.maxReplicas }}
|
|
{{- if .Values.hpa.behavior }}
|
|
behavior:
|
|
{{ toYaml .Values.hpa.behavior | indent 4 }}
|
|
{{- end }}
|
|
{{- if .Values.hpa.metrics }}
|
|
metrics:
|
|
{{ toYaml .Values.hpa.metrics | indent 4 }}
|
|
{{- end }}
|
|
{{- end }}
|