Skip to content

Commit

Permalink
Fix maxReplicaCount check
Browse files Browse the repository at this point in the history
  • Loading branch information
ejsmith committed Oct 13, 2024
1 parent 6f6cee7 commit c1a0236
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion k8s/exceptionless/templates/api.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ spec:
claimName: {{ template "exceptionless.fullname" . }}-storage
{{- end }}

{{- if not (kindIs "invalid" ( .Values.api | default dict ).replicaCount) }}
{{- if not (kindIs "invalid" ( .Values.api | default dict ).maxReplicaCount) }}
---
apiVersion: autoscaling/v2
kind: HorizontalPodAutoscaler
Expand Down
2 changes: 1 addition & 1 deletion k8s/exceptionless/templates/app.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ spec:
claimName: {{ template "exceptionless.fullname" . }}-storage
{{- end }}

{{- if not (kindIs "invalid" ( .Values.app | default dict ).replicaCount) }}
{{- if not (kindIs "invalid" ( .Values.app | default dict ).maxReplicaCount) }}
---
apiVersion: autoscaling/v2
kind: HorizontalPodAutoscaler
Expand Down

0 comments on commit c1a0236

Please sign in to comment.