Commit 6938474
feat: Allow the configuration of the security plugin (#117)
* test: Add security-config integration test
* feat: Add securityConfig to the CRD; Deploy the initial security configuration
* Deploy security config files only if completely managed by the API
* test(smoke): Use securityConfig
* Deploy security config files only to the managing role group
* Create admin certificate in init container
* Add update-security-config container
* Configure DN of the admin certificate
* Allow only one pod to manage the security configuration
* Validate the security configuration; Fix all unit tests
* Allow to disable the security plugin
* Use a structure for the validated security configuration
* Declare security init containers
* test(backup-restore): Use securityConfig
* test(external-access): Use securityConfig
* test(ldap): Use securityConfig
* test(logging): Use securityConfig
* test(metrics): Use securityConfig
* test(opensearch-dashboards): Use securityConfig
* Rename clusterConfig.security.config to clusterConfig.security.settings; Fix admin DN; Fix integration tests
* Update the CRD documentation
* Rename admin_dn() to super_admin_dn()
* Do not use overrides to determine if TLS is enabled
* Delete unit tests for removed functions
* Update changelog
* Fix shellcheck warnings
* Extend node_config unit test
* Rename ValidatedSecurity::config to settings
* Restructure role group builder
* Move init-keystore script into separate file
* Add security modes to the role group builder
* test(smoke): Fix assertion
* test: Test role group security modes
* Regenerate charts
* Rework RoleGroupSecurityMode
* Test NodeConfig::super_admin_dn
* Remove redundant enum SecurityConfigFileType
* Fix comments
* Test RoleGroupBuilder::security_settings_file_type_managed_by_env_var
* Add ValidatedSecurity::Disabled
* Test the preprocess step
* Rename security_config_managing_role_group to security_config_managing_role_group_default
* Upgrade opensearch-py to version 3.1.0
* Fix tests
* Fix the test cases that work with the original image
* Add support for DEPRECATION log level
* test: Set backoffLimit for all jobs
* Validate node roles; Fix coordinating_only node role
* doc: Document the security plugin configuration
* Rename allow_list.yml to allowlist.yml
* test(smoke): Fix test assertion
* doc: Improve the security documentation
* doc: Remove deprecation warning for the opensearch-operator
* Store the Vector state in /stackable/log/_vector-state
* Update docs/modules/opensearch/pages/usage-guide/security.adoc
Co-authored-by: Malte Sander <malte.sander.it@gmail.com>
* Update rust/operator-binary/src/controller/validate.rs
Co-authored-by: Malte Sander <malte.sander.it@gmail.com>
* Regenerate charts
* test: Fix unit tests
* Regenerate Nix files
* test(smoke): Fix test assertion
---------
Co-authored-by: Malte Sander <malte.sander.it@gmail.com>1 parent 47ee593 commit 6938474
File tree
89 files changed
+7215
-2282
lines changed- docs/modules/opensearch
- examples/getting_started
- pages
- getting_started
- reference
- usage-guide
- extra
- rust/operator-binary/src
- controller
- build
- product_logging
- scripts
- crd
- framework/product_logging
- tests
- templates/kuttl
- backup-restore
- external-access
- ldap
- logging
- metrics
- opensearch-dashboards
- security-config
- security-disabled
- smoke
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
89 files changed
+7215
-2282
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
| 30 | + | |
30 | 31 | | |
31 | 32 | | |
32 | 33 | | |
| |||
50 | 51 | | |
51 | 52 | | |
52 | 53 | | |
| 54 | + | |
53 | 55 | | |
54 | 56 | | |
55 | 57 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 28 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
50 | | - | |
| 50 | + | |
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
| |||
91 | 91 | | |
92 | 92 | | |
93 | 93 | | |
94 | | - | |
95 | | - | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
96 | 109 | | |
97 | 110 | | |
98 | 111 | | |
99 | 112 | | |
100 | 113 | | |
101 | 114 | | |
102 | 115 | | |
103 | | - | |
104 | | - | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
105 | 128 | | |
106 | 129 | | |
107 | 130 | | |
| |||
Lines changed: 28 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
50 | | - | |
| 50 | + | |
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
| |||
91 | 91 | | |
92 | 92 | | |
93 | 93 | | |
94 | | - | |
95 | | - | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
96 | 109 | | |
97 | 110 | | |
98 | 111 | | |
99 | 112 | | |
100 | 113 | | |
101 | 114 | | |
102 | 115 | | |
103 | | - | |
104 | | - | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
105 | 128 | | |
106 | 129 | | |
107 | 130 | | |
| |||
Lines changed: 34 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
Lines changed: 30 additions & 30 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | | - | |
| 20 | + | |
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
27 | | - | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | | - | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
37 | 37 | | |
38 | | - | |
39 | | - | |
40 | | - | |
41 | | - | |
42 | | - | |
43 | | - | |
44 | | - | |
45 | | - | |
46 | | - | |
47 | | - | |
48 | | - | |
49 | | - | |
50 | | - | |
51 | | - | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
52 | 52 | | |
53 | | - | |
54 | | - | |
55 | | - | |
56 | | - | |
57 | | - | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
58 | 58 | | |
59 | 59 | | |
0 commit comments