diff --git a/k8s/apps/frigate/templates/deployment.yaml b/k8s/apps/frigate/templates/deployment.yaml index 98c7245..2659464 100644 --- a/k8s/apps/frigate/templates/deployment.yaml +++ b/k8s/apps/frigate/templates/deployment.yaml @@ -34,7 +34,7 @@ spec: privileged: true image: "{{ .Values.images.frigate.repo }}:{{ .Values.images.frigate.tag | default .Chart.AppVersion }}" resources: - {{- .Values.resources | toYaml | nindent 14}} + {{- .Values.frigate.resources | toYaml | nindent 14}} livenessProbe: httpGet: path: / @@ -110,7 +110,7 @@ spec: privileged: true image: "{{ .Values.images.go2rtc.repo }}:{{ .Values.images.go2rtc.tag | default .Chart.AppVersion }}" resources: - {{- .Values.resources | toYaml | nindent 14}} + {{- .Values.go2rtc.resources | toYaml | nindent 14}} livenessProbe: httpGet: path: / diff --git a/k8s/apps/frigate/values.yaml b/k8s/apps/frigate/values.yaml index 57fe6f9..1ae8242 100644 --- a/k8s/apps/frigate/values.yaml +++ b/k8s/apps/frigate/values.yaml @@ -17,9 +17,17 @@ persistence: claimName: "" resources: - requests: - memory: "1Gi" - cpu: "2" - limits: - memory: "1Gi" - cpu: "2" + frigate: + requests: + memory: "1Gi" + cpu: "2" + limits: + memory: "1Gi" + cpu: "2" + go2rtc: + requests: + memory: "1Gi" + cpu: "1" + limits: + memory: "1Gi" + cpu: "1"