File tree Expand file tree Collapse file tree 3 files changed +5
-3
lines changed
python/understack-workflows/understack_workflows/undersync
workflows/argo-events/workflowtemplates Expand file tree Collapse file tree 3 files changed +5
-3
lines changed Original file line number Diff line number Diff line change 1
1
spec:
2
2
podGC:
3
3
strategy: OnWorkflowSuccess # to allow garbage collection of secrets (created by pods) upon workflow completion
4
+ deleteDelayDuration: 72h
4
5
ttlStrategy:
5
6
secondsAfterSuccess: 300
6
7
secondsAfterFailure: 259200 # 3 days
Original file line number Diff line number Diff line change @@ -33,16 +33,16 @@ def client(self):
33
33
return session
34
34
35
35
def sync (self , uuids : str ) -> requests .Response :
36
- response = self .client .post (f"{ self .api_url } /v1/devices /{ uuids } /sync" )
36
+ response = self .client .post (f"{ self .api_url } /v1/vlan-group /{ uuids } /sync" )
37
37
response .raise_for_status ()
38
38
return response
39
39
40
40
def dry_run (self , uuids : str ) -> requests .Response :
41
- response = self .client .post (f"{ self .api_url } /v1/devices /{ uuids } /dry-run" )
41
+ response = self .client .post (f"{ self .api_url } /v1/vlan-group /{ uuids } /dry-run" )
42
42
response .raise_for_status ()
43
43
return response
44
44
45
45
def force (self , uuids : str ) -> requests .Response :
46
- response = self .client .post (f"{ self .api_url } /v1/devices /{ uuids } /force" )
46
+ response = self .client .post (f"{ self .api_url } /v1/vlan-group /{ uuids } /force" )
47
47
response .raise_for_status ()
48
48
return response
Original file line number Diff line number Diff line change 40
40
- name : interface_mac
41
41
- name : device_uuid
42
42
- name : network_name
43
+ - name : network_id
43
44
- name : force
44
45
- name : dry_run
45
46
volumes :
You can’t perform that action at this time.
0 commit comments