diff --git a/CHANGELOG.md b/CHANGELOG.md index d4d1f6a..67c2b02 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,11 @@ +# v1.5.1 + +## Important +- Add pathType and ingressClassName in values.yml for better support in k8s 1.25+ + +## Feature +- Compatibility with Peertube 5.2.1 + # v1.5.0 ## Important diff --git a/Chart.yaml b/Chart.yaml index 2a92eab..dae856d 100644 --- a/Chart.yaml +++ b/Chart.yaml @@ -1,5 +1,5 @@ apiVersion: v1 -appVersion: "v4.3.0-bullseye" -description: A Helm chart for Kubernetes +appVersion: "v5.2.1-bullseye" +description: A Helm chart to install peertube in kubernetes name: peertube -version: 1.5.0 +version: 1.5.1 diff --git a/templates/ingress.yaml b/templates/ingress.yaml index adb8a2c..5956cce 100644 --- a/templates/ingress.yaml +++ b/templates/ingress.yaml @@ -1,6 +1,7 @@ {{- if .Values.ingress.enabled -}} {{- $fullName := include "peertube.fullname" . -}} {{- $ingressPath := .Values.ingress.path -}} +{{- $ingressPathType := .Values.ingress.pathType -}} apiVersion: networking.k8s.io/v1 kind: Ingress metadata: @@ -15,6 +16,7 @@ metadata: {{ toYaml . | indent 4 }} {{- end }} spec: + ingressClassName: {{ .Values.ingress.ingressClassName }} {{- if .Values.ingress.tls }} tls: {{- range .Values.ingress.tls }} @@ -31,7 +33,7 @@ spec: http: paths: - path: {{ $ingressPath }} - pathType: Prefix + pathType: {{ $ingressPathType }} backend: service: name: {{ $fullName }} diff --git a/values.yaml b/values.yaml index f7fe1b2..ded573f 100644 --- a/values.yaml +++ b/values.yaml @@ -7,7 +7,7 @@ replicaCount: 1 image: repository: chocobozzz/peertube - tag: v4.0.0-bullseye + tag: v5.2.1-bullseye pullPolicy: IfNotPresent service: @@ -26,11 +26,12 @@ ports: ingress: enabled: true + ingressClassName: haproxy annotations: - kubernetes.io/ingress.class: haproxy kubernetes.io/tls-acme: "true" certmanager.k8s.io/cluster-issuer: your-certmanager path: / + pathType: Prefix hosts: - peertube.domain.tld tls: @@ -45,10 +46,6 @@ chowncontainer: enabled: true resources: - # We usually recommend not to specify default resources and to leave this as a conscious - # choice for the user. This also increases chances charts run on environments with little - # resources, such as Minikube. If you do want to specify resources, uncomment the following - # lines, adjust them as necessary, and remove the curly braces after 'resources:'. requests: cpu: 3 memory: 6Gi