diff --git a/charts/jackett/Chart.yaml b/charts/jackett/Chart.yaml index c982bea1..ec698313 100644 --- a/charts/jackett/Chart.yaml +++ b/charts/jackett/Chart.yaml @@ -2,7 +2,7 @@ apiVersion: v2 appVersion: v0.16.1045 description: API Support for your favorite torrent trackers name: jackett -version: 3.0.1 +version: 3.1.0 keywords: - jackett - torrent diff --git a/charts/jackett/README.md b/charts/jackett/README.md index 1f374530..de8a1a29 100644 --- a/charts/jackett/README.md +++ b/charts/jackett/README.md @@ -31,55 +31,58 @@ The command removes all the Kubernetes components associated with the chart and The following tables lists the configurable parameters of the Sentry chart and their default values. -| Parameter | Description | Default | -|----------------------------|-------------------------------------|---------------------------------------------------------| -| `image.repository` | Image repository | `linuxserver/jackett` | -| `image.tag` | Image tag. Possible values listed [here](https://hub.docker.com/r/linuxserver/jackett/tags/).| `v0.12.1132-ls37`| -| `image.pullPolicy` | Image pull policy | `IfNotPresent` | -| `strategyType` | Specifies the strategy used to replace old Pods by new ones | `Recreate` | -| `timezone` | Timezone the Jackett instance should run as, e.g. 'America/New_York' | `UTC` | -| `puid` | process userID the Jackett instance should run as | `1001` | -| `pgid` | process groupID the Jackett instance should run as | `1001` | -| `probes.liveness.failureThreshold` | Specify liveness `failureThreshold` parameter for the deployment | `5` | -| `probes.liveness.periodSeconds` | Specify liveness `periodSeconds` parameter for the deployment | `10` | -| `probes.readiness.failureThreshold` | Specify readiness `failureThreshold` parameter for the deployment | `5` | -| `probes.readiness.periodSeconds` | Specify readiness `periodSeconds` parameter for the deployment | `10` | -| `probes.startup.initialDelaySeconds` | Specify startup `initialDelaySeconds` parameter for the deployment | `5` | -| `probes.startup.failureThreshold` | Specify startup `failureThreshold` parameter for the deployment | `30` | -| `probes.startup.periodSeconds` | Specify startup `periodSeconds` parameter for the deployment | `10` | -| `Service.type` | Kubernetes service type for the Jackett GUI | `ClusterIP` | -| `Service.port` | Kubernetes port where the Jackett GUI is exposed| `9117` | -| `Service.annotations` | Service annotations for the Jackett GUI | `{}` | -| `Service.labels` | Custom labels | `{}` | -| `Service.loadBalancerIP` | Loadbalance IP for the Jackett GUI | `{}` | -| `Service.loadBalancerSourceRanges` | List of IP CIDRs allowed access to load balancer (if supported) | None -| `ingress.enabled` | Enables Ingress | `false` | -| `ingress.annotations` | Ingress annotations | `{}` | -| `ingress.labels` | Custom labels | `{}` -| `ingress.path` | Ingress path | `/` | -| `ingress.hosts` | Ingress accepted hostnames | `chart-example.local` | -| `ingress.tls` | Ingress TLS configuration | `[]` | -| `persistence.config.enabled` | Use persistent volume to store configuration data | `true` | -| `persistence.config.size` | Size of persistent volume claim | `1Gi` | -| `persistence.config.existingClaim`| Use an existing PVC to persist data | `nil` | -| `persistence.config.subPath` | Mount a sub directory of the persistent volume if set | `""` | -| `persistence.config.storageClass` | Type of persistent volume claim | `-` | -| `persistence.config.accessMode` | Persistence access mode | `ReadWriteOnce` | -| `persistence.config.skipuninstall` | Do not delete the pvc upon helm uninstall | `false` | -| `persistence.torrentblackhole.enabled` | Use persistent volume to store torrent files | `false` | -| `persistence.torrentblackhole.size` | Size of persistent volume claim | `1Gi` | -| `persistence.torrentblackhole.existingClaim`| Use an existing PVC to persist data | `nil` | -| `persistence.torrentblackhole.subPath` | Mount a sub directory of the persistent volume if set | `""` | -| `persistence.torrentblackhole.storageClass` | Type of persistent volume claim | `-` | -| `persistence.torrentblackhole.accessMode` | Persistence access mode | `ReadWriteOnce` | -| `persistence.torrentblackhole.skipuninstall` | Do not delete the pvc upon helm uninstall | `false` | -| `persistence.extraExistingClaimMounts` | Optionally add multiple existing claims | `[]` | -| `resources` | CPU/Memory resource requests/limits | `{}` | -| `nodeSelector` | Node labels for pod assignment | `{}` | -| `tolerations` | Toleration labels for pod assignment | `[]` | -| `affinity` | Affinity settings for pod assignment | `{}` | -| `podAnnotations` | Key-value pairs to add as pod annotations | `{}` | -| `deploymentAnnotations` | Key-value pairs to add as deployment annotations | `{}` | +| Parameter | Description | Default | +| -------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------- | +| `image.repository` | Image repository | `linuxserver/jackett` | +| `image.tag` | Image tag. Possible values listed [here](https://hub.docker.com/r/linuxserver/jackett/tags/). | `v0.12.1132-ls37` | +| `image.pullPolicy` | Image pull policy | `IfNotPresent` | +| `strategyType` | Specifies the strategy used to replace old Pods by new ones | `Recreate` | +| `timezone` | Timezone the Jackett instance should run as, e.g. 'America/New_York' | `UTC` | +| `puid` | process userID the Jackett instance should run as | `1001` | +| `pgid` | process groupID the Jackett instance should run as | `1001` | +| `probes.liveness.failureThreshold` | Specify liveness `failureThreshold` parameter for the deployment | `5` | +| `probes.liveness.periodSeconds` | Specify liveness `periodSeconds` parameter for the deployment | `10` | +| `probes.readiness.failureThreshold` | Specify readiness `failureThreshold` parameter for the deployment | `5` | +| `probes.readiness.periodSeconds` | Specify readiness `periodSeconds` parameter for the deployment | `10` | +| `probes.startup.initialDelaySeconds` | Specify startup `initialDelaySeconds` parameter for the deployment | `5` | +| `probes.startup.failureThreshold` | Specify startup `failureThreshold` parameter for the deployment | `30` | +| `probes.startup.periodSeconds` | Specify startup `periodSeconds` parameter for the deployment | `10` | +| `Service.type` | Kubernetes service type for the Jackett GUI | `ClusterIP` | +| `Service.port` | Kubernetes port where the Jackett GUI is exposed | `9117` | +| `Service.annotations` | Service annotations for the Jackett GUI | `{}` | +| `Service.labels` | Custom labels | `{}` | +| `Service.loadBalancerIP` | Loadbalance IP for the Jackett GUI | `{}` | +| `Service.loadBalancerSourceRanges` | List of IP CIDRs allowed access to load balancer (if supported) | None | +| `ingress.enabled` | Enables Ingress | `false` | +| `ingress.annotations` | Ingress annotations | `{}` | +| `ingress.labels` | Custom labels | `{}` | +| `ingress.path` | Ingress path | `/` | +| `ingress.hosts` | Ingress accepted hostnames | `chart-example.local` | +| `ingress.tls` | Ingress TLS configuration | `[]` | +| `persistence.config.enabled` | Use persistent volume to store configuration data | `true` | +| `persistence.config.size` | Size of persistent volume claim | `1Gi` | +| `persistence.config.existingClaim` | Use an existing PVC to persist data | `nil` | +| `persistence.config.subPath` | Mount a sub directory of the persistent volume if set | `""` | +| `persistence.config.storageClass` | Type of persistent volume claim | `-` | +| `persistence.config.accessMode` | Persistence access mode | `ReadWriteOnce` | +| `persistence.config.skipuninstall` | Do not delete the pvc upon helm uninstall | `false` | +| `persistence.torrentblackhole.enabled` | Use persistent volume to store torrent files | `false` | +| `persistence.torrentblackhole.size` | Size of persistent volume claim | `1Gi` | +| `persistence.torrentblackhole.existingClaim` | Use an existing PVC to persist data | `nil` | +| `persistence.torrentblackhole.subPath` | Mount a sub directory of the persistent volume if set | `""` | +| `persistence.torrentblackhole.storageClass` | Type of persistent volume claim | `-` | +| `persistence.torrentblackhole.accessMode` | Persistence access mode | `ReadWriteOnce` | +| `persistence.torrentblackhole.skipuninstall` | Do not delete the pvc upon helm uninstall | `false` | +| `persistence.extraExistingClaimMounts` | Optionally add multiple existing claims | `[]` | +| `resources` | CPU/Memory resource requests/limits | `{}` | +| `nodeSelector` | Node labels for pod assignment | `{}` | +| `tolerations` | Toleration labels for pod assignment | `[]` | +| `affinity` | Affinity settings for pod assignment | `{}` | +| `podAnnotations` | Key-value pairs to add as pod annotations | `{}` | +| `deploymentAnnotations` | Key-value pairs to add as deployment annotations | `{}` | +| `hostNetwork` | Specify whether pods should use host networking | `false` | +| `dnsPolicy` | Set the DNS policy for pods, ex: ClusterFirst, ClusterFirstWithHostNet. See info [here](https://kubernetes.io/docs/concepts/services-networking/dns-pod-service/#pod-s-dns-policy) | `ClusterFirst` | +| `dnsConfig` | Specify DNS options for pods, see values.yaml for details, or see [here](https://kubernetes.io/docs/concepts/services-networking/dns-pod-service/#pod-dns-config) | `{}` | Specify each parameter using the `--set key=value[,key=value]` argument to `helm install`. For example, @@ -96,6 +99,7 @@ helm install --name my-release -f values.yaml k8s-at-home/jackett ``` --- + **NOTE** If you get `Error: rendered manifests contain a resource that already exists. Unable to continue with install: existing resource conflict: ...` it may be because you uninstalled the chart with `skipuninstall` enabled, you need to manually delete the pvc or use `existingClaim`. diff --git a/charts/jackett/templates/deployment.yaml b/charts/jackett/templates/deployment.yaml index 4c1c0702..a1f8442f 100644 --- a/charts/jackett/templates/deployment.yaml +++ b/charts/jackett/templates/deployment.yaml @@ -34,6 +34,11 @@ spec: {{- end }} {{- end }} spec: + hostNetwork: {{ .Values.hostNetwork }} + dnsPolicy: {{ .Values.dnsPolicy }} + {{- if .Values.dnsConfig }} + dnsConfig: {{ toYaml .Values.dnsConfig | nindent 8}} + {{- end }} containers: - name: {{ .Chart.Name }} image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}" diff --git a/charts/jackett/values.yaml b/charts/jackett/values.yaml index 2d4a29f6..541d589b 100644 --- a/charts/jackett/values.yaml +++ b/charts/jackett/values.yaml @@ -121,6 +121,23 @@ resources: {} # cpu: 100m # memory: 128Mi +dnsPolicy: ClusterFirst + +dnsConfig: {} + # dnsConfig may be used with any dnsPolicy, but is required when dnsPolicy: "None" + # To use, remove the braces above, and uncomment/modify the following lines. + # See https://kubernetes.io/docs/concepts/services-networking/dns-pod-service/#pod-dns-config + # for additional information + # nameservers: + # - 1.1.1.1 + # searches: + # - ns1.mysearch.domain + # options: + # - name: ndots + # value: "1" + +hostNetwork: false + nodeSelector: {} tolerations: []