2 Commits

Author SHA1 Message Date
73871df69b Add envFrom for chart
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
2025-10-04 00:13:30 -04:00
44b2763745 Fix app version in chart
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
2025-10-03 23:56:52 -04:00
3 changed files with 10 additions and 1 deletions

View File

@@ -58,6 +58,10 @@ spec:
{{- with .Values.env }}
{{- toYaml . | nindent 12 }}
{{- end }}
{{- with .Values.envFrom }}
envFrom:
{{- toYaml . | nindent 12 }}
{{- end }}
volumeMounts:
- name: data
mountPath: /data
@@ -76,6 +80,10 @@ spec:
env:
{{- toYaml . | nindent 12 }}
{{- end }}
{{- with .Values.envFrom }}
envFrom:
{{- toYaml . | nindent 12 }}
{{- end }}
{{- with .Values.resources }}
resources:
{{- toYaml . | nindent 12 }}

View File

@@ -52,6 +52,7 @@ tolerations: []
affinity: {}
env: {}
envFrom: {}
persistence: {}
# enabled: true

View File

@@ -7,7 +7,7 @@ echo "Using version: ${VERSION}"
# Package the chart with version/appVersion = git tag (sans 'v')
helm package "${CHART_DIR}" \
--version "${VERSION}" \
--app-version "${VERSION}"
--app-version "v${VERSION}"
# Add the Gitea Helm repo with basic auth (stored in Helm config)
helm repo add "${DRONE_REPO_NAME}" "https://git.itzana.me/api/packages/${DRONE_REPO_OWNER}/helm" \