-
Notifications
You must be signed in to change notification settings - Fork 154
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refresh elastic helm chart to stable/elasticsearch (#260)
* Updated the kanister-elasticsearch helm chart to use the stable elasticsearch helmchart * Fixed the issue of blueprint getting created in the incorrect namespace
- Loading branch information
1 parent
e33d7ac
commit 91a332a
Showing
32 changed files
with
1,118 additions
and
140 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
apiVersion: v1 | ||
name: kanister-elasticsearch | ||
home: https://www.elastic.co/products/elasticsearch | ||
version: 0.21.0 | ||
|
Binary file added
BIN
+3.24 KB
examples/helm/kanister/kanister-elasticsearch/charts/profile-0.21.0.tgz
Binary file not shown.
5 changes: 5 additions & 0 deletions
5
...ples/helm/kanister/kanister-elasticsearch/ci/expose-transport-port-on-service-values.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
# Expose transport port on ClusterIP service | ||
|
||
client: | ||
exposeTransportPort: true |
9 changes: 9 additions & 0 deletions
9
examples/helm/kanister/kanister-elasticsearch/ci/extrainitcontainers-values.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
extraInitContainers: | | ||
- name: "plugin-install-ingest-attachment" | ||
image: "docker.elastic.co/elasticsearch/elasticsearch-oss:6.6.1" | ||
command: ["/bin/bash"] | ||
args: ["-c", "yes | /usr/share/elasticsearch/bin/elasticsearch-plugin install ingest-attachment"] | ||
- name: "plugin-install-mapper-size" | ||
image: "docker.elastic.co/elasticsearch/elasticsearch-oss:6.6.1" | ||
command: ["/bin/bash"] | ||
args: ["-c", "yes | /usr/share/elasticsearch/bin/elasticsearch-plugin install mapper-size"] |
31 changes: 31 additions & 0 deletions
31
examples/helm/kanister/kanister-elasticsearch/ci/hooks-values.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
--- | ||
# Enable custom lifecycle hooks for client, data and master pods | ||
|
||
client: | ||
hooks: | ||
preStop: |- | ||
#!/bin/bash | ||
echo "Node {{ template "elasticsearch.client.fullname" . }} is shutting down" | ||
postStart: |- | ||
#!/bin/bash | ||
echo "Node {{ template "elasticsearch.client.fullname" . }} is ready to be used" | ||
data: | ||
hooks: | ||
drain: | ||
enabled: false | ||
preStop: |- | ||
#!/bin/bash | ||
echo "Node {{ template "elasticsearch.data.fullname" . }} is shutting down" | ||
postStart: |- | ||
#!/bin/bash | ||
echo "Node {{ template "elasticsearch.data.fullname" . }} is ready to be used" | ||
master: | ||
hooks: | ||
preStop: |- | ||
#!/bin/bash | ||
echo "Node {{ template "elasticsearch.master.fullname" . }} is shutting down" | ||
postStart: |- | ||
#!/bin/bash | ||
echo "Node {{ template "elasticsearch.master.fullname" . }} is ready to be used" |
12 changes: 12 additions & 0 deletions
12
examples/helm/kanister/kanister-elasticsearch/ci/nonroot-deployment-values.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
--- | ||
# Deploy Chart as non-root and unprivileged | ||
|
||
chownInitContainer: | ||
enabled: false | ||
|
||
securityContext: | ||
enabled: true | ||
runAsUser: 1000 | ||
|
||
sysctlInitContainer: | ||
enabled: false |
7 changes: 7 additions & 0 deletions
7
examples/helm/kanister/kanister-elasticsearch/ci/plugin-initcontainer-values.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
--- | ||
# Enable init container for installing plugins | ||
|
||
cluster: | ||
plugins: | ||
- ingest-attachment | ||
- mapper-size |
7 changes: 7 additions & 0 deletions
7
examples/helm/kanister/kanister-elasticsearch/ci/updatestrategy-values.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
data: | ||
updateStrategy: | ||
type: RollingUpdate | ||
|
||
master: | ||
updateStrategy: | ||
type: RollingUpdate |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 6 additions & 0 deletions
6
examples/helm/kanister/kanister-elasticsearch/requirements.lock
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
dependencies: | ||
- name: profile | ||
repository: https://charts.kanister.io | ||
version: 0.21.0 | ||
digest: sha256:2baa62cdb59e2cd3710041f955e3a56b207219afc9d32f3794452c302ddbfdac | ||
generated: 2019-09-09T14:44:45.462908118+05:30 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
11 changes: 11 additions & 0 deletions
11
examples/helm/kanister/kanister-elasticsearch/templates/client-auth.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
{{- if and ( .Values.client.ingress.user ) ( .Values.client.ingress.password ) }} | ||
--- | ||
apiVersion: v1 | ||
kind: Secret | ||
metadata: | ||
name: '{{ include "elasticsearch.client.fullname" . }}-auth' | ||
type: Opaque | ||
data: | ||
auth: {{ printf "%s:{PLAIN}%s\n" .Values.client.ingress.user .Values.client.ingress.password | b64enc | quote }} | ||
{{- end }} | ||
|
Oops, something went wrong.