Compare commits

..

1 Commits

Author SHA1 Message Date
8a6cfef4c5 add server IP env 2024-03-16 09:21:32 -06:00
2 changed files with 5 additions and 3 deletions

View File

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

View File

@@ -146,13 +146,15 @@ 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.node.service.api.port }}"
volumeMounts: volumeMounts:
- name: tdarr-node-cache - name: tdarr-node-cache
mountPath: /tcache mountPath: /tcache
- name: media-storage - name: media-storage
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: livenessProbe:
@@ -175,7 +177,7 @@ spec:
initialDelaySeconds: 0 initialDelaySeconds: 0
failureThreshold: 30 failureThreshold: 30
timeoutSeconds: 1 timeoutSeconds: 1
periodSeconds: 5 periodSeconds: 5
volumes: volumes:
- name: tdarr-node-cache - name: tdarr-node-cache
emptyDir: emptyDir: