-
Notifications
You must be signed in to change notification settings - Fork 733
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
Introduce Beat CRD #3041
Merged
+16,363
−67
Merged
Introduce Beat CRD #3041
Changes from all commits
Commits
Show all changes
82 commits
Select commit
Hold shift + click to select a range
8a72b79
Introduce Beat CRD
b8ee209
Exclude BeatList from doc generation
c68cfed
Add autodiscovery rbac flag to manager cmd, fix rbac for the operator
3f0f842
Change autodiscover RBAC flag from disable... to enable...
69184cc
Improve godoc wording
b538333
Rename beat_controller.go to controller.go
9ae99a4
Fix comment wording
98745b4
Fix update path for autodiscover resources
b2f898e
Add image validation if Beat type is not well known
469f67c
Regenerate CRDs and api docs
be128a2
Add metricbeat driver
40a35c5
Expand and improve Beat samples
4305780
Refactor config and pod vehicle reconcilation
d4c538e
Make new linter happy
e88b8c1
Add e2e tests, update smoke test
20f2af3
Add UTs
df0357c
Move writing derefed secret to hash to common
566feb8
Split config.go file
897bbfb
Set default replica count for unknown beats
66e29ae
Fix setting labels on daemonset
fcb8002
Fix not returning error when association secret key isn't found
b45481f
Add UTs for beat common and config
b2760b1
Fix imports
b1c2f96
Make config file mount path the same for all Beats
fc9c766
Fix some comments
f882293
Make path strings const
1b22437
Remove pv for now
0c6a132
Fix permissions for the operator
e10b7e9
Apply suggestions from code review
david-kow df85085
Fix builder security context setting
984e9db
Fix syntax errors
fb9d5c4
Adhere to testing conventions
0493d62
Fix redundant syntax
eeefc99
Regenerate docs
7d49cd3
Remove unnecessary comment from beat sample
c79d07a
Move validation to DriverParams
3b4a5be
Fix flag name and value
e145e10
Move setting default vehicle to driver constructor
728c6a5
Remove unused otherbeat type name
586fdd9
Expand comments and rename func for modifying pod template
9fe7974
Fix e2e permissions
c2c37e0
Support Beat Builder in samples test
fc852c3
Add SecurityContext to log generating pod
593e282
Fix permissions for the operator, create autodiscover role
8fc44d9
Fix Metricbeat e2e test
30fe136
PR fixes
85c0b60
Fix autodiscover cluster role name
a6d5262
Use empty dict instead of null for values
6644c7a
Clean up comments
a45e752
Fix Beat sample
750d84f
Filter events so that controller sees only the ones relevant for Beats
286f0c0
Remove watching dynamic secrets as there are none atm
61035a9
Clean up autodiscover ClusterRoleBinding on delete
8afb965
Rename default Beat Service Account
8bb0d21
Change min supported Beat version to 7.0.0
c454f80
move
4b832cc
refactor
0efdd62
Merge branch 'master' into beat_crd
770579a
Post merge fixes
dcd3dc4
Add/fix comments
262cadb
Fix removing comments from yamls
d1dcf39
Revert accidental comment
90e37a8
Renames and comments around autodiscover
ea46765
Refactor to avoid passing state around unnecessarily
4d303fd
Set security context on pod instead of on container
2911537
Loosen beat psp
bdb67b4
Fix adding beats to v1beta1 scheme
ac1ff77
Clean up comments on Beat type
328a833
Generated files
9133ecd
Fixes for OpenShift E2E tests
ae69269
Set template hash label to ClusterRoleBinding
ad6f674
Rename roles.yaml to beat-roles.yaml, common.go to driver.go
8941ce8
Conditionally add empty namespace to cached namespaces
22b940b
Reword comments, logs
595610a
Fix comments
ea57b80
Drop 'operator' from autodiscover resource names
ae1e37e
Move validating Beat spec to a separate func
84a6345
Tighten beat PSP, fix comments, regenerate
eca6654
Unit test derefing secret for config hash
d793e62
Fix beat-roles.yaml file name in Makefile
0ce0903
Remove some metricsets from default metricbeat cfg
4a679c7
PR fixes
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
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.
I think we have a single
nodes
(corresponding to available nodes) instead ofexpectedNodes
andavailableNodes
in other CRDs. Let's be consistent?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.
I think we did want to change that in the past (#1786). I'd be for keeping both and improving the status on other resources. It's following the pattern of built-in resources, gives the users more information and it comes free. I'd leave it as is unless you feel strongly about it. (I'm open to naming changes.)