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

Commit 15c35c2

Browse files
committed
open up some specifica IPFS API endpoints
1 parent c85f49a commit 15c35c2

File tree

1 file changed

+16
-8
lines changed

1 file changed

+16
-8
lines changed

devops/kubernetes/charts/origin/templates/ipfs-cluster.ingress.yaml

Lines changed: 16 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -74,14 +74,18 @@ spec:
7474
backend: *cluster_api_service
7575
- path: /pins
7676
backend: *cluster_api_service
77+
- path: /api/v0/id
78+
backend: &open_api_service
79+
serviceName: "{{ template "ipfsCluster.fullname" . }}-headless"
80+
servicePort: 5001
81+
- path: /api/v0/dns
82+
backend: *open_api_service
83+
- path: /api/v0/get
84+
backend: *open_api_service
7785
- path: /api/v0/add
7886
backend: &api_service
7987
serviceName: {{ template "ipfsCluster.fullname" . }}
8088
servicePort: 9999
81-
- path: /api/v0/id
82-
backend: *api_service
83-
- path: /api/v0/dns
84-
backend: *api_service
8589
- path: /api/v0/object/links
8690
backend: *api_service
8791
- path: /api/v0/object/patch/add-link
@@ -114,16 +118,20 @@ spec:
114118
backend: *cluster_api_service
115119
- path: /pins
116120
backend: *cluster_api_service
121+
- path: /api/v0/id
122+
backend: &open_api_service
123+
serviceName: "{{ template "ipfsCluster.fullname" . }}-headless"
124+
servicePort: 5001
125+
- path: /api/v0/dns
126+
backend: *open_api_service
127+
- path: /api/v0/get
128+
backend: *open_api_service
117129
- path: /api/v0/add
118130
backend: &api_service
119131
serviceName: {{ template "ipfsCluster.fullname" . }}
120132
servicePort: 9999
121133
- path: /api/v0/pin/ls
122134
backend: *api_service
123-
- path: /api/v0/id
124-
backend: *api_service
125-
- path: /api/v0/dns
126-
backend: *api_service
127135
- path: /api/v0/pin/add
128136
backend: *api_service
129137
- path: /api/v0/object/links

0 commit comments

Comments
 (0)