Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix/deployment pvc #1223

Open
wants to merge 9 commits into
base: develop
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 0 additions & 5 deletions helm-chart/splunk-enterprise/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,3 @@ maintainers:
email: akondur@splunk.com
- name: Gaurav Gupta
email: gaurav@splunk.com
dependencies:
- name: splunk-operator
version: "2.3.0"
repository: "file://splunk-operator/helm-chart/splunk-operator"
condition: splunk-operator.enabled
Binary file not shown.
4 changes: 2 additions & 2 deletions helm-chart/splunk-operator/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,10 @@ 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: "2.3.0"
version: "2.3.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
# follow Semantic Versioning. They should reflect the version the application is using.
# It is recommended to use it with quotes.
appVersion: "2.3.0"
appVersion: "2.3.0"
4 changes: 2 additions & 2 deletions helm-chart/splunk-operator/templates/app_download.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ spec:
storage: 10Gi
{{- end }}
volumeMode: Filesystem
{{- if $volume.storageClassName }}
storageClassName: {{ $volume.storageClassName }}
{{- if $.Values.splunkOperator.persistentVolumeClaim.storageClassName }}
storageClassName: {{ $.Values.splunkOperator.persistentVolumeClaim.storageClassName }}
{{- end }}

---
Expand Down
1 change: 1 addition & 0 deletions helm-chart/splunk-operator/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -115,3 +115,4 @@ spec:
volumes:
{{- toYaml .| nindent 8 }}
{{- end }}

1 change: 1 addition & 0 deletions helm-chart/splunk-operator/templates/extra-manifests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@
---
{{ tpl (toYaml .) $ }}
{{- end }}

1 change: 1 addition & 0 deletions helm-chart/splunk-operator/templates/service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,4 @@ spec:
{{- end }}
selector:
{{- include "splunk-operator.selectorLabels" . | nindent 4 }}

7 changes: 7 additions & 0 deletions helm-chart/splunk-operator/values.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
splunk-operator:
enabled: true

# Splunk image
image:
repository: docker.io/splunk/splunk:9.0.5
Expand Down Expand Up @@ -126,6 +129,10 @@ splunkOperator:
# reference: https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.20/#pod-v1-core
terminationGracePeriodSeconds: 10

# Set storageClassName for the PersistentVolumeClaim
persistentVolumeClaim:
storageClassName: "default"

# Specify volumes for Splunk Operator pod, append additional volumes to list
# reference: https://kubernetes.io/docs/concepts/storage/volumes/
volumes:
Expand Down
Loading