diff --git a/charts/opendesk-migrations/templates/role.yaml b/charts/opendesk-migrations/templates/role.yaml index bfc796fea8b6004ea48e81028fa4200fdd975fab..83fc70d53abeff7001844bc08ba35ffc4a30f31f 100644 --- a/charts/opendesk-migrations/templates/role.yaml +++ b/charts/opendesk-migrations/templates/role.yaml @@ -28,6 +28,11 @@ rules: # # run_2.py # + # Delete of StatefulSet ox-connector. + - apiGroups: ["apps"] + resources: ["statefulsets"] + resourceNames: ["ox-connector"] + verbs: ["delete"] # Delete services ums-keycloak, ums-udm-rest-api - apiGroups: [""] resources: ["services"] @@ -62,10 +67,10 @@ rules: - apiGroups: [""] resources: ["persistentvolumeclaims"] verbs: ["create"] - # PVC delete that is no longer in use. + # PVC delete that are no longer in use. - apiGroups: [""] resources: ["persistentvolumeclaims"] - resourceNames: ["shared-run-ums-ldap-server-0"] + resourceNames: ["shared-run-ums-ldap-server-0", "ox-connector-appcenter-ox-connector-0", "ox-connector-data-ox-connector-0", "ox-connector-ox-contexts-ox-connector-0"] verbs: ["delete"] # Restart of Deployments. - apiGroups: ["apps"]