Skip to content

Commit

Permalink
fix(charts/authentik): hpa yaml memory was invalid
Browse files Browse the repository at this point in the history
  • Loading branch information
Joris Hänseler committed Aug 6, 2024
1 parent d3b2582 commit f20d779
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
5 changes: 3 additions & 2 deletions charts/authentik/templates/server/hpa.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,9 @@ spec:
- type: Resource
resource:
name: memory
target: Utilization
averageUtilization: {{ . }}
target:
type: Utilization
averageUtilization: {{ . }}
{{- end }}
{{- with .Values.server.autoscaling.targetCPUUtilizationPercentage }}
- type: Resource
Expand Down
5 changes: 3 additions & 2 deletions charts/authentik/templates/worker/hpa.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,9 @@ spec:
- type: Resource
resource:
name: memory
target: Utilization
averageUtilization: {{ . }}
target:
type: Utilization
averageUtilization: {{ . }}
{{- end }}
{{- with .Values.worker.autoscaling.targetCPUUtilizationPercentage }}
- type: Resource
Expand Down

0 comments on commit f20d779

Please sign in to comment.