@@ -87,6 +87,7 @@ Tang operator-bundle are:
87
87
- v1.0.2: new GA release candidate. Fix CVE-2023 -39325
88
88
- v1.0.3: new GA release candidate. Update all mods to latest version
89
89
- v1.0.4: new GA release candidate. Adjust to naming conventions
90
+ - v1.0.5: new GA release candidate. Use latest ` kube-rbac-proxy ` version
90
91
91
92
## Installation
92
93
@@ -108,23 +109,23 @@ operator-sdk installation is described in the [Links](#links) section.
108
109
109
110
In order to deploy the latest version of the Tang operator, check latest released
110
111
version in the [ Versions] ( #versions ) section, and install the appropriate version
111
- bundle. For example, in case latest version is ** 1.0.4 ** , the command to execute
112
+ bundle. For example, in case latest version is ** 1.0.5 ** , the command to execute
112
113
will be:
113
114
114
115
``` bash
115
- $ operator-sdk run bundle quay.io/sec-eng-special/tang-operator-bundle:v1.0.4 --index-image=quay.io/operator-framework/opm:v1.23.0
116
- INFO[0008] Successfully created registry pod: quay-io-sec-eng-special-tang-operator-bundle-v1.0.4
116
+ $ operator-sdk run bundle quay.io/sec-eng-special/tang-operator-bundle:v1.0.5 --index-image=quay.io/operator-framework/opm:v1.23.0
117
+ INFO[0008] Successfully created registry pod: quay-io-sec-eng-special-tang-operator-bundle-v1.0.5
117
118
INFO[0009] Created CatalogSource: tang-operator-catalog
118
119
INFO[0009] OperatorGroup " operator-sdk-og" created
119
- INFO[0009] Created Subscription: tang-operator-v1.0.4 -sub
120
- INFO[0011] Approved InstallPlan install-lqf9f for the Subscription: tang-operator-v1.0.4 -sub
120
+ INFO[0009] Created Subscription: tang-operator-v1.0.5 -sub
121
+ INFO[0011] Approved InstallPlan install-lqf9f for the Subscription: tang-operator-v1.0.5 -sub
121
122
INFO[0011] Waiting for ClusterServiceVersion to reach ' Succeeded' phase
122
- INFO[0012] Waiting for ClusterServiceVersion " default/tang-operator.v1.0.4 "
123
- INFO[0018] Found ClusterServiceVersion " default/tang-operator.v1.0.4 " phase: Pending
124
- INFO[0020] Found ClusterServiceVersion " default/tang-operator.v1.0.4 " phase: InstallReady
125
- INFO[0021] Found ClusterServiceVersion " default/tang-operator.v1.0.4 " phase: Installing
126
- INFO[0031] Found ClusterServiceVersion " default/tang-operator.v1.0.4 " phase: Succeeded
127
- INFO[0031] OLM has successfully installed " tang-operator.v1.0.4 "
123
+ INFO[0012] Waiting for ClusterServiceVersion " default/tang-operator.v1.0.5 "
124
+ INFO[0018] Found ClusterServiceVersion " default/tang-operator.v1.0.5 " phase: Pending
125
+ INFO[0020] Found ClusterServiceVersion " default/tang-operator.v1.0.5 " phase: InstallReady
126
+ INFO[0021] Found ClusterServiceVersion " default/tang-operator.v1.0.5 " phase: Installing
127
+ INFO[0031] Found ClusterServiceVersion " default/tang-operator.v1.0.5 " phase: Succeeded
128
+ INFO[0031] OLM has successfully installed " tang-operator.v1.0.5 "
128
129
```
129
130
To install latest multi-arch image, execute:
130
131
``` bash
@@ -140,10 +141,10 @@ your cluster takes long time to deploy. To do so, the option **--timeout** can b
140
141
used (if not used, default time is 2m, which stands for two minutes):
141
142
142
143
``` bash
143
- $ operator-sdk run bundle --timeout 3m quay.io/sec-eng-special/tang-operator-bundle:v1.0.4 --index-image=quay.io/operator-framework/opm:v1.23.0
144
- INFO[0008] Successfully created registry pod: quay-io-sec-eng-special-tang-operator-bundle-v1.0.4
144
+ $ operator-sdk run bundle --timeout 3m quay.io/sec-eng-special/tang-operator-bundle:v1.0.5 --index-image=quay.io/operator-framework/opm:v1.23.0
145
+ INFO[0008] Successfully created registry pod: quay-io-sec-eng-special-tang-operator-bundle-v1.0.5
145
146
...
146
- INFO[0031] OLM has successfully installed " tang-operator.v1.0.4 "
147
+ INFO[0031] OLM has successfully installed " tang-operator.v1.0.5 "
147
148
```
148
149
149
150
Additionally, correct Tang operator installation can be observed if an output like
@@ -153,7 +154,7 @@ the following is observed when prompting for installed pods:
153
154
$ oc get pods
154
155
NAME READY STATUS RESTARTS AGE
155
156
dbbd1837106ec169542546e7ad251b95d27c3542eb0409c1e 0/1 Completed 0 82s
156
- quay-io-tang-operator-bundle-v1.0.4 1/1 Running 0 90s
157
+ quay-io-tang-operator-bundle-v1.0.5 1/1 Running 0 90s
157
158
tang-operator-controller-manager-5c9488d8dd-mgmsf 2/2 Running 0 52s
158
159
```
159
160
@@ -200,19 +201,19 @@ to be released, it is recommended to increase version appropriately.
200
201
In this case, same version is used. Last released version can be observed in
201
202
[ Versions] ( #versions ) section.
202
203
203
- To summarize, taking into account that the last released version is ** v1.0.4 ** ,
204
+ To summarize, taking into account that the last released version is ** v1.0.5 ** ,
204
205
compilation can be done with next command:
205
206
206
207
``` bash
207
- $ make docker-build docker-push IMG=" quay.io/sec-eng-special/tang-operator:v1.0.4 "
208
+ $ make docker-build docker-push IMG=" quay.io/sec-eng-special/tang-operator:v1.0.5 "
208
209
...
209
210
Successfully built 4a88ba8e6426
210
- Successfully tagged sec-eng-special/tang-operator:v1.0.4
211
- docker push sec-eng-special/tang-operator:v1.0.4
211
+ Successfully tagged sec-eng-special/tang-operator:v1.0.5
212
+ docker push sec-eng-special/tang-operator:v1.0.5
212
213
The push refers to repository [quay.io/sec-eng-special/tang-operator]
213
214
79109912085a: Pushed
214
215
417cb9b79ade: Layer already exists
215
- v1.0.4 : digest: sha256:c97bed08ab71556542602b008888bdf23ce4afd86228a07 size: 739
216
+ v1.0.5 : digest: sha256:c97bed08ab71556542602b008888bdf23ce4afd86228a07 size: 739
216
217
```
217
218
218
219
In case a new release is planned to be done, the steps to follow will be:
@@ -222,21 +223,21 @@ In case a new release is planned to be done, the steps to follow will be:
222
223
``` bash
223
224
$ git diff Makefile
224
225
diff --git a/Makefile b/Makefile
225
- index 9a41c6a..db12a82 100644
226
+ index 9a41c6a..db12a82 1.0.54
226
227
--- a/Makefile
227
228
+++ b/Makefile
228
229
@@ -3,7 +3,7 @@
229
230
# To re-generate a bundle for another specific version without changing the
230
231
# standard setup, you can:
231
- # - use the VERSION as arg of the bundle target (e.g make bundle VERSION=1.0.4 )
232
- # - use environment variables to overwrite this value (e.g export VERSION=1.0.4 )
232
+ # - use the VERSION as arg of the bundle target (e.g make bundle VERSION=1.0.5 )
233
+ # - use environment variables to overwrite this value (e.g export VERSION=1.0.5 )
233
234
-VERSION ? = 0.0.27
234
- +VERSION ? = 1.0.4
235
+ +VERSION ? = 1.0.5
235
236
```
236
237
237
238
Apart from previous changes, it is recommended to generate a "latest" tag for tang-operator bundle:
238
239
``` bash
239
- $ docker tag quay.io/sec-eng-special/tang-operator-bundle:v1.0.4 quay.io/sec-eng-special/tang-operator-bundle:latest
240
+ $ docker tag quay.io/sec-eng-special/tang-operator-bundle:v1.0.5 quay.io/sec-eng-special/tang-operator-bundle:latest
240
241
$ docker push quay.io/sec-eng-special/tang-operator-bundle:latest
241
242
```
242
243
@@ -246,14 +247,14 @@ Compile Tang operator code, specifying new version,
246
247
by using ** make docker-build** command:
247
248
248
249
``` bash
249
- $ make docker-build docker-push IMG=" quay.io/sec-eng-special/tang-operator:v1.0.4 "
250
+ $ make docker-build docker-push IMG=" quay.io/sec-eng-special/tang-operator:v1.0.5 "
250
251
...
251
- Successfully tagged sec-eng-special/tang-operator:v1.0.4
252
- docker push sec-eng-special/tang-operator:v1.0.4
252
+ Successfully tagged sec-eng-special/tang-operator:v1.0.5
253
+ docker push sec-eng-special/tang-operator:v1.0.5
253
254
The push refers to repository [quay.io/sec-eng-special/tang-operator]
254
255
9ff8a4099c67: Pushed
255
256
417cb9b79ade: Layer already exists
256
- v1.0.4 : digest: sha256:01620ab19faae54fb382a2ff285f589cf0bde6e168f14f07 size: 739
257
+ v1.0.5 : digest: sha256:01620ab19faae54fb382a2ff285f589cf0bde6e168f14f07 size: 739
257
258
```
258
259
259
260
- <ins >Bundle push</ins >:
@@ -263,15 +264,15 @@ the bundle with **make bundle**, specifying appropriate image,
263
264
and push it with ** make bundle-build bundle-push** :
264
265
265
266
``` bash
266
- $ make bundle IMG=" quay.io/sec-eng-special/tang-operator:v1.0.4 "
267
- $ make bundle-build bundle-push BUNDLE_IMG=" quay.io/sec-eng-special/tang-operator-bundle:v1.0.4 "
267
+ $ make bundle IMG=" quay.io/sec-eng-special/tang-operator:v1.0.5 "
268
+ $ make bundle-build bundle-push BUNDLE_IMG=" quay.io/sec-eng-special/tang-operator-bundle:v1.0.5 "
268
269
...
269
- docker push sec-eng-special/tang-operator-bundle:v1.0.4
270
+ docker push sec-eng-special/tang-operator-bundle:v1.0.5
270
271
The push refers to repository [quay.io/sec-eng-special/tang-operator-bundle]
271
272
02e3768cfc56: Pushed
272
273
df0c8060d328: Pushed
273
274
84774958bcf4: Pushed
274
- v1.0.4 : digest: sha256:925c2f844f941db2b53ce45cba9db7ee0be613321da8f0f05d size: 939
275
+ v1.0.5 : digest: sha256:925c2f844f941db2b53ce45cba9db7ee0be613321da8f0f05d size: 939
275
276
make[1]: Leaving directory ' /home/user/RedHat/TASKS/TANG_OPERATOR/tang-operator'
276
277
```
277
278
@@ -311,15 +312,15 @@ In order to cross compile tang-operator, prepend **GOARCH** with required archit
311
312
** make docker-build** :
312
313
313
314
``` bash
314
- $ GOARCH=ppc64le make docker-build docker-push IMG=" quay.io/sec-eng-special/tang-operator:v1.0.4 "
315
+ $ GOARCH=ppc64le make docker-build docker-push IMG=" quay.io/sec-eng-special/tang-operator:v1.0.5 "
315
316
...
316
317
Successfully built 4a88ba8e6426
317
- Successfully tagged sec-eng-special/tang-operator:v1.0.4
318
- docker push sec-eng-special/tang-operator:v1.0.4
318
+ Successfully tagged sec-eng-special/tang-operator:v1.0.5
319
+ docker push sec-eng-special/tang-operator:v1.0.5
319
320
The push refers to repository [quay.io/sec-eng-special/tang-operator]
320
321
79109912085a: Pushed
321
322
417cb9b79ade: Layer already exists
322
- v1.0.4 : digest: sha256:c97bed08ab71556542602b008888bdf23ce4afd86228a07 size: 739
323
+ v1.0.5 : digest: sha256:c97bed08ab71556542602b008888bdf23ce4afd86228a07 size: 739
323
324
```
324
325
325
326
## Cleanup
@@ -329,9 +330,9 @@ recommended way:
329
330
330
331
``` bash
331
332
$ operator-sdk cleanup tang-operator
332
- INFO[0001] subscription " tang-operator-v1.0.4 -sub" deleted
333
+ INFO[0001] subscription " tang-operator-v1.0.5 -sub" deleted
333
334
INFO[0001] customresourcedefinition " tangservers.daemons.redhat.com" deleted
334
- INFO[0002] clusterserviceversion " tang-operator.v1.0.4 " deleted
335
+ INFO[0002] clusterserviceversion " tang-operator.v1.0.5 " deleted
335
336
INFO[0002] catalogsource " tang-operator-catalog" deleted
336
337
INFO[0002] operatorgroup " operator-sdk-og" deleted
337
338
INFO[0002] Operator " tang-operator" uninstalled
@@ -402,11 +403,11 @@ NOTE: CI/CD is in a continuous "work in progress" state
402
403
403
404
## Scorecard
404
405
405
- Execution of operator-sdk scorecard tests are passing completely in version v1.0.4 .
406
+ Execution of operator-sdk scorecard tests are passing completely in version v1.0.5 .
406
407
In order to execute these tests, run next command:
407
408
408
409
``` bash
409
- $ operator-sdk scorecard -w 60s quay.io/sec-eng-special/tang-operator-bundle:v1.0.4
410
+ $ operator-sdk scorecard -w 60s quay.io/sec-eng-special/tang-operator-bundle:v1.0.5
410
411
...
411
412
Results:
412
413
Name: olm-status-descriptors
0 commit comments