-
Notifications
You must be signed in to change notification settings - Fork 719
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
Add TLS and basic authentication integration to Logstash API server #7408
Merged
Merged
Changes from 9 commits
Commits
Show all changes
46 commits
Select commit
Hold shift + click to select a range
de6c293
Logstash add TLS support to API server
kaisecheng 4395ddf
lint
kaisecheng df50578
revert unwanted changes
kaisecheng 2ca0154
add test
kaisecheng adedb01
lint
kaisecheng 9d00d6f
update e2e with basic authentication
kaisecheng 33456d4
add comment
kaisecheng 367ffbc
Merge branch 'main' of github.com:elastic/cloud-on-k8s into logstash_…
kaisecheng 106bce1
optional ca.crt in bash script
kaisecheng 10f9854
add global ca test
kaisecheng 639d297
set default sslEnabled to true
kaisecheng 62b15b8
add APIService config tests
kaisecheng edec5e5
- add support to dollar sign variable that resolve from keystore (sec…
kaisecheng 738903f
lint
kaisecheng f16b52a
lint fix nested if
kaisecheng 67efa51
fix test
kaisecheng d259d16
add doc
kaisecheng 97a60e2
Update docs/orchestrating-elastic-stack-applications/logstash.asciidoc
kaisecheng 2cb8796
Update docs/orchestrating-elastic-stack-applications/logstash.asciidoc
kaisecheng 57762bd
Merge branch 'main' of github.com:elastic/cloud-on-k8s into logstash_…
kaisecheng 1cf0fad
Merge branch 'logstash_support_https_api' of github.com:kaisecheng/cl…
kaisecheng a800bb1
- update doc
kaisecheng 082e8f5
fix doc callouts
kaisecheng 0cf91d5
fix no container
kaisecheng a83f861
fix doc reference
kaisecheng a58ac0e
fix doc link
kaisecheng 9cdbc24
Update docs/orchestrating-elastic-stack-applications/logstash.asciidoc
kaisecheng ddb53c9
- remove default value substitution
kaisecheng d488cd2
fix indentation
kaisecheng c2b9d32
fix doc
kaisecheng f699a5c
rename method
kaisecheng 18dc0d8
remove unnecessary pointer
kaisecheng 02917ca
Update docs/orchestrating-elastic-stack-applications/logstash.asciidoc
kaisecheng cb39c60
remove bool UseTLS
kaisecheng dfce474
remove bool UseTLS
kaisecheng 60ba948
use ContainerByName
kaisecheng 365c946
set min version to 8.12.0
kaisecheng c4afca9
Merge branch 'main' of github.com:elastic/cloud-on-k8s into logstash_…
kaisecheng 9a7ae39
Update test/e2e/logstash/stack_monitoring_test.go
kaisecheng 80c966f
Update pkg/controller/logstash/stackmon/sidecar_test.go
kaisecheng 53b493d
fix builder deepCopy
kaisecheng 38598be
- remove stack monitoring version check
kaisecheng 763397e
fix tests
kaisecheng 070d1a6
Update pkg/controller/logstash/config.go
kaisecheng fc29424
nit
kaisecheng 6b803a3
Merge branch 'main' of github.com:elastic/cloud-on-k8s into logstash_…
kaisecheng 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 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 |
---|---|---|
|
@@ -78,4 +78,4 @@ func TestLogstashName(t *testing.T) { | |
} | ||
}) | ||
} | ||
} | ||
} |
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
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This test passes regardless of whether the value here has the TLS block, or whether
selfSignedCertificate.Disabled
value istrue
orfalse
, as only theuseTLS
flag is relevant here.I think we are missing a layer of testing, of how the
useTLS
setting is derived from theTLSOptions