mirror of
https://github.com/k8s-at-home/charts.git
synced 2025-02-03 07:49:03 +00:00
parent
3d16f4143f
commit
e7ee503cbe
@ -1,8 +1,8 @@
|
|||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
appVersion: 0.9.7-0.13.7
|
appVersion: 1.0.0
|
||||||
description: flood-rtorrent
|
description: rtorrent and flood co-located in the same deployment
|
||||||
name: rtorrent-flood
|
name: rtorrent-flood
|
||||||
version: 2.0.9
|
version: 3.0.0
|
||||||
keywords:
|
keywords:
|
||||||
- rtorrent
|
- rtorrent
|
||||||
- flood
|
- flood
|
||||||
@ -10,8 +10,10 @@ keywords:
|
|||||||
home: https://github.com/billimek/billimek-charts/tree/master/rtorrent-flood
|
home: https://github.com/billimek/billimek-charts/tree/master/rtorrent-flood
|
||||||
icon: https://github.com/jfurrow/flood/blob/master/flood.png?raw=true
|
icon: https://github.com/jfurrow/flood/blob/master/flood.png?raw=true
|
||||||
sources:
|
sources:
|
||||||
- https://hub.docker.com/r/wonderfall/rtorrent-flood
|
- https://hub.docker.com/r/looselyrigorous/rtorrent
|
||||||
- https://github.com/Wonderfall/docker-rtorrent-flood
|
- https://github.com/looselyrigorous/docker-rtorrent
|
||||||
|
- https://github.com/Flood-UI/flood
|
||||||
|
- https://cloud.docker.com/repository/docker/billimek/flood
|
||||||
maintainers:
|
maintainers:
|
||||||
- name: billimek
|
- name: billimek
|
||||||
email: jeff@billimek.com
|
email: jeff@billimek.com
|
||||||
|
@ -22,16 +22,47 @@ spec:
|
|||||||
app.kubernetes.io/instance: {{ .Release.Name }}
|
app.kubernetes.io/instance: {{ .Release.Name }}
|
||||||
spec:
|
spec:
|
||||||
containers:
|
containers:
|
||||||
- name: {{ .Chart.Name }}
|
- name: {{ .Chart.Name }}-rtorrent
|
||||||
image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}"
|
image: "{{ .Values.rtorrent.image.repository }}:{{ .Values.rtorrent.image.tag }}"
|
||||||
imagePullPolicy: {{ .Values.image.pullPolicy }}
|
imagePullPolicy: {{ .Values.rtorrent.image.pullPolicy }}
|
||||||
|
ports:
|
||||||
|
- name: bt
|
||||||
|
containerPort: 49161
|
||||||
|
protocol: TCP
|
||||||
|
readinessProbe:
|
||||||
|
tcpSocket:
|
||||||
|
port: bt
|
||||||
|
livenessProbe:
|
||||||
|
tcpSocket:
|
||||||
|
port: bt
|
||||||
|
env:
|
||||||
|
- name: TZ
|
||||||
|
value: "{{ .Values.timezone }}"
|
||||||
|
- name: PUID
|
||||||
|
value: "{{ .Values.uid }}"
|
||||||
|
- name: PGID
|
||||||
|
value: "{{ .Values.gid }}"
|
||||||
|
volumeMounts:
|
||||||
|
- mountPath: /config
|
||||||
|
name: config
|
||||||
|
- mountPath: /data
|
||||||
|
name: data
|
||||||
|
{{- if .Values.persistence.data.subPath }}
|
||||||
|
subPath: {{ .Values.persistence.data.subPath }}
|
||||||
|
{{ end }}
|
||||||
|
- mountPath: /session
|
||||||
|
name: data
|
||||||
|
subPath: .session
|
||||||
|
- mountPath: /tmp
|
||||||
|
name: socket
|
||||||
|
resources:
|
||||||
|
- name: {{ .Chart.Name }}-flood
|
||||||
|
image: "{{ .Values.flood.image.repository }}:{{ .Values.flood.image.tag }}"
|
||||||
|
imagePullPolicy: {{ .Values.flood.image.pullPolicy }}
|
||||||
ports:
|
ports:
|
||||||
- name: http
|
- name: http
|
||||||
containerPort: 3000
|
containerPort: 3000
|
||||||
protocol: TCP
|
protocol: TCP
|
||||||
- name: bt
|
|
||||||
containerPort: 49184
|
|
||||||
protocol: TCP
|
|
||||||
livenessProbe:
|
livenessProbe:
|
||||||
httpGet:
|
httpGet:
|
||||||
port: http
|
port: http
|
||||||
@ -50,22 +81,20 @@ spec:
|
|||||||
value: "{{ .Values.timezone }}"
|
value: "{{ .Values.timezone }}"
|
||||||
- name: FLOOD_SECRET
|
- name: FLOOD_SECRET
|
||||||
value: "{{ .Values.floodSecret }}"
|
value: "{{ .Values.floodSecret }}"
|
||||||
- name: UID
|
- name: RTORRENT_SOCK
|
||||||
value: "{{ .Values.uid }}"
|
value: "true"
|
||||||
- name: GID
|
|
||||||
value: "{{ .Values.gid }}"
|
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- mountPath: /flood-db
|
|
||||||
name: flood-db
|
|
||||||
- mountPath: /data
|
- mountPath: /data
|
||||||
name: data
|
name: data
|
||||||
{{- if .Values.persistence.data.subPath }}
|
{{- if .Values.persistence.data.subPath }}
|
||||||
subPath: {{ .Values.persistence.data.subPath }}
|
subPath: {{ .Values.persistence.data.subPath }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
- mountPath: /tmp
|
||||||
|
name: socket
|
||||||
resources:
|
resources:
|
||||||
{{ toYaml .Values.resources | indent 12 }}
|
{{ toYaml .Values.resources | indent 12 }}
|
||||||
volumes:
|
volumes:
|
||||||
- name: flood-db
|
- name: config
|
||||||
{{- if .Values.persistence.config.enabled }}
|
{{- if .Values.persistence.config.enabled }}
|
||||||
persistentVolumeClaim:
|
persistentVolumeClaim:
|
||||||
claimName: {{ if .Values.persistence.config.existingClaim }}{{ .Values.persistence.config.existingClaim }}{{- else }}{{ template "rtorrent-flood.fullname" . }}-config{{- end }}
|
claimName: {{ if .Values.persistence.config.existingClaim }}{{ .Values.persistence.config.existingClaim }}{{- else }}{{ template "rtorrent-flood.fullname" . }}-config{{- end }}
|
||||||
@ -79,6 +108,8 @@ spec:
|
|||||||
{{- else }}
|
{{- else }}
|
||||||
emptyDir: {}
|
emptyDir: {}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
- name: socket
|
||||||
|
emptyDir: {}
|
||||||
{{- with .Values.nodeSelector }}
|
{{- with .Values.nodeSelector }}
|
||||||
nodeSelector:
|
nodeSelector:
|
||||||
{{ toYaml . | indent 8 }}
|
{{ toYaml . | indent 8 }}
|
||||||
|
@ -1,12 +1,7 @@
|
|||||||
# Default values for deluge.
|
# Default values for rtorrent-flood.
|
||||||
# This is a YAML-formatted file.
|
# This is a YAML-formatted file.
|
||||||
# Declare variables to be passed into your templates.
|
# Declare variables to be passed into your templates.
|
||||||
|
|
||||||
image:
|
|
||||||
repository: wonderfall/rtorrent-flood
|
|
||||||
tag: new
|
|
||||||
pullPolicy: IfNotPresent
|
|
||||||
|
|
||||||
# upgrade strategy type (e.g. Recreate or RollingUpdate)
|
# upgrade strategy type (e.g. Recreate or RollingUpdate)
|
||||||
strategyType: Recreate
|
strategyType: Recreate
|
||||||
|
|
||||||
@ -18,6 +13,20 @@ floodSecret: "supersecret"
|
|||||||
uid: 1001
|
uid: 1001
|
||||||
gid: 1001
|
gid: 1001
|
||||||
|
|
||||||
|
rtorrent:
|
||||||
|
enabled: true
|
||||||
|
image:
|
||||||
|
repository: looselyrigorous/rtorrent
|
||||||
|
tag: latest
|
||||||
|
pullPolicy: Always
|
||||||
|
|
||||||
|
flood:
|
||||||
|
enabled: true
|
||||||
|
image:
|
||||||
|
repository: billimek/flood
|
||||||
|
tag: latest
|
||||||
|
pullPolicy: Always
|
||||||
|
|
||||||
guiService:
|
guiService:
|
||||||
type: ClusterIP
|
type: ClusterIP
|
||||||
port: 3000
|
port: 3000
|
||||||
@ -41,7 +50,7 @@ guiService:
|
|||||||
|
|
||||||
btService:
|
btService:
|
||||||
type: NodePort
|
type: NodePort
|
||||||
port: 49184
|
port: 49161
|
||||||
## Specify the nodePort value for the LoadBalancer and NodePort service types.
|
## Specify the nodePort value for the LoadBalancer and NodePort service types.
|
||||||
## ref: https://kubernetes.io/docs/concepts/services-networking/service/#type-nodeport
|
## ref: https://kubernetes.io/docs/concepts/services-networking/service/#type-nodeport
|
||||||
##
|
##
|
||||||
|
Loading…
Reference in New Issue
Block a user