add server IP env

This commit is contained in:
2024-03-16 09:21:32 -06:00
parent 7c9a06dcee
commit 8a6cfef4c5
2 changed files with 5 additions and 3 deletions

View File

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

View File

@@ -146,13 +146,15 @@ spec:
valueFrom:
fieldRef:
fieldPath: spec.nodeName
- name: serverIP
value: tdarr-server-api
- name: serverPort
value: "{{ .Values.node.service.api.port }}"
volumeMounts:
- name: tdarr-node-cache
mountPath: /tcache
- name: media-storage
mountPath: {{ .Values.global.persistence.media.mountPath }}
mountPath: {{ .Values.global.persistence.media.mountPath }}
resources:
{{- toYaml .Values.node.resources | nindent 12 }}
livenessProbe:
@@ -175,7 +177,7 @@ spec:
initialDelaySeconds: 0
failureThreshold: 30
timeoutSeconds: 1
periodSeconds: 5
periodSeconds: 5
volumes:
- name: tdarr-node-cache
emptyDir: