diff --git a/charts/invidious/Chart.yaml b/charts/invidious/Chart.yaml index 9bf3851..4a0f3a9 100644 --- a/charts/invidious/Chart.yaml +++ b/charts/invidious/Chart.yaml @@ -1,7 +1,7 @@ apiVersion: v2 name: invidious description: Invidious is an alternative front-end to YouTube -version: 1.1.0 +version: 1.1.1 appVersion: "latest" keywords: - youtube diff --git a/charts/invidious/README.md b/charts/invidious/README.md index 172452b..3b3312f 100644 --- a/charts/invidious/README.md +++ b/charts/invidious/README.md @@ -1,6 +1,6 @@ # invidious -![Version: 1.1.0](https://img.shields.io/badge/Version-1.1.0-informational?style=flat-square) ![AppVersion: latest](https://img.shields.io/badge/AppVersion-latest-informational?style=flat-square) +![Version: 1.1.1](https://img.shields.io/badge/Version-1.1.1-informational?style=flat-square) ![AppVersion: latest](https://img.shields.io/badge/AppVersion-latest-informational?style=flat-square) Invidious is an alternative front-end to YouTube @@ -33,7 +33,7 @@ $ helm install my-release 11tuvork28/invidious | image.pullPolicy | string | `"Always"` | | | image.repository | string | `"ghcr.io/11tuvork28/invidious"` | | | image.tag | string | `"latest"` | | -| ingress | object | See below | Configure the ingress definition Note: middlewares are only supported when using traefik Nginx ingress controller options can be added under annotations | +| ingress | object | See below | Configure the ingress definition Note: middlewares are only supported when using traefik | | name | string | `"invidious"` | | | resources | object | See below | Configure resource limits here My custom image never exceeds 1024Mi, highest I have seen is 870Mi | | rollingUpdate.replicaCount | int | `1` | | diff --git a/charts/invidious/templates/ingress.yaml b/charts/invidious/templates/ingress.yaml index 9b9c449..5ac81b0 100644 --- a/charts/invidious/templates/ingress.yaml +++ b/charts/invidious/templates/ingress.yaml @@ -15,9 +15,6 @@ metadata: {{- if eq .Values.ingress.ingressClass "traefik" }} traefik.ingress.kubernetes.io/router.middlewares: {{ join "," .Values.ingress.middlewares }} {{- end }} - {{- if .Values.ingress.annotations }} - {{ toYaml .Values.ingress.annotations | nindent 4 }} - {{- end }} labels: app: {{ template "invidious.name" . }} chart: {{ .Chart.Name }} diff --git a/charts/invidious/templates/podDisruptionBudget.yaml b/charts/invidious/templates/podDisruptionBudget.yaml new file mode 100644 index 0000000..f1bd9ef --- /dev/null +++ b/charts/invidious/templates/podDisruptionBudget.yaml @@ -0,0 +1,10 @@ +apiVersion: policy/v1 +kind: PodDisruptionBudget +metadata: + name: {{ template "invidious.name" . }}-pdb +spec: + maxUnavailable: {{ .Values.rollingUpdate.unavailable }} + minAvailable: {{ .Values.rollingUpdate.replicaCount }} + selector: + matchLabels: + app: {{ template "invidious.name" . }} diff --git a/charts/invidious/values.yaml b/charts/invidious/values.yaml index dd255f4..5cb02ce 100644 --- a/charts/invidious/values.yaml +++ b/charts/invidious/values.yaml @@ -62,7 +62,6 @@ secret: # -- Configure the ingress definition # Note: middlewares are only supported when using traefik -# Nginx ingress controller options can be added under annotations # @default -- See below ingress: enabled: true @@ -77,7 +76,6 @@ ingress: externalDns: enabled: true ttl: "3600" - annotations: {} # -- Configure invidious to your needs # Note that the hmac parametes is generated behind the scenes for you.