Enhance Helm chart with ServiceAccount support and configurable ports
CI / lint (push) Failing after 2s
CI / smoke-test (push) Failing after 9s
Release chart / release (release) Successful in 12s

- Updated Chart.yaml to version 0.2.0 and added annotations for changes.
- Modified release-chart.yaml to trigger releases via Gitea and handle pre-releases.
- Introduced ServiceAccount configuration in values.yaml and related templates.
- Adjusted internal container ports to prevent conflicts between nginx and aptly.
- Updated README.md and NOTES.txt to reflect new configurations and usage instructions.
This commit is contained in:
2026-08-13 12:12:30 +02:00
parent 5af33e9128
commit 1675ea9a4e
11 changed files with 140 additions and 28 deletions
+7 -3
View File
@@ -41,6 +41,10 @@ spec:
{{- end }}
spec:
{{- include "aptly.imagePullSecrets" . | nindent 6 }}
{{- with include "aptly.serviceAccountName" . }}
serviceAccountName: {{ . }}
{{- end }}
automountServiceAccountToken: {{ .Values.serviceAccount.automountServiceAccountToken }}
terminationGracePeriodSeconds: {{ .Values.workload.terminationGracePeriodSeconds }}
securityContext:
{{- toYaml .Values.podSecurityContext | nindent 8 }}
@@ -165,7 +169,7 @@ spec:
{{- end }}
ports:
- name: aptly
containerPort: 8080
containerPort: {{ .Values.ports.aptly }}
volumeMounts:
- name: data
mountPath: /var/lib/aptly
@@ -199,10 +203,10 @@ spec:
{{- toYaml .Values.nginx.securityContext | nindent 12 }}
ports:
- name: http
containerPort: 8080
containerPort: {{ .Values.ports.nginx }}
{{- if .Values.metrics.service.enabled }}
- name: metrics
containerPort: 9090
containerPort: {{ .Values.ports.metrics }}
{{- end }}
volumeMounts:
- name: data