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:
Ludovic Ortega
2025-01-12 15:44:38 +01:00
committed by GitHub
parent 5a323324f8
commit 3cc34b0db6
17 changed files with 164 additions and 5 deletions

View File

@@ -0,0 +1,32 @@
{{- if .Values.autoscaling.enabled }}
apiVersion: autoscaling/v2
kind: HorizontalPodAutoscaler
metadata:
name: {{ include "jellyseerr.fullname" . }}
labels:
{{- include "jellyseerr.labels" . | nindent 4 }}
spec:
scaleTargetRef:
apiVersion: apps/v1
kind: Deployment
name: {{ include "jellyseerr.fullname" . }}
minReplicas: {{ .Values.autoscaling.minReplicas }}
maxReplicas: {{ .Values.autoscaling.maxReplicas }}
metrics:
{{- if .Values.autoscaling.targetCPUUtilizationPercentage }}
- type: Resource
resource:
name: cpu
target:
type: Utilization
averageUtilization: {{ .Values.autoscaling.targetCPUUtilizationPercentage }}
{{- end }}
{{- if .Values.autoscaling.targetMemoryUtilizationPercentage }}
- type: Resource
resource:
name: memory
target:
type: Utilization
averageUtilization: {{ .Values.autoscaling.targetMemoryUtilizationPercentage }}
{{- end }}
{{- end }}