openshift-update-proxy 1.0.0__tar.gz → 1.0.2__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {openshift_update_proxy-1.0.0 → openshift_update_proxy-1.0.2}/PKG-INFO +9 -5
- {openshift_update_proxy-1.0.0 → openshift_update_proxy-1.0.2}/README.md +8 -4
- {openshift_update_proxy-1.0.0 → openshift_update_proxy-1.0.2}/pyproject.toml +1 -1
- {openshift_update_proxy-1.0.0 → openshift_update_proxy-1.0.2}/src/openshift_update_proxy/__init__.py +1 -1
- {openshift_update_proxy-1.0.0 → openshift_update_proxy-1.0.2}/src/openshift_update_proxy.egg-info/PKG-INFO +9 -5
- {openshift_update_proxy-1.0.0 → openshift_update_proxy-1.0.2}/LICENSE +0 -0
- {openshift_update_proxy-1.0.0 → openshift_update_proxy-1.0.2}/setup.cfg +0 -0
- {openshift_update_proxy-1.0.0 → openshift_update_proxy-1.0.2}/src/openshift_update_proxy/__main__.py +0 -0
- {openshift_update_proxy-1.0.0 → openshift_update_proxy-1.0.2}/src/openshift_update_proxy/app.py +0 -0
- {openshift_update_proxy-1.0.0 → openshift_update_proxy-1.0.2}/src/openshift_update_proxy/config.py +0 -0
- {openshift_update_proxy-1.0.0 → openshift_update_proxy-1.0.2}/src/openshift_update_proxy.egg-info/SOURCES.txt +0 -0
- {openshift_update_proxy-1.0.0 → openshift_update_proxy-1.0.2}/src/openshift_update_proxy.egg-info/dependency_links.txt +0 -0
- {openshift_update_proxy-1.0.0 → openshift_update_proxy-1.0.2}/src/openshift_update_proxy.egg-info/entry_points.txt +0 -0
- {openshift_update_proxy-1.0.0 → openshift_update_proxy-1.0.2}/src/openshift_update_proxy.egg-info/requires.txt +0 -0
- {openshift_update_proxy-1.0.0 → openshift_update_proxy-1.0.2}/src/openshift_update_proxy.egg-info/top_level.txt +0 -0
- {openshift_update_proxy-1.0.0 → openshift_update_proxy-1.0.2}/tests/test_app.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: openshift-update-proxy
|
|
3
|
-
Version: 1.0.
|
|
3
|
+
Version: 1.0.2
|
|
4
4
|
Summary: Forwarding proxy for OpenShift update resources (Cincinnati API, mirror, release signatures)
|
|
5
5
|
Author-email: Simon Lauger <simon@lauger.de>
|
|
6
6
|
License-Expression: Apache-2.0
|
|
@@ -122,11 +122,15 @@ and is built from the `Containerfile` in this repository.
|
|
|
122
122
|
|
|
123
123
|
### Helm
|
|
124
124
|
|
|
125
|
+
The chart is published as an OCI artifact to ghcr.io on every release:
|
|
126
|
+
|
|
125
127
|
```bash
|
|
126
|
-
helm install update-proxy
|
|
128
|
+
helm install update-proxy oci://ghcr.io/slauger/charts/openshift-update-proxy \
|
|
127
129
|
--set env[0].name=HTTPS_PROXY,env[0].value=http://proxy.example.com:3128
|
|
128
130
|
```
|
|
129
131
|
|
|
132
|
+
Or from a git checkout: `helm install update-proxy ./chart`
|
|
133
|
+
|
|
130
134
|
### PyPI
|
|
131
135
|
|
|
132
136
|
```bash
|
|
@@ -147,7 +151,7 @@ kind: ClusterVersion
|
|
|
147
151
|
metadata:
|
|
148
152
|
name: version
|
|
149
153
|
spec:
|
|
150
|
-
upstream: http://update-proxy.example.com:
|
|
154
|
+
upstream: http://update-proxy.example.com:5000/api/upgrades_info/v1/graph
|
|
151
155
|
```
|
|
152
156
|
|
|
153
157
|
### Release signatures
|
|
@@ -166,7 +170,7 @@ metadata:
|
|
|
166
170
|
name: version
|
|
167
171
|
spec:
|
|
168
172
|
signatureStores:
|
|
169
|
-
- url: http://update-proxy.example.com:
|
|
173
|
+
- url: http://update-proxy.example.com:5000/signatures
|
|
170
174
|
```
|
|
171
175
|
|
|
172
176
|
**Option 2: Signature ConfigMap**
|
|
@@ -176,7 +180,7 @@ ready-to-apply ConfigMap (same format as `oc adm release mirror` / oc-mirror pro
|
|
|
176
180
|
|
|
177
181
|
```bash
|
|
178
182
|
DIGEST=$(oc adm release info quay.io/openshift-release-dev/ocp-release:4.16.8-x86_64 -o jsonpath='{.digest}')
|
|
179
|
-
curl -s "http://update-proxy.example.com:
|
|
183
|
+
curl -s "http://update-proxy.example.com:5000/configmaps/${DIGEST/:/=}" | oc apply -f -
|
|
180
184
|
```
|
|
181
185
|
|
|
182
186
|
The ConfigMap is created in `openshift-config-managed` with the
|
|
@@ -91,11 +91,15 @@ and is built from the `Containerfile` in this repository.
|
|
|
91
91
|
|
|
92
92
|
### Helm
|
|
93
93
|
|
|
94
|
+
The chart is published as an OCI artifact to ghcr.io on every release:
|
|
95
|
+
|
|
94
96
|
```bash
|
|
95
|
-
helm install update-proxy
|
|
97
|
+
helm install update-proxy oci://ghcr.io/slauger/charts/openshift-update-proxy \
|
|
96
98
|
--set env[0].name=HTTPS_PROXY,env[0].value=http://proxy.example.com:3128
|
|
97
99
|
```
|
|
98
100
|
|
|
101
|
+
Or from a git checkout: `helm install update-proxy ./chart`
|
|
102
|
+
|
|
99
103
|
### PyPI
|
|
100
104
|
|
|
101
105
|
```bash
|
|
@@ -116,7 +120,7 @@ kind: ClusterVersion
|
|
|
116
120
|
metadata:
|
|
117
121
|
name: version
|
|
118
122
|
spec:
|
|
119
|
-
upstream: http://update-proxy.example.com:
|
|
123
|
+
upstream: http://update-proxy.example.com:5000/api/upgrades_info/v1/graph
|
|
120
124
|
```
|
|
121
125
|
|
|
122
126
|
### Release signatures
|
|
@@ -135,7 +139,7 @@ metadata:
|
|
|
135
139
|
name: version
|
|
136
140
|
spec:
|
|
137
141
|
signatureStores:
|
|
138
|
-
- url: http://update-proxy.example.com:
|
|
142
|
+
- url: http://update-proxy.example.com:5000/signatures
|
|
139
143
|
```
|
|
140
144
|
|
|
141
145
|
**Option 2: Signature ConfigMap**
|
|
@@ -145,7 +149,7 @@ ready-to-apply ConfigMap (same format as `oc adm release mirror` / oc-mirror pro
|
|
|
145
149
|
|
|
146
150
|
```bash
|
|
147
151
|
DIGEST=$(oc adm release info quay.io/openshift-release-dev/ocp-release:4.16.8-x86_64 -o jsonpath='{.digest}')
|
|
148
|
-
curl -s "http://update-proxy.example.com:
|
|
152
|
+
curl -s "http://update-proxy.example.com:5000/configmaps/${DIGEST/:/=}" | oc apply -f -
|
|
149
153
|
```
|
|
150
154
|
|
|
151
155
|
The ConfigMap is created in `openshift-config-managed` with the
|
|
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "openshift-update-proxy"
|
|
7
|
-
version = "1.0.
|
|
7
|
+
version = "1.0.2"
|
|
8
8
|
description = "Forwarding proxy for OpenShift update resources (Cincinnati API, mirror, release signatures)"
|
|
9
9
|
readme = "README.md"
|
|
10
10
|
license = "Apache-2.0"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: openshift-update-proxy
|
|
3
|
-
Version: 1.0.
|
|
3
|
+
Version: 1.0.2
|
|
4
4
|
Summary: Forwarding proxy for OpenShift update resources (Cincinnati API, mirror, release signatures)
|
|
5
5
|
Author-email: Simon Lauger <simon@lauger.de>
|
|
6
6
|
License-Expression: Apache-2.0
|
|
@@ -122,11 +122,15 @@ and is built from the `Containerfile` in this repository.
|
|
|
122
122
|
|
|
123
123
|
### Helm
|
|
124
124
|
|
|
125
|
+
The chart is published as an OCI artifact to ghcr.io on every release:
|
|
126
|
+
|
|
125
127
|
```bash
|
|
126
|
-
helm install update-proxy
|
|
128
|
+
helm install update-proxy oci://ghcr.io/slauger/charts/openshift-update-proxy \
|
|
127
129
|
--set env[0].name=HTTPS_PROXY,env[0].value=http://proxy.example.com:3128
|
|
128
130
|
```
|
|
129
131
|
|
|
132
|
+
Or from a git checkout: `helm install update-proxy ./chart`
|
|
133
|
+
|
|
130
134
|
### PyPI
|
|
131
135
|
|
|
132
136
|
```bash
|
|
@@ -147,7 +151,7 @@ kind: ClusterVersion
|
|
|
147
151
|
metadata:
|
|
148
152
|
name: version
|
|
149
153
|
spec:
|
|
150
|
-
upstream: http://update-proxy.example.com:
|
|
154
|
+
upstream: http://update-proxy.example.com:5000/api/upgrades_info/v1/graph
|
|
151
155
|
```
|
|
152
156
|
|
|
153
157
|
### Release signatures
|
|
@@ -166,7 +170,7 @@ metadata:
|
|
|
166
170
|
name: version
|
|
167
171
|
spec:
|
|
168
172
|
signatureStores:
|
|
169
|
-
- url: http://update-proxy.example.com:
|
|
173
|
+
- url: http://update-proxy.example.com:5000/signatures
|
|
170
174
|
```
|
|
171
175
|
|
|
172
176
|
**Option 2: Signature ConfigMap**
|
|
@@ -176,7 +180,7 @@ ready-to-apply ConfigMap (same format as `oc adm release mirror` / oc-mirror pro
|
|
|
176
180
|
|
|
177
181
|
```bash
|
|
178
182
|
DIGEST=$(oc adm release info quay.io/openshift-release-dev/ocp-release:4.16.8-x86_64 -o jsonpath='{.digest}')
|
|
179
|
-
curl -s "http://update-proxy.example.com:
|
|
183
|
+
curl -s "http://update-proxy.example.com:5000/configmaps/${DIGEST/:/=}" | oc apply -f -
|
|
180
184
|
```
|
|
181
185
|
|
|
182
186
|
The ConfigMap is created in `openshift-config-managed` with the
|
|
File without changes
|
|
File without changes
|
{openshift_update_proxy-1.0.0 → openshift_update_proxy-1.0.2}/src/openshift_update_proxy/__main__.py
RENAMED
|
File without changes
|
{openshift_update_proxy-1.0.0 → openshift_update_proxy-1.0.2}/src/openshift_update_proxy/app.py
RENAMED
|
File without changes
|
{openshift_update_proxy-1.0.0 → openshift_update_proxy-1.0.2}/src/openshift_update_proxy/config.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|