Skip to content
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

DOTNET-5289 Add support for argo rollouts #150

Merged
merged 6 commits into from
Oct 17, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update rbac for argo rollouts
gamingrobot committed Oct 16, 2023

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
commit deacc4b8d9400a5ba761261dc8e8d7e9451ee614
1 change: 1 addition & 0 deletions manifests/generate-manifests.ps1
Original file line number Diff line number Diff line change
@@ -35,6 +35,7 @@ dotnet run --no-build --project $project -- generator rbac -o $output\rbac\
# "$($output)operator\kustomization.yaml"
"$($output)crd\deploymentconfigs_apps_openshift_io.yaml"
"$($output)crd\dynakubes_dynatrace_com.yaml"
"$($output)crd\rollouts_argoproj_io.yaml"
"$($output)crd\kustomization.yaml"
) | ForEach-Object {
Write-Host "Cleaning up bad object $_"
60 changes: 31 additions & 29 deletions manifests/install/all/operator/base/rbac/cluster-role.yaml
Original file line number Diff line number Diff line change
@@ -6,35 +6,14 @@ metadata:
app.kubernetes.io/name: operator
app.kubernetes.io/part-of: contrast-agent-operator
rules:
- apiGroups:
- ""
- agents.contrastsecurity.com
- coordination.k8s.io
resources:
- secrets
- agentconnections
- agentconfigurations
- leases
verbs:
- '*'
- apiGroups:
- admissionregistration.k8s.io
resources:
- mutatingwebhookconfigurations
verbs:
- create
- get
- list
- watch
- patch
- update
- delete
- apiGroups:
- apps
- argoproj.io
- ""
- apps.openshift.io
resources:
- daemonsets
- rollouts
- deployments
- statefulsets
- pods
@@ -46,21 +25,44 @@ rules:
- patch
- apiGroups:
- agents.contrastsecurity.com
- dynatrace.com
resources:
- agentinjectors
- clusteragentconfigurations
- dynakubes
- clusteragentconnections
verbs:
- get
- list
- watch
- apiGroups:
- agents.contrastsecurity.com
- ""
- coordination.k8s.io
resources:
- agentconnections
- secrets
- agentconfigurations
- leases
verbs:
- '*'
- apiGroups:
- agents.contrastsecurity.com
- dynatrace.com
resources:
- clusteragentconnections
- dynakubes
- clusteragentconfigurations
- agentinjectors
verbs:
- '*'
- apiGroups:
- admissionregistration.k8s.io
resources:
- mutatingwebhookconfigurations
verbs:
- create
- get
- list
- watch
- patch
- update
- delete
- apiGroups:
- ""
resources:
@@ -121,4 +123,4 @@ rules:
verbs:
- get
- patch
- update
- update