Skip to content

Commit ce76fb9

Browse files
committed
Fix non root values
1 parent 59c3e90 commit ce76fb9

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

charts/posthog/templates/worker-hpa.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ spec:
1010
kind: Deployment
1111
apiVersion: apps/v1
1212
name: {{ template "posthog.fullname" $ }}-{{ .name }}-worker
13-
minReplicas: {{ .Values.worker.hpa.minpods }}
14-
maxReplicas: {{ .Values.worker.hpa.maxpods }}
13+
minReplicas: {{ $.Values.worker.hpa.minpods }}
14+
maxReplicas: {{ $.Values.worker.hpa.maxpods }}
1515
metrics:
1616
{{- with $.Values.worker.hpa.cputhreshold }}
1717
- type: Resource

charts/posthog/tests/worker-hpa.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ tests:
6666
scaleTargetRef:
6767
apiVersion: apps/v1
6868
kind: Deployment
69-
name: RELEASE-NAME-posthog-worker
69+
name: RELEASE-NAME-posthog-default-worker
7070
minReplicas: 2
7171
maxReplicas: 10
7272
metrics:

0 commit comments

Comments
 (0)