Files
Siddhesh GhadiandGitHub a02677cdd0 feat: Prune resources in reverse order of syncwave during sync (#15074) (#16748)
* Add e2e & doc for prune order during sync

Signed-off-by: Siddhesh Ghadi <[email protected]>

* Point gitops-engine to fork with reverse prune changes

Signed-off-by: Siddhesh Ghadi <[email protected]>

* Fix ci linting failures

Signed-off-by: Siddhesh Ghadi <[email protected]>

* Update gitops-engine commit ref

Signed-off-by: Siddhesh Ghadi <[email protected]>

---------

Signed-off-by: Siddhesh Ghadi <[email protected]>
2024-01-30 10:08:59 -05:00

37 lines
703 B
YAML

apiVersion: v1
kind: ServiceAccount
metadata:
name: modify-pods-sa
annotations:
argocd.argoproj.io/sync-wave: "0"
---
apiVersion: rbac.authorization.k8s.io/v1
kind: Role
metadata:
name: modify-pods-role
annotations:
argocd.argoproj.io/sync-wave: "0"
rules:
- apiGroups: [""]
resources:
- pods
verbs:
- get
- list
- delete
- update
- patch
---
apiVersion: rbac.authorization.k8s.io/v1
kind: RoleBinding
metadata:
name: modify-pods-rolebinding
annotations:
argocd.argoproj.io/sync-wave: "1"
subjects:
- kind: ServiceAccount
name: modify-pods-sa
roleRef:
kind: Role
name: modify-pods-role
apiGroup: rbac.authorization.k8s.io