Skip to content
This repository was archived by the owner on Jan 20, 2021. It is now read-only.

Commit ab399d6

Browse files
author
Simon Stone
authored
Merge pull request #135 from rthatcher/master
Delete Tasks modified to delete kubernetes elements. Issue 134
2 parents 75932a0 + 9b4192e commit ab399d6

File tree

6 files changed

+6
-6
lines changed

6 files changed

+6
-6
lines changed

tasks/saas/delete-ca.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222

2323
- name: Delete certificate authority
2424
uri:
25-
url: "{{ infrastructure.saas.api_endpoint }}/ak/api/v1/components/{{ ibp_ca.id }}"
25+
url: "{{ infrastructure.saas.api_endpoint }}/ak/api/v1/kubernetes/components/{{ ibp_ca.id }}"
2626
method: DELETE
2727
headers:
2828
Authorization: "Bearer {{ ibp.saas.access_token }}"

tasks/saas/delete-orderer.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222

2323
- name: Delete orderer
2424
uri:
25-
url: "{{ infrastructure.saas.api_endpoint }}/ak/api/v1/components/{{ ibp_orderer.id }}"
25+
url: "{{ infrastructure.saas.api_endpoint }}/ak/api/v1/kubernetes/components/{{ ibp_orderer.id }}"
2626
method: DELETE
2727
headers:
2828
Authorization: "Bearer {{ ibp.saas.access_token }}"

tasks/saas/delete-peer.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222

2323
- name: Delete peer
2424
uri:
25-
url: "{{ infrastructure.saas.api_endpoint }}/ak/api/v1/components/{{ ibp_peer.id }}"
25+
url: "{{ infrastructure.saas.api_endpoint }}/ak/api/v1/kubernetes/components/{{ ibp_peer.id }}"
2626
method: DELETE
2727
headers:
2828
Authorization: "Bearer {{ ibp.saas.access_token }}"

tasks/software/delete-ca.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323

2424
- name: Delete certificate authority
2525
uri:
26-
url: "{{ infrastructure.software.api_endpoint }}/ak/api/v1/components/{{ ibp_ca.id }}"
26+
url: "{{ infrastructure.software.api_endpoint }}/ak/api/v1/kubernetes/components/{{ ibp_ca.id }}"
2727
url_username: "{{ infrastructure.software.api_key }}"
2828
url_password: "{{ infrastructure.software.api_secret }}"
2929
method: DELETE

tasks/software/delete-orderer.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323

2424
- name: Delete orderer
2525
uri:
26-
url: "{{ infrastructure.software.api_endpoint }}/ak/api/v1/components/{{ ibp_orderer.id }}"
26+
url: "{{ infrastructure.software.api_endpoint }}/ak/api/v1/kubernetes/components/{{ ibp_orderer.id }}"
2727
url_username: "{{ infrastructure.software.api_key }}"
2828
url_password: "{{ infrastructure.software.api_secret }}"
2929
method: DELETE

tasks/software/delete-peer.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323

2424
- name: Delete peer
2525
uri:
26-
url: "{{ infrastructure.software.api_endpoint }}/ak/api/v1/components/{{ ibp_peer.id }}"
26+
url: "{{ infrastructure.software.api_endpoint }}/ak/api/v1/kubernetes/components/{{ ibp_peer.id }}"
2727
url_username: "{{ infrastructure.software.api_key }}"
2828
url_password: "{{ infrastructure.software.api_secret }}"
2929
method: DELETE

0 commit comments

Comments
 (0)