Add exportarr
This commit is contained in:
parent
f14a4cf28f
commit
2391a2b616
@ -23,30 +23,45 @@ spec:
|
||||
securityContext:
|
||||
{{- toYaml .Values.podSecurityContext | nindent 8 }}
|
||||
containers:
|
||||
- name: {{ .Chart.Name }}
|
||||
securityContext:
|
||||
{{- toYaml .Values.securityContext | nindent 12 }}
|
||||
image: "{{ .Values.image.repository }}:{{ .Chart.AppVersion }}"
|
||||
imagePullPolicy: {{ .Values.image.pullPolicy }}
|
||||
command:
|
||||
ports:
|
||||
- name: radarr
|
||||
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
|
||||
- args:
|
||||
- exportarr
|
||||
- radarr
|
||||
name: radarr-metrics
|
||||
image: ghcr.io/onedr0p/exportarr:latest
|
||||
imagePullPolicy: IfNotPresent
|
||||
ports:
|
||||
- name: radarr-metrics
|
||||
containerPort: 9707
|
||||
protocol: TCP
|
||||
env:
|
||||
- name: PORT
|
||||
value: "9707"
|
||||
- name: URL
|
||||
value: "http://127.0.0.1:7878"
|
||||
- name: {{ .Chart.Name }}
|
||||
securityContext:
|
||||
{{- toYaml .Values.securityContext | nindent 12 }}
|
||||
image: "{{ .Values.image.repository }}:{{ .Chart.AppVersion }}"
|
||||
imagePullPolicy: {{ .Values.image.pullPolicy }}
|
||||
command:
|
||||
ports:
|
||||
- name: radarr
|
||||
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:
|
||||
{{- if and .Values.config.persistence.enabled .Values.config.persistence.existingClaim }}
|
||||
- name: radarr-config
|
||||
|
||||
Loading…
Reference in New Issue
Block a user