mirror of
https://github.com/truenas/charts.git
synced 2026-04-09 21:59:10 +08:00
qbit: allow for https probe option (#2360)
* qbit: allow for https probe option * fmt * fix upgrade * whoops
This commit is contained in:
@@ -4,7 +4,7 @@ description: The qBittorrent project aims to provide an open-source software alt
|
||||
annotations:
|
||||
title: qBittorrent
|
||||
type: application
|
||||
version: 1.2.10
|
||||
version: 1.2.11
|
||||
apiVersion: v2
|
||||
appVersion: 4.6.4
|
||||
kubeVersion: '>=1.16.0-0'
|
||||
|
||||
@@ -97,6 +97,15 @@ questions:
|
||||
min: 9000
|
||||
max: 65535
|
||||
required: true
|
||||
- variable: useHttpsProbe
|
||||
label: Use HTTPS Probe
|
||||
description: |
|
||||
Use HTTPS probe for the qBittorrent Web UI. </br>
|
||||
This will ONLY affect the probes, only enable this if you
|
||||
configured HTTPS in the qBittorrent Web UI.
|
||||
schema:
|
||||
type: boolean
|
||||
default: false
|
||||
- variable: hostNetwork
|
||||
label: Host Network
|
||||
description: |
|
||||
|
||||
@@ -25,19 +25,22 @@ workload:
|
||||
- configMapRef:
|
||||
name: qbit-config
|
||||
probes:
|
||||
{{- if not (hasKey .Values.qbitNetwork "useHttpsProbe") -}}
|
||||
{{- $_ := set .Values.qbitNetwork "useHttpsProbe" false -}}
|
||||
{{- end }}
|
||||
liveness:
|
||||
enabled: true
|
||||
type: http
|
||||
type: {{ ternary "https" "http" .Values.qbitNetwork.useHttpsProbe }}
|
||||
port: "{{ .Values.qbitNetwork.webPort }}"
|
||||
path: /
|
||||
readiness:
|
||||
enabled: true
|
||||
type: http
|
||||
type: {{ ternary "https" "http" .Values.qbitNetwork.useHttpsProbe }}
|
||||
port: "{{ .Values.qbitNetwork.webPort }}"
|
||||
path: /
|
||||
startup:
|
||||
enabled: true
|
||||
type: http
|
||||
type: {{ ternary "https" "http" .Values.qbitNetwork.useHttpsProbe }}
|
||||
port: "{{ .Values.qbitNetwork.webPort }}"
|
||||
path: /
|
||||
initContainers:
|
||||
|
||||
@@ -14,6 +14,7 @@ qbitConfig:
|
||||
qbitNetwork:
|
||||
webPort: 30024
|
||||
btPort: 50413
|
||||
useHttpsProbe: false
|
||||
hostNetwork: false
|
||||
|
||||
qbitRunAs:
|
||||
|
||||
Reference in New Issue
Block a user