This repository has been archived by the owner on May 16, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[elasticsearch] SSL by default (#1519)
- Loading branch information
Showing
16 changed files
with
159 additions
and
30 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
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
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
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
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 |
---|---|---|
|
@@ -2,6 +2,8 @@ | |
clusterName: "security" | ||
nodeGroup: "master" | ||
|
||
createCert: false | ||
|
||
roles: | ||
- master | ||
- ingest | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,23 @@ | ||
http: | ||
http://localhost:9200/_cluster/health: | ||
https://localhost:9200/_cluster/health: | ||
status: 200 | ||
username: elastic | ||
password: "{{ .Env.ELASTIC_PASSWORD }}" | ||
allow-insecure: true | ||
timeout: 2000 | ||
body: | ||
- "green" | ||
- '"number_of_nodes":3' | ||
- '"number_of_data_nodes":3' | ||
|
||
http://localhost:9200: | ||
https://localhost:9200: | ||
status: 200 | ||
username: elastic | ||
password: "{{ .Env.ELASTIC_PASSWORD }}" | ||
allow-insecure: true | ||
timeout: 2000 | ||
allow-insecure: true | ||
body: | ||
- '"number" : "7.13.0"' | ||
- '"number" : "8.0.0-SNAPSHOT"' | ||
- '"cluster_name" : "upgrade"' | ||
- "You Know, for Search" |
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,2 +1,6 @@ | ||
--- | ||
clusterName: upgrade | ||
# Rolling upgrade doesn't work when upgrading from clusters with security disabled. | ||
# This is because nodes with security enabled can't join a cluster with security disabled. | ||
# Every nodes need to be recreated at the same time so they can recreate a cluster with security enabled | ||
updateStrategy: OnDelete |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
{{- if .Values.createCert }} | ||
apiVersion: v1 | ||
kind: Secret | ||
type: kubernetes.io/tls | ||
metadata: | ||
name: {{ template "elasticsearch.uname" . }}-certs | ||
labels: | ||
app: {{ template "elasticsearch.uname" . }} | ||
chart: "{{ .Chart.Name }}" | ||
heritage: {{ .Release.Service }} | ||
release: {{ .Release.Name }} | ||
annotations: | ||
"helm.sh/hook": "pre-install,pre-upgrade" | ||
"helm.sh/hook-delete-policy": "before-hook-creation" | ||
data: | ||
{{ ( include "elasticsearch.gen-certs" . ) | indent 2 }} | ||
{{- end }} |
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
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