Skip to content

Commit

Permalink
Merge pull request #75 from rvilim/rvi/volume_mounts
Browse files Browse the repository at this point in the history
Support volumes and volume mounts in the helm chart
  • Loading branch information
richardartoul authored Jul 4, 2024
2 parents 4fe2b79 + b6d18d3 commit d68f182
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 1 deletion.
6 changes: 6 additions & 0 deletions charts/warpstream-agent/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [0.13.0] - 2024-07-04

### Added

- Added the ability to specify arbitrary volumes and volume mounts in the pods.

## [0.12.26] - 2024-07-03

### Added
Expand Down
2 changes: 1 addition & 1 deletion charts/warpstream-agent/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v2
name: warpstream-agent
description: WarpStream Agent for Kubernetes.
type: application
version: 0.12.26
version: 0.13.0
appVersion: v568
icon: https://avatars.githubusercontent.com/u/132156278
home: https://docs.warpstream.com/warpstream/
Expand Down
8 changes: 8 additions & 0 deletions charts/warpstream-agent/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,10 @@ spec:
- name: http
containerPort: 8080
protocol: TCP
{{- with .Values.volumeMounts }}
volumeMounts:
{{- toYaml . | nindent 12 }}
{{- end }}
{{- with .Values.initContainers }}
initContainers:
{{- toYaml . | nindent 8 }}
Expand All @@ -124,3 +128,7 @@ spec:
topologySpreadConstraints:
{{- toYaml . | nindent 8 }}
{{- end }}
{{- with .Values.volumes }}
volumes:
{{- toYaml . | nindent 8 }}
{{- end }}
6 changes: 6 additions & 0 deletions charts/warpstream-agent/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,9 @@ extraEnv: []
# Add additional environment settings to the pod. Can be useful in proxy
# environments

volumeMounts: []
# Add any volumeMounts to the pod.

extraArgs: []
# Add additional args settings to the pod.

Expand Down Expand Up @@ -161,6 +164,9 @@ podLabels: {}
# Optional initContainers definition
initContainers: []

# Optional volume definition
volumes: []

## Use an alternate scheduler
## ref: https://kubernetes.io/docs/tasks/administer-cluster/configure-multiple-schedulers/
##
Expand Down

0 comments on commit d68f182

Please sign in to comment.