UNCLASSIFIED - NO CUI

Skip to content
Snippets Groups Projects
Commit ee2f473e authored by Joe Foster's avatar Joe Foster :speech_balloon: Committed by Ryan Garcia
Browse files

Resolve "Investigate Enabling HorizontalPodAutoscaler Resource in authservice chart"

parent e07eb9d7
No related branches found
No related tags found
1 merge request!2402Resolve "Investigate Enabling HorizontalPodAutoscaler Resource in authservice chart"
......@@ -27,6 +27,13 @@ networkPolicies:
{{- $default := dict "app" (dig "gateways" $gateway "ingressGateway" nil .Values.istio) "istio" nil }}
{{- toYaml (dig "values" "gateways" $gateway "selector" $default .Values.istio) | nindent 4 }}
{{- if or (dig "redis" "enabled" false .Values.addons.authservice.values) (dig "global" "redis_server_uri" "" .Values.addons.authservice.values) }}
autoscaling:
enabled: true
minReplicas: 2
maxReplicas: 3
{{- end }}
{{- if and (dig "redis" "enabled" false .Values.addons.authservice.values) .Values.monitoring.enabled }}
redis-bb:
metrics:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment