-
Notifications
You must be signed in to change notification settings - Fork 1
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
Chaos testing #6
Conversation
Signed-off-by: pashavictorovich <pavel@codefresh.io>
This reverts commit d0e2135 Signed-off-by: pashavictorovich <pavel@codefresh.io>
Signed-off-by: pashavictorovich <pavel@codefresh.io>
Signed-off-by: pashavictorovich <pavel@codefresh.io>
PR-Agent was enabled for this repository. To use it, please link your git user with your CodiumAI identity here. CI Failure Feedback
✨ CI feedback usage guide:The CI feedback tool (
In addition to being automatically triggered, the tool can also be invoked manually by commenting on a PR:
where Configuration options
See more information about the |
/review |
PR-Agent was enabled for this repository. To use it, please link your git user with your CodiumAI identity here. PR Description updated to latest commit (7405e03)
|
PR-Agent was enabled for this repository. To use it, please link your git user with your CodiumAI identity here. PR Review
Code feedback:
✨ Review tool usage guide:Overview: The tool can be triggered automatically every time a new PR is opened, or can be invoked manually by commenting on any PR.
See the review usage page for a comprehensive guide on using this tool. |
PR-Agent was enabled for this repository. To use it, please link your git user with your CodiumAI identity here. PR Review
✨ Review tool usage guide:Overview: The tool can be triggered automatically every time a new PR is opened, or can be invoked manually by commenting on any PR.
See the review usage page for a comprehensive guide on using this tool. |
PR Code Suggestions
✨ Improve tool usage guide:Overview:
See the improve usage page for a comprehensive guide on using this tool. |
PR-Agent was enabled for this repository. To use it, please link your git user with your CodiumAI identity here. CI Failure Feedback
✨ CI feedback usage guide:The CI feedback tool (
In addition to being automatically triggered, the tool can also be invoked manually by commenting on a PR:
where Configuration options
See more information about the |
User description
Checklist:
Type
enhancement, documentation
Description
logs
resource in RBAC settings and enforcement based on environment variable.logs
resource in RBAC.Changes walkthrough
8 files
settings_rbac.go
Add log resource to RBAC settings
cmd/argocd/commands/admin/settings_rbac.go
log
andlogs
toresourceMap
andvalidRBACResources
for RBACsettings.
common.go
Introduce constant for cmd params config map
common/common.go
ArgoCDCmdParamsConfigMapName
constant for cmd params configmap.
cmd.go
Implement chaos testing command
hack/chaos-testing/cmd/commands/cmd.go
main.go
Add entry point for chaos testing command
hack/chaos-testing/cmd/main.go
argo-api.go
Add Argo CD API utility functions for chaos testing
hack/chaos-testing/util/argo-api.go
account.go
Temporarily enforce RBAC for logs based on env var
server/account/account.go
variable.
application.go
Enforce RBAC for logs in pod logs query
server/application/application.go
rbacpolicy.go
Include logs in RBAC policy resources
server/rbacpolicy/rbacpolicy.go
ResourceLogs
in RBAC policy resources.8 files
account_test.go
Add unit tests for RBAC enforcement on logs
server/account/account_test.go
rbacpolicy_test.go
Add unit tests for RBAC policy including logs
server/rbacpolicy/rbacpolicy_test.go
accounts_test.go
Add E2E tests for RBAC enforcement on logs
test/e2e/accounts_test.go
actions.go
Add actions for testing RBAC on logs
test/e2e/fixture/account/actions.go
consequences.go
Add consequences for testing RBAC on logs
test/e2e/fixture/account/consequences.go
context.go
Add context setup for testing RBAC on logs
test/e2e/fixture/account/context.go
fixture.go
Add fixture setup for testing RBAC on logs
test/e2e/fixture/fixture.go
argocd-rbac-cm.yaml
Add logs resource to RBAC config map test data
cmd/argocd/commands/admin/testdata/rbac/argocd-rbac-cm.yaml
logs
resource to RBAC config map test data.6 files
Makefile
Adjust codegen order in Makefile
Makefile
argocd-server-deployment.yaml
Add env var for RBAC log enforcement in server deployment
manifests/base/server/argocd-server-deployment.yaml
deployment.
install.yaml
Add env var for RBAC log enforcement in HA install
manifests/ha/install.yaml
namespace-install.yaml
Add env var for RBAC log enforcement in namespace install
manifests/ha/namespace-install.yaml
install.
install.yaml
Add env var for RBAC log enforcement in install manifest
manifests/install.yaml
manifest.
namespace-install.yaml
Add env var for RBAC log enforcement in namespace install manifest
manifests/namespace-install.yaml
install manifest.
1 files
argocd_account_can-i.md
Document inclusion of logs resource in RBAC
docs/user-guide/commands/argocd_account_can-i.md
logs
resource in RBAC.1 files
go.mod
Update Go version and add indirect dependencies
go.mod
1 files
gen_resources.yaml
Update sample cluster generation settings
hack/gen-resources/examples/gen_resources.yaml