This repository was 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
[elasticsearch] SSL by default #1519
Merged
Merged
Changes from all commits
Commits
Show all changes
49 commits
Select commit
Hold shift + click to select a range
3219977
Adding support to Ingress networking.k8s.io/v1
framsouza ca298fd
Adjusting ES service name
framsouza 1caaa02
Removing ingress typo & adjusting python test
framsouza 4b2b7bf
Adjusting python tests to use the new ingress version
framsouza 2611e28
fixing conflict
framsouza 3843441
fixing conflict
framsouza 1391790
Merge branch 'elastic-master'
framsouza af7de17
Adding support to kubernetes ingress v1 & ClassName
framsouza 10ee16d
Adding reformatted files
framsouza 6407ff9
Merge branch 'elastic:master' into master
framsouza aefb05e
fixing conflict
framsouza eb96b28
Adding ClassName & Pathtype on ingress settings
framsouza 027448f
Merge branch 'elastic:master' into master
framsouza a6be99c
Performing syntax adjustments and removing comments
framsouza 795095a
Merge branch 'elastic:main' into main
framsouza 851231c
Merge branch 'elastic:main' into main
framsouza bdd089b
Merge branch 'elastic:main' into main
framsouza 2ec90eb
Merge branch 'elastic:main' into main
framsouza 5134bfa
Merge branch 'elastic:main' into main
framsouza 3178450
Merge branch 'main' of github.com:elastic/helm-charts into main
framsouza 45b00b4
Adding ssl to be used by default
framsouza 979ed7c
Adjusting protocol to perform tests
framsouza d2ae922
Chaging ssl settings to be used as environment variable
framsouza 5e2fb12
Adjusting python tests and README.md
framsouza da28d75
fixing typo
framsouza c662788
Adjusting examples to use https
framsouza d993718
Fix as per the comments
framsouza 26fbac1
Adding allow-insecure: true in the examples
framsouza 2bb0cae
fixing typo
framsouza f21ac9c
Adjusting security tests
framsouza 74bff48
[elasticsearch] fix upgrade test
jmlrt 24333b2
Adjusting tests and secret-cert
framsouza ab7da71
Merge branch 'elastic:main' into main
framsouza e91e90e
Merge branch 'main' of github.com:elastic/helm-charts into main
framsouza ffba2b1
Adding fixes based on the reviewer comments
framsouza b2b677c
fixing uname entry
framsouza e3754d0
Merge branch 'elastic:main' into main
framsouza 15cfb6b
Merge branch 'main' of github.com:elastic/helm-charts into main
framsouza fb6a767
Adjusting https connection
framsouza 06dcbbd
Merge branch 'elastic:main' into main
framsouza c6720a5
Merge branch 'main' of github.com:elastic/helm-charts into main
framsouza 04e5f64
Merge branch 'main' into ssl-transport-error
framsouza d52b008
Adjusting tests
framsouza bb75c11
Merge branch 'elastic:main' into main
framsouza 2c82de1
Merge branch 'main' of github.com:framsouza/helm-charts into main
framsouza a086b87
Merge branch 'main' into ssl-transport-error
framsouza 1ccf6fc
reverting beats, ls and kibana configuration
framsouza eef74c4
reverting beats, ls and kibana configuration
framsouza 58cc04f
adding back contains for logstash tests
framsouza File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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" | ||
framsouza marked this conversation as resolved.
Show resolved
Hide resolved
|
||
| "helm.sh/hook-delete-policy": "before-hook-creation" | ||
| data: | ||
| {{ ( include "elasticsearch.gen-certs" . ) | indent 2 }} | ||
| {{- end }} | ||
This file contains hidden or 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 hidden or 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 hidden or 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
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.