Add exportarr

This commit is contained in:
Jonny Ervine 2023-10-17 21:46:33 +08:00
parent f14a4cf28f
commit 2391a2b616

View File

@ -23,30 +23,45 @@ spec:
securityContext: securityContext:
{{- toYaml .Values.podSecurityContext | nindent 8 }} {{- toYaml .Values.podSecurityContext | nindent 8 }}
containers: containers:
- name: {{ .Chart.Name }} - args:
securityContext: - exportarr
{{- toYaml .Values.securityContext | nindent 12 }} - radarr
image: "{{ .Values.image.repository }}:{{ .Chart.AppVersion }}" name: radarr-metrics
imagePullPolicy: {{ .Values.image.pullPolicy }} image: ghcr.io/onedr0p/exportarr:latest
command: imagePullPolicy: IfNotPresent
ports: ports:
- name: radarr - name: radarr-metrics
containerPort: 7878 containerPort: 9707
protocol: TCP protocol: TCP
livenessProbe: env:
tcpSocket: - name: PORT
port: 7878 value: "9707"
readinessProbe: - name: URL
tcpSocket: value: "http://127.0.0.1:7878"
port: 7878 - name: {{ .Chart.Name }}
resources: securityContext:
{{- toYaml .Values.resources | nindent 12 }} {{- toYaml .Values.securityContext | nindent 12 }}
volumeMounts: image: "{{ .Values.image.repository }}:{{ .Chart.AppVersion }}"
- name: radarr-config imagePullPolicy: {{ .Values.image.pullPolicy }}
mountPath: /config command:
- name: radarr-media ports:
mountPath: /movies - name: radarr
subPath: movies containerPort: 7878
protocol: TCP
livenessProbe:
tcpSocket:
port: 7878
readinessProbe:
tcpSocket:
port: 7878
resources:
{{- toYaml .Values.resources | nindent 12 }}
volumeMounts:
- name: radarr-config
mountPath: /config
- name: radarr-media
mountPath: /movies
subPath: movies
volumes: volumes:
{{- if and .Values.config.persistence.enabled .Values.config.persistence.existingClaim }} {{- if and .Values.config.persistence.enabled .Values.config.persistence.existingClaim }}
- name: radarr-config - name: radarr-config