feat(helm): complete chart normalization with ConfigMap, HPA, and OCI migration

- Added debug mode, structured ConfigMap pattern, and README to all charts
- Migrated all flat-structure charts to hierarchical values under chartname key
- Fixed templates to use correct hierarchical paths
- Renamed helm-rustical key to rustical, added HPA support
- Fixed ingress YAML parsing (oxicloud), nested env vars (rustical)
- Pushed all normalized charts to OCI registry as 1.0.0+ and updated ArgoCD apps
This commit is contained in:
cătălin 2026-08-14 09:35:19 +02:00
commit 1fd2bfef3d
No known key found for this signature in database
71 changed files with 2150 additions and 965 deletions

View file

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