Skip to content

Commit

Permalink
Merge pull request #7 from stevefan1999-personal/codespace-0559
Browse files Browse the repository at this point in the history
Add extra volume and volume mounts
  • Loading branch information
mikesindieiev authored Aug 12, 2024
2 parents 0760ce4 + ef8cae7 commit 89f2207
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 1 deletion.
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,14 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](http://keepachangelog.com/)
and this project adheres to [Semantic Versioning](http://semver.org/)

## [[directus-1.0.1]](https://github.com/directus-labs/helm-chart/releases/tag/directus-1.0.1) - 2024-08-12

### Added

- Options to add extra volume mount to the deployment (e.g. mount config maps/secrets as volume)

[Link to the list with all changes included in the release](https://github.com/directus-labs/helm-chart/compare/directus-1.0.0...directus-1.0.1)

## [[directus-1.0.0]](https://github.com/directus-labs/helm-chart/releases/tag/directus-1.0.0) - 2024-07-31

**Breaking change**
Expand All @@ -18,3 +26,4 @@ Reworked environment variable setting and injection.
- Inject variables from `configmap` and `secrets` to the application pods

[Link to the list with all changes included in the release](https://github.com/directus-labs/helm-chart/compare/directus-0.4.0...directus-1.0.0)

2 changes: 1 addition & 1 deletion charts/directus/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 1.0.0
version: 1.0.1

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
Expand Down
6 changes: 6 additions & 0 deletions charts/directus/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,8 @@ spec:
port: http
resources:
{{- toYaml .Values.resources | nindent 12 }}
volumeMounts:
{{- toYaml .Values.extraVolumeMounts | nindent 12 }}
{{- with .Values.nodeSelector }}
nodeSelector:
{{- toYaml . | nindent 8 }}
Expand All @@ -90,3 +92,7 @@ spec:
tolerations:
{{- toYaml . | nindent 8 }}
{{- end }}
{{- with .Values.extraVolumes }}
volumes:
{{- toYaml . | nindent 8 }}
{{- end }}
4 changes: 4 additions & 0 deletions charts/directus/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,10 @@ tolerations: []

affinity: {}

extraVolumes: []

extraVolumeMounts: []

mariadb:
# The switch to switch off the installation of the mariadb, the rest of the settings are being used during the installation
enableInstallation: true
Expand Down

0 comments on commit 89f2207

Please sign in to comment.