feat: Add release charts workflow (#1140)
* feat: Add release charts workflow Signed-off-by: Ludovic Ortega <ludovic.ortega@adminafk.fr> * fix: helm workflow Signed-off-by: Ludovic Ortega <ludovic.ortega@adminafk.fr> * fix: artifacthub file location Signed-off-by: Ludovic Ortega <ludovic.ortega@adminafk.fr> * feat: bump chart to 1.2.0 Signed-off-by: Ludovic Ortega <ludovic.ortega@adminafk.fr> * fix: documentation build Signed-off-by: Ludovic Ortega <ludovic.ortega@adminafk.fr> * fix: install oras in first job Signed-off-by: Ludovic Ortega <ludovic.ortega@adminafk.fr> * fix: release workflow Signed-off-by: Ludovic Ortega <ludovic.ortega@adminafk.fr> * fix: release workflow add package read permission Signed-off-by: Ludovic Ortega <ludovic.ortega@adminafk.fr> * fix: login to ghcr.io at the beginning of job Signed-off-by: Ludovic Ortega <ludovic.ortega@adminafk.fr> * fix: avoid exiting on oras discover Signed-off-by: Ludovic Ortega <ludovic.ortega@adminafk.fr> * fix: documentation typo * feat: prepare for release Signed-off-by: Ludovic Ortega <ludovic.ortega@adminafk.fr> * fix: remove myself from codeowners Signed-off-by: Ludovic Ortega <ludovic.ortega@adminafk.fr> --------- Signed-off-by: Ludovic Ortega <ludovic.ortega@adminafk.fr>
This commit is contained in:
41
charts/jellyseerr-chart/templates/ingress.yaml
Normal file
41
charts/jellyseerr-chart/templates/ingress.yaml
Normal file
@@ -0,0 +1,41 @@
|
||||
{{- if .Values.ingress.enabled -}}
|
||||
apiVersion: networking.k8s.io/v1
|
||||
kind: Ingress
|
||||
metadata:
|
||||
name: {{ include "jellyseerr.fullname" . }}
|
||||
labels:
|
||||
{{- include "jellyseerr.labels" . | nindent 4 }}
|
||||
{{- with .Values.ingress.annotations }}
|
||||
annotations:
|
||||
{{- toYaml . | nindent 4 }}
|
||||
{{- end }}
|
||||
spec:
|
||||
{{- if .Values.ingress.ingressClassName }}
|
||||
ingressClassName: {{ .Values.ingress.ingressClassName }}
|
||||
{{- end }}
|
||||
{{- if .Values.ingress.tls }}
|
||||
tls:
|
||||
{{- range .Values.ingress.tls }}
|
||||
- hosts:
|
||||
{{- range .hosts }}
|
||||
- {{ . | quote }}
|
||||
{{- end }}
|
||||
secretName: {{ .secretName }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
rules:
|
||||
{{- range .Values.ingress.hosts }}
|
||||
- host: {{ .host | quote }}
|
||||
http:
|
||||
paths:
|
||||
{{- range .paths }}
|
||||
- path: {{ .path }}
|
||||
pathType: {{ .pathType }}
|
||||
backend:
|
||||
service:
|
||||
name: {{ include "jellyseerr.fullname" $ }}
|
||||
port:
|
||||
number: {{ $.Values.service.port }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
Reference in New Issue
Block a user