diff --git a/k8s/apps/frigate/templates/deployment.yaml b/k8s/apps/frigate/templates/deployment.yaml index 0825f71..8c7ffee 100644 --- a/k8s/apps/frigate/templates/deployment.yaml +++ b/k8s/apps/frigate/templates/deployment.yaml @@ -3,6 +3,10 @@ kind: Deployment metadata: name: "{{ .Release.Name }}" spec: + replicas: 1 + revisionHistoryLimit: 3 + strategy: + type: RollingUpdate selector: matchLabels: {{ .Release.Name }}/app: frigate @@ -24,6 +28,9 @@ spec: {{- end }} containers: - name: main + imagePullPolicy: "IfNotPresent" + securityContext: + privileged: true image: "{{ .Values.image }}:{{ .Values.tag | default .Chart.AppVersion }}" resources: {{- .Values.resources | toYaml | nindent 14}}