Skip to content

Commit d876b94

Browse files
stevsmitSteven Smith
andauthored
Updates proxy cache API calls (quay#1503)
Co-authored-by: Steven Smith <[email protected]>
1 parent fbf4d9a commit d876b94

File tree

3 files changed

+8
-1
lines changed

3 files changed

+8
-1
lines changed

modules/api-organization-createProxyCacheConfig.adoc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,5 +57,7 @@ $ curl -X POST "https://<quay-server.example.com>/api/v1/organization/<orgname>/
5757
-H "Content-Type: application/json" \
5858
-d '{
5959
"upstream_registry": "<upstream_registry>"
60+
"upstream_registry_username": "your_robot_account_username"
61+
"upstream_registry_password": "your_robot_account_password"
6062
}'
6163
----

modules/api-organization-validateProxyCacheConfig.adoc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@ $ curl -X POST "https://<quay-server.example.com>/api/v1/organization/{orgname}/
5656
-H "Content-Type: application/json" \
5757
-d '{
5858
"upstream_registry": "<upstream_registry>"
59+
"upstream_registry_username": "your_robot_account_username"
60+
"upstream_registry_password": "your_robot_account_password"
5961
}'
60-
6162
----

modules/org-proxy-cache-configuration-api.adoc

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@ $ curl -X POST "https://<quay-server.example.com>/api/v1/organization/<orgname>/
1919
-H "Content-Type: application/json" \
2020
-d '{
2121
"upstream_registry": "<upstream_registry>"
22+
"upstream_registry_username": "your_robot_account_username"
23+
"upstream_registry_password": "your_robot_account_password"
2224
}'
2325
----
2426

@@ -31,6 +33,8 @@ $ curl -X POST "https://<quay-server.example.com>/api/v1/organization/{orgname}/
3133
-H "Content-Type: application/json" \
3234
-d '{
3335
"upstream_registry": "<upstream_registry>"
36+
"upstream_registry_username": "your_robot_account_username"
37+
"upstream_registry_password": "your_robot_account_password"
3438
}'
3539
----
3640

0 commit comments

Comments
 (0)