Skip to content

Commit

Permalink
Add ability to customise storageClassName
Browse files Browse the repository at this point in the history
  • Loading branch information
ph1ll committed Mar 18, 2024
1 parent 4da09a2 commit 186b378
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 7 deletions.
8 changes: 4 additions & 4 deletions charts/netbird/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,18 +15,18 @@ 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: 0.1.13
version: 0.1.14

dependencies:
- name: dashboard
condition: dashboard.enabled
version: 0.1.13
version: 0.1.14
- name: management
condition: management.enabled
version: 0.1.13
version: 0.1.14
- name: signal
condition: signal.enabled
version: 0.1.13
version: 0.1.14

maintainers:
- name: ph1ll
2 changes: 1 addition & 1 deletion charts/netbird/charts/dashboard/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: 0.1.13
version: 0.1.14

# 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
2 changes: 1 addition & 1 deletion charts/netbird/charts/management/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: 0.1.13
version: 0.1.14

# 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
3 changes: 3 additions & 0 deletions charts/netbird/charts/management/templates/pvc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ metadata:
labels:
{{- include "management.labels" . | nindent 4 }}
spec:
{{- if .Values.persistence.storageClassName }}
storageClassName: "{{- .Values.persistence.storageClassName }}"
{{- end }}
accessModes:
- ReadWriteOnce
resources:
Expand Down
2 changes: 1 addition & 1 deletion charts/netbird/charts/signal/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: 0.1.13
version: 0.1.14

# 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
1 change: 1 addition & 0 deletions charts/netbird/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,7 @@ management:
existingSecret: ""
persistence:
enabled: false
storageClassName: ""
size: 1Gi

signal:
Expand Down

0 comments on commit 186b378

Please sign in to comment.