Compare commits

..

3 Commits

Author SHA1 Message Date
57983912f5 remove node api and probes 2024-03-16 09:29:07 -06:00
8a6cfef4c5 add server IP env 2024-03-16 09:21:32 -06:00
7c9a06dcee add existing secret name for gluetun 2024-03-16 09:12:46 -06:00
6 changed files with 9 additions and 34 deletions

View File

@@ -1,6 +1,6 @@
apiVersion: v2 apiVersion: v2
name: qbittorrent name: qbittorrent
version: 0.0.1 version: 0.0.2
description: Chart for qBittorrent description: Chart for qBittorrent
keywords: keywords:
- downloads - downloads

View File

@@ -116,7 +116,7 @@ spec:
path: /dev/net/tun path: /dev/net/tun
- name: wg0-wireguard-config - name: wg0-wireguard-config
secret: secret:
secretName: qbittorrent-wireguard-secret secretName: {{ .Values.gluetun.existingSecretName }}
items: items:
- key: wg0.conf - key: wg0.conf
path: wg0.conf path: wg0.conf

View File

@@ -53,6 +53,7 @@ gluetun:
add: add:
- NET_ADMIN - NET_ADMIN
env: [] env: []
existingSecretName:
resources: resources:
requests: requests:
cpu: 100m cpu: 100m

View File

@@ -1,6 +1,6 @@
apiVersion: v2 apiVersion: v2
name: tdarr name: tdarr
version: 0.0.1 version: 0.0.3
description: Chart for Tdarr V2 description: Chart for Tdarr V2
keywords: keywords:
- video - video

View File

@@ -132,10 +132,6 @@ spec:
- name: tdarr-node - name: tdarr-node
image: "{{ .Values.node.image.repository }}:{{ .Values.node.image.tag }}" image: "{{ .Values.node.image.repository }}:{{ .Values.node.image.tag }}"
imagePullPolicy: {{ .Values.node.image.pullPolicy }} imagePullPolicy: {{ .Values.node.image.pullPolicy }}
ports:
- name: api
containerPort: {{ .Values.node.service.api.port }}
protocol: TCP
env: env:
{{- with (concat .Values.global.env .Values.node.env) }} {{- with (concat .Values.global.env .Values.node.env) }}
{{- toYaml . | nindent 12 }} {{- toYaml . | nindent 12 }}
@@ -146,8 +142,10 @@ spec:
valueFrom: valueFrom:
fieldRef: fieldRef:
fieldPath: spec.nodeName fieldPath: spec.nodeName
- name: serverIP
value: tdarr-server-api
- name: serverPort - name: serverPort
value: "{{ .Values.node.service.api.port }}" value: "{{ .Values.server.service.api.port }}"
volumeMounts: volumeMounts:
- name: tdarr-node-cache - name: tdarr-node-cache
mountPath: /tcache mountPath: /tcache
@@ -155,27 +153,6 @@ spec:
mountPath: {{ .Values.global.persistence.media.mountPath }} mountPath: {{ .Values.global.persistence.media.mountPath }}
resources: resources:
{{- toYaml .Values.node.resources | nindent 12 }} {{- toYaml .Values.node.resources | nindent 12 }}
livenessProbe:
tcpSocket:
port: {{ .Values.node.service.api.port }}
initialDelaySeconds: 0
failureThreshold: 3
timeoutSeconds: 1
periodSeconds: 10
readinessProbe:
tcpSocket:
port: {{ .Values.node.service.api.port }}
initialDelaySeconds: 0
failureThreshold: 3
timeoutSeconds: 1
periodSeconds: 10
startupProbe:
tcpSocket:
port: {{ .Values.node.service.api.port }}
initialDelaySeconds: 0
failureThreshold: 30
timeoutSeconds: 1
periodSeconds: 5
volumes: volumes:
- name: tdarr-node-cache - name: tdarr-node-cache
emptyDir: emptyDir:

View File

@@ -69,9 +69,6 @@ node:
limits: limits:
cpu: 1000m cpu: 1000m
memory: 2Gi memory: 2Gi
service:
api:
port: 8266
persistence: persistence:
cache: cache:
size: 5Gi size: 5Gi