Skip to content
Snippets Groups Projects
Verified Commit 5b442986 authored by Thorsten Roßner's avatar Thorsten Roßner
Browse files

fix(run2): Copy OX-Connector PVC.

parent 8ca8d1cd
No related branches found
No related tags found
No related merge requests found
Pipeline #83785 passed with warnings
......@@ -53,11 +53,11 @@ rules:
resources: ["pods/exec"]
resourceNames: ["ums-ldap-server-0"]
verbs: ["get", "create"]
# PVC get (current size of) and (later) delete old ldap-data.
# PVC get (current size of)
- apiGroups: [""]
resources: ["persistentvolumeclaims"]
resourceNames: ["shared-data-ums-ldap-server-0"]
verbs: ["get", "delete"]
resourceNames: ["shared-data-ums-ldap-server-0", , "ox-connector-ox-contexts-ox-connector-0"]
verbs: ["get"]
# Rescaling of LDAP stateful sets before copying the PVC.
- apiGroups: ["apps"]
resources: ["statefulsets/scale"]
......@@ -70,7 +70,7 @@ rules:
# PVC delete that are no longer in use.
- apiGroups: [""]
resources: ["persistentvolumeclaims"]
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"]
resourceNames: ["shared-data-ums-ldap-server-0", "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"]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment