Skip to content

Commit

Permalink
Fix non root values
Browse files Browse the repository at this point in the history
  • Loading branch information
frankh committed Jan 17, 2024
1 parent 59c3e90 commit ce76fb9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions charts/posthog/templates/worker-hpa.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ spec:
kind: Deployment
apiVersion: apps/v1
name: {{ template "posthog.fullname" $ }}-{{ .name }}-worker
minReplicas: {{ .Values.worker.hpa.minpods }}
maxReplicas: {{ .Values.worker.hpa.maxpods }}
minReplicas: {{ $.Values.worker.hpa.minpods }}
maxReplicas: {{ $.Values.worker.hpa.maxpods }}
metrics:
{{- with $.Values.worker.hpa.cputhreshold }}
- type: Resource
Expand Down
2 changes: 1 addition & 1 deletion charts/posthog/tests/worker-hpa.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ tests:
scaleTargetRef:
apiVersion: apps/v1
kind: Deployment
name: RELEASE-NAME-posthog-worker
name: RELEASE-NAME-posthog-default-worker
minReplicas: 2
maxReplicas: 10
metrics:
Expand Down

0 comments on commit ce76fb9

Please sign in to comment.