Skip to content

Commit

Permalink
Merge pull request #168 from ethanocentricity/master
Browse files Browse the repository at this point in the history
Add ability to use an existing storage-class in helm charts
  • Loading branch information
stevesloka authored Apr 26, 2018
2 parents b17d97f + 2189cdb commit 5ad47a5
Show file tree
Hide file tree
Showing 5 changed files with 28 additions and 9 deletions.
Binary file added charts/elasticsearch-0.1.3.tgz
Binary file not shown.
2 changes: 1 addition & 1 deletion charts/elasticsearch/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apiVersion: v1
description: A Helm chart for Elasticsearch cluster
name: elasticsearch
version: 0.1.2
version: 0.1.3
sources:
- https://github.com/upmc-enterprises/elasticsearch-operator
maintainers:
Expand Down
5 changes: 4 additions & 1 deletion charts/elasticsearch/templates/cluster.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,10 +42,13 @@ spec:
username: {{ .Values.snapshot.authentication.username }}
{{- end }}
storage:
{{- if .Values.storage.class }}
storage-class: {{ .Values.storage.class }}
{{- else }}
type: {{ .Values.storage.type }}
storage-class-provisioner: {{ .Values.storage.classProvisioner }}
volume-reclaim-policy: {{ .Values.storage.reclaimPolicy }}
storage-class-provisioner: kubernetes.io/aws-ebs
{{- end }}
{{- if .Values.statsd.enabled }}
statsd-host: {{ .Values.statsd.host }}
{{- end }}
Expand Down
2 changes: 2 additions & 0 deletions charts/elasticsearch/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ snapshot:
username: test

storage:
# If class is set, then the other storage fields will not be used.
# class: local-storage
# e.g. gp2 for AWS
type: gp2
# e.g. kubernetes.io/aws-ebs for AWS
Expand Down
28 changes: 21 additions & 7 deletions charts/index.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,21 @@ apiVersion: v1
entries:
elasticsearch:
- apiVersion: v1
created: 2018-03-21T10:27:39.906577+01:00
created: 2018-04-05T10:18:09.843410146-06:00
description: A Helm chart for Elasticsearch cluster
digest: 2dee389105b87cfaf0150f4215f927bcb79c22f877e801850419a17284191343
maintainers:
- email: [email protected]
name: komljen
url: https://akomljen.com
name: elasticsearch
sources:
- https://github.com/upmc-enterprises/elasticsearch-operator
urls:
- elasticsearch-0.1.3.tgz
version: 0.1.3
- apiVersion: v1
created: 2018-04-05T10:18:09.843131675-06:00
description: A Helm chart for Elasticsearch cluster
digest: 398bcb148fe08fe7ae0d5918af25efd28fe60fd77f47ae2760f1347643d76aab
maintainers:
Expand All @@ -16,7 +30,7 @@ entries:
- elasticsearch-0.1.2.tgz
version: 0.1.2
- apiVersion: v1
created: 2018-03-21T10:27:39.905508+01:00
created: 2018-04-05T10:18:09.842617843-06:00
description: A Helm chart for Elasticsearch cluster
digest: de2209bffb7a05c436354b2514abadacb83007dd0d59941cb78b340c6db9cc52
maintainers:
Expand All @@ -30,7 +44,7 @@ entries:
- elasticsearch-0.1.1.tgz
version: 0.1.1
- apiVersion: v1
created: 2018-03-21T10:27:39.904722+01:00
created: 2018-04-05T10:18:09.842079783-06:00
description: A Helm chart for Elasticsearch cluster
digest: 37bc0b51a58e73e29221062df665ce7234f36689dc7051164141680b6c0096bd
maintainers:
Expand All @@ -44,7 +58,7 @@ entries:
version: 0.1.0
elasticsearch-operator:
- apiVersion: v1
created: 2018-03-21T10:27:39.909563+01:00
created: 2018-04-05T10:18:09.845096553-06:00
description: A Helm chart for Elasticsearch operator
digest: bf9e1bf0f857acdbb281ac2480add1f5a9d33b303e3cba4fffdc6921cbf27f5f
maintainers:
Expand All @@ -58,7 +72,7 @@ entries:
- elasticsearch-operator-0.1.2.tgz
version: 0.1.2
- apiVersion: v1
created: 2018-03-21T10:27:39.908184+01:00
created: 2018-04-05T10:18:09.844405824-06:00
description: A Helm chart for Elasticsearch operator
digest: 65b48cf707f5bd8170a22f4827236c36591dde215712b29a8df0136e64d57a49
maintainers:
Expand All @@ -72,7 +86,7 @@ entries:
- elasticsearch-operator-0.1.1.tgz
version: 0.1.1
- apiVersion: v1
created: 2018-03-21T10:27:39.907372+01:00
created: 2018-04-05T10:18:09.843902433-06:00
description: A Helm chart for Elasticsearch operator
digest: 1c21e32521c3843f04e38892ea432a2529d819019f7bb919cc48bedf9a629400
maintainers:
Expand All @@ -84,4 +98,4 @@ entries:
urls:
- elasticsearch-operator-0.1.0.tgz
version: 0.1.0
generated: 2018-03-21T10:27:39.903341+01:00
generated: 2018-04-05T10:18:09.841402966-06:00

0 comments on commit 5ad47a5

Please sign in to comment.