Skip to content

Commit

Permalink
Update invidious chart (#69)
Browse files Browse the repository at this point in the history
* Added PDB

* Fixed ingress

* Version bump

* Removes custom annotations as they arent needed
  • Loading branch information
89Q12 authored Feb 22, 2023
1 parent 9ae5c7b commit e150257
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 8 deletions.
2 changes: 1 addition & 1 deletion charts/invidious/Chart.yaml
Original file line number Diff line number Diff line change
@@ -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
Expand Down
4 changes: 2 additions & 2 deletions charts/invidious/README.md
Original file line number Diff line number Diff line change
@@ -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

Expand Down Expand Up @@ -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` | |
Expand Down
3 changes: 0 additions & 3 deletions charts/invidious/templates/ingress.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down
10 changes: 10 additions & 0 deletions charts/invidious/templates/podDisruptionBudget.yaml
Original file line number Diff line number Diff line change
@@ -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" . }}
2 changes: 0 additions & 2 deletions charts/invidious/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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.
Expand Down

0 comments on commit e150257

Please sign in to comment.