@@ -94,6 +94,7 @@ Tang operator-bundle are:
94
94
- v1.0.7: GA re-release. Fix channel ("alpha" to "stable")
95
95
- v1.0.8: ServiceType / ClusterIP configuration through TangServer CR
96
96
- v1.0.9: Golang dependencies update
97
+ - v1.0.10: Libraries update
97
98
98
99
## Installation
99
100
@@ -117,23 +118,23 @@ operator-sdk installation is described in the [Links](#links) section.
117
118
118
119
In order to deploy the latest version of the Tang operator, check latest released
119
120
version in the [ Versions] ( #versions ) section, and install the appropriate version
120
- bundle. For example, in case latest version is ** 1.0.9 ** , the command to execute
121
+ bundle. For example, in case latest version is ** 1.0.10 ** , the command to execute
121
122
will be:
122
123
123
124
``` bash
124
- $ operator-sdk run bundle quay.io/sec-eng-special/tang-operator-bundle:v1.0.9
125
- INFO[0008] Successfully created registry pod: quay-io-sec-eng-special-tang-operator-bundle-v1.0.9
125
+ $ operator-sdk run bundle quay.io/sec-eng-special/tang-operator-bundle:v1.0.10
126
+ INFO[0008] Successfully created registry pod: quay-io-sec-eng-special-tang-operator-bundle-v1.0.10
126
127
INFO[0009] Created CatalogSource: tang-operator-catalog
127
128
INFO[0009] OperatorGroup " operator-sdk-og" created
128
- INFO[0009] Created Subscription: tang-operator-v1.0.9 -sub
129
- INFO[0011] Approved InstallPlan install-lqf9f for the Subscription: tang-operator-v1.0.9 -sub
129
+ INFO[0009] Created Subscription: tang-operator-v1.0.10 -sub
130
+ INFO[0011] Approved InstallPlan install-lqf9f for the Subscription: tang-operator-v1.0.10 -sub
130
131
INFO[0011] Waiting for ClusterServiceVersion to reach ' Succeeded' phase
131
- INFO[0012] Waiting for ClusterServiceVersion " default/tang-operator.v1.0.9 "
132
- INFO[0018] Found ClusterServiceVersion " default/tang-operator.v1.0.9 " phase: Pending
133
- INFO[0020] Found ClusterServiceVersion " default/tang-operator.v1.0.9 " phase: InstallReady
134
- INFO[0021] Found ClusterServiceVersion " default/tang-operator.v1.0.9 " phase: Installing
135
- INFO[0031] Found ClusterServiceVersion " default/tang-operator.v1.0.9 " phase: Succeeded
136
- INFO[0031] OLM has successfully installed " tang-operator.v1.0.9 "
132
+ INFO[0012] Waiting for ClusterServiceVersion " default/tang-operator.v1.0.10 "
133
+ INFO[0018] Found ClusterServiceVersion " default/tang-operator.v1.0.10 " phase: Pending
134
+ INFO[0020] Found ClusterServiceVersion " default/tang-operator.v1.0.10 " phase: InstallReady
135
+ INFO[0021] Found ClusterServiceVersion " default/tang-operator.v1.0.10 " phase: Installing
136
+ INFO[0031] Found ClusterServiceVersion " default/tang-operator.v1.0.10 " phase: Succeeded
137
+ INFO[0031] OLM has successfully installed " tang-operator.v1.0.10 "
137
138
```
138
139
To install latest multi-arch image, execute:
139
140
``` bash
@@ -149,10 +150,10 @@ your cluster takes long time to deploy. To do so, the option **--timeout** can b
149
150
used (if not used, default time is 2m, which stands for two minutes):
150
151
151
152
``` bash
152
- $ operator-sdk run bundle --timeout 3m quay.io/sec-eng-special/tang-operator-bundle:v1.0.9
153
- INFO[0008] Successfully created registry pod: quay-io-sec-eng-special-tang-operator-bundle-v1.0.9
153
+ $ operator-sdk run bundle --timeout 3m quay.io/sec-eng-special/tang-operator-bundle:v1.0.10
154
+ INFO[0008] Successfully created registry pod: quay-io-sec-eng-special-tang-operator-bundle-v1.0.10
154
155
...
155
- INFO[0031] OLM has successfully installed " tang-operator.v1.0.9 "
156
+ INFO[0031] OLM has successfully installed " tang-operator.v1.0.10 "
156
157
```
157
158
158
159
Additionally, correct Tang operator installation can be observed if an output like
@@ -162,7 +163,7 @@ the following is observed when prompting for installed pods:
162
163
$ oc get pods
163
164
NAME READY STATUS RESTARTS AGE
164
165
dbbd1837106ec169542546e7ad251b95d27c3542eb0409c1e 0/1 Completed 0 82s
165
- quay-io-tang-operator-bundle-v1.0.9 1/1 Running 0 90s
166
+ quay-io-tang-operator-bundle-v1.0.10 1/1 Running 0 90s
166
167
tang-operator-controller-manager-5c9488d8dd-mgmsf 2/2 Running 0 52s
167
168
```
168
169
@@ -212,33 +213,33 @@ to be released, it is recommended to increase version appropriately.
212
213
In this case, same version is used. Last released version can be observed in
213
214
[ Versions] ( #versions ) section.
214
215
215
- To summarize, taking into account that the last released version is ** v1.0.9 ** ,
216
+ To summarize, taking into account that the last released version is ** v1.0.10 ** ,
216
217
compilation can be done with next command:
217
218
218
219
``` bash
219
- $ make docker-build docker-push IMG=" quay.io/sec-eng-special/tang-operator:v1.0.9 "
220
+ $ make docker-build docker-push IMG=" quay.io/sec-eng-special/tang-operator:v1.0.10 "
220
221
...
221
222
Successfully built 4a88ba8e6426
222
- Successfully tagged sec-eng-special/tang-operator:v1.0.9
223
- docker push sec-eng-special/tang-operator:v1.0.9
223
+ Successfully tagged sec-eng-special/tang-operator:v1.0.10
224
+ docker push sec-eng-special/tang-operator:v1.0.10
224
225
The push refers to repository [quay.io/sec-eng-special/tang-operator]
225
- 7910991.0.9a : Pushed
226
+ 7910991.0.10a : Pushed
226
227
417cb9b79ade: Layer already exists
227
- v1.0.9 : digest: sha256:c97bed08ab71556542602b008888bdf23ce4afd86228a07 size: 739
228
+ v1.0.10 : digest: sha256:c97bed08ab71556542602b008888bdf23ce4afd86228a07 size: 739
228
229
```
229
230
230
231
It is possible to use ` podman ` instead of ` docker ` :
231
232
232
233
``` bash
233
- $ make podman-build podman-push IMG=" quay.io/sec-eng-special/tang-operator:v1.0.9 "
234
+ $ make podman-build podman-push IMG=" quay.io/sec-eng-special/tang-operator:v1.0.10 "
234
235
...
235
236
Successfully built 4a88ba8e6426
236
- Successfully tagged sec-eng-special/tang-operator:v1.0.9
237
- podman push sec-eng-special/tang-operator:v1.0.9
237
+ Successfully tagged sec-eng-special/tang-operator:v1.0.10
238
+ podman push sec-eng-special/tang-operator:v1.0.10
238
239
The push refers to repository [quay.io/sec-eng-special/tang-operator]
239
- 7910991.0.9a : Pushed
240
+ 7910991.0.10a : Pushed
240
241
417cb9b79ade: Layer already exists
241
- v1.0.9 : digest: sha256:c97bed08ab71556542602b008888bdf23ce4afd86228a07 size: 739
242
+ v1.0.10 : digest: sha256:c97bed08ab71556542602b008888bdf23ce4afd86228a07 size: 739
242
243
```
243
244
244
245
In case a new release is planned to be done, the steps to follow will be:
@@ -254,23 +255,23 @@ index 9a41c6a..db12a82 100644
254
255
@@ -3,7 +3,7 @@
255
256
# To re-generate a bundle for another specific version without changing the
256
257
# standard setup, you can:
257
- # - use the VERSION as arg of the bundle target (e.g. make bundle VERSION=1.0.9 )
258
- # - use environment variables to overwrite this value (e.g. export VERSION=1.0.9 )
258
+ # - use the VERSION as arg of the bundle target (e.g. make bundle VERSION=1.0.10 )
259
+ # - use environment variables to overwrite this value (e.g. export VERSION=1.0.10 )
259
260
-VERSION ? = 1.0.8
260
- +VERSION ? = 1.0.9
261
+ +VERSION ? = 1.0.10
261
262
```
262
263
263
264
Apart from previous changes, it is recommended to generate a "latest" tag for tang-operator bundle:
264
265
265
266
``` bash
266
- $ docker tag quay.io/sec-eng-special/tang-operator-bundle:v1.0.9 quay.io/sec-eng-special/tang-operator-bundle:latest
267
+ $ docker tag quay.io/sec-eng-special/tang-operator-bundle:v1.0.10 quay.io/sec-eng-special/tang-operator-bundle:latest
267
268
$ docker push quay.io/sec-eng-special/tang-operator-bundle:latest
268
269
```
269
270
270
271
In case ` podman ` is being used:
271
272
272
273
``` bash
273
- $ podman tag quay.io/sec-eng-special/tang-operator-bundle:v1.0.9 quay.io/sec-eng-special/tang-operator-bundle:latest
274
+ $ podman tag quay.io/sec-eng-special/tang-operator-bundle:v1.0.10 quay.io/sec-eng-special/tang-operator-bundle:latest
274
275
$ podman push quay.io/sec-eng-special/tang-operator-bundle:latest
275
276
```
276
277
@@ -280,28 +281,28 @@ Compile Tang operator code, specifying new version,
280
281
by using ** make docker-build** command:
281
282
282
283
``` bash
283
- $ make docker-build docker-push IMG=" quay.io/sec-eng-special/tang-operator:v1.0.9 "
284
+ $ make docker-build docker-push IMG=" quay.io/sec-eng-special/tang-operator:v1.0.10 "
284
285
...
285
- Successfully tagged sec-eng-special/tang-operator:v1.0.9
286
- docker push sec-eng-special/tang-operator:v1.0.9
286
+ Successfully tagged sec-eng-special/tang-operator:v1.0.10
287
+ docker push sec-eng-special/tang-operator:v1.0.10
287
288
The push refers to repository [quay.io/sec-eng-special/tang-operator]
288
289
9ff8a4099c67: Pushed
289
290
417cb9b79ade: Layer already exists
290
- v1.0.9 : digest: sha256:01620ab19faae54fb382a2ff285f589cf0bde6e168f14f07 size: 739
291
+ v1.0.10 : digest: sha256:01620ab19faae54fb382a2ff285f589cf0bde6e168f14f07 size: 739
291
292
```
292
293
293
294
And, in case ` podman ` is being used instead of ` docker ` :
294
295
295
296
``` bash
296
- $ make podman-build podman-push IMG=" quay.io/sec-eng-special/tang-operator:v1.0.9 "
297
+ $ make podman-build podman-push IMG=" quay.io/sec-eng-special/tang-operator:v1.0.10 "
297
298
...
298
299
Successfully built 4a88ba8e6426
299
- Successfully tagged sec-eng-special/tang-operator:v1.0.9
300
- podman push sec-eng-special/tang-operator:v1.0.9
300
+ Successfully tagged sec-eng-special/tang-operator:v1.0.10
301
+ podman push sec-eng-special/tang-operator:v1.0.10
301
302
The push refers to repository [quay.io/sec-eng-special/tang-operator]
302
- 7910991.0.9a : Pushed
303
+ 7910991.0.10a : Pushed
303
304
417cb9b79ade: Layer already exists
304
- v1.0.9 : digest: sha256:c97bed08ab71556542602b008888bdf23ce4afd86228a07 size: 739
305
+ v1.0.10 : digest: sha256:c97bed08ab71556542602b008888bdf23ce4afd86228a07 size: 739
305
306
```
306
307
307
308
- <ins >Bundle push</ins >:
@@ -311,15 +312,15 @@ the bundle with **make bundle**, specifying appropriate image,
311
312
and push it with ** make bundle-build bundle-push** :
312
313
313
314
``` bash
314
- $ make bundle IMG=" quay.io/sec-eng-special/tang-operator:v1.0.9 "
315
- $ make bundle-build bundle-push BUNDLE_IMG=" quay.io/sec-eng-special/tang-operator-bundle:v1.0.9 "
315
+ $ make bundle IMG=" quay.io/sec-eng-special/tang-operator:v1.0.10 "
316
+ $ make bundle-build bundle-push BUNDLE_IMG=" quay.io/sec-eng-special/tang-operator-bundle:v1.0.10 "
316
317
...
317
- docker push sec-eng-special/tang-operator-bundle:v1.0.9
318
+ docker push sec-eng-special/tang-operator-bundle:v1.0.10
318
319
The push refers to repository [quay.io/sec-eng-special/tang-operator-bundle]
319
320
02e3768cfc56: Pushed
320
321
df0c8060d328: Pushed
321
322
84774958bcf4: Pushed
322
- v1.0.9 : digest: sha256:925c2f844f941db2b53ce45cba9db7ee0be613321da8f0f05d size: 939
323
+ v1.0.10 : digest: sha256:925c2f844f941db2b53ce45cba9db7ee0be613321da8f0f05d size: 939
323
324
make[1]: Leaving directory ' /home/user/RedHat/TASKS/TANG_OPERATOR/tang-operator'
324
325
```
325
326
@@ -328,15 +329,15 @@ In case the operator bundle is required to be pushed, generate the bundle with *
328
329
specifying appropriate image, and push it with ** make podman-bundle-build podman-bundle-push** :
329
330
330
331
``` bash
331
- $ make bundle IMG=" quay.io/sec-eng-special/tang-operator:v1.0.9 "
332
- $ make podman-bundle-build podman-bundle-push BUNDLE_IMG=" quay.io/sarroutb/tang-operator-bundle:v1.0.9 "
332
+ $ make bundle IMG=" quay.io/sec-eng-special/tang-operator:v1.0.10 "
333
+ $ make podman-bundle-build podman-bundle-push BUNDLE_IMG=" quay.io/sarroutb/tang-operator-bundle:v1.0.10 "
333
334
...
334
- podman push sec-eng-special/tang-operator-bundle:v1.0.9
335
+ podman push sec-eng-special/tang-operator-bundle:v1.0.10
335
336
The push refers to repository [quay.io/sec-eng-special/tang-operator-bundle]
336
337
02e3768cfc56: Pushed
337
338
df0c8060d328: Pushed
338
339
84774958bcf4: Pushed
339
- v1.0.9 : digest: sha256:925c2f844f941db2b53ce45cba9db7ee0be613321da8f0f05d size: 939
340
+ v1.0.10 : digest: sha256:925c2f844f941db2b53ce45cba9db7ee0be613321da8f0f05d size: 939
340
341
make[1]: Leaving directory ' /home/user/RedHat/TASKS/TANG_OPERATOR/tang-operator'
341
342
```
342
343
@@ -376,15 +377,15 @@ In order to cross compile tang-operator, prepend **GOARCH** with required archit
376
377
** make docker-build** :
377
378
378
379
``` bash
379
- $ GOARCH=ppc64le make docker-build docker-push IMG=" quay.io/sec-eng-special/tang-operator:v1.0.9 "
380
+ $ GOARCH=ppc64le make docker-build docker-push IMG=" quay.io/sec-eng-special/tang-operator:v1.0.10 "
380
381
...
381
382
Successfully built 4a88ba8e6426
382
- Successfully tagged sec-eng-special/tang-operator:v1.0.9
383
- docker push sec-eng-special/tang-operator:v1.0.9
383
+ Successfully tagged sec-eng-special/tang-operator:v1.0.10
384
+ docker push sec-eng-special/tang-operator:v1.0.10
384
385
The push refers to repository [quay.io/sec-eng-special/tang-operator]
385
- 7910991.0.9a : Pushed
386
+ 7910991.0.10a : Pushed
386
387
417cb9b79ade: Layer already exists
387
- v1.0.9 : digest: sha256:c97bed08ab71556542602b008888bdf23ce4afd86228a07 size: 739
388
+ v1.0.10 : digest: sha256:c97bed08ab71556542602b008888bdf23ce4afd86228a07 size: 739
388
389
```
389
390
Examples of architectures to cross-compile are:
390
391
* ` ppc64le `
@@ -401,9 +402,9 @@ recommended way:
401
402
402
403
``` bash
403
404
$ operator-sdk cleanup tang-operator
404
- INFO[0001] subscription " tang-operator-v1.0.9 -sub" deleted
405
+ INFO[0001] subscription " tang-operator-v1.0.10 -sub" deleted
405
406
INFO[0001] customresourcedefinition " tangservers.daemons.redhat.com" deleted
406
- INFO[0002] clusterserviceversion " tang-operator.v1.0.9 " deleted
407
+ INFO[0002] clusterserviceversion " tang-operator.v1.0.10 " deleted
407
408
INFO[0002] catalogsource " tang-operator-catalog" deleted
408
409
INFO[0002] operatorgroup " operator-sdk-og" deleted
409
410
INFO[0002] Operator " tang-operator" uninstalled
@@ -493,7 +494,7 @@ However, scorecard tests can be executed manually. In order to execute these tes
493
494
run next command:
494
495
495
496
``` bash
496
- $ operator-sdk scorecard -w 60s quay.io/sec-eng-special/tang-operator-bundle:v1.0.9
497
+ $ operator-sdk scorecard -w 60s quay.io/sec-eng-special/tang-operator-bundle:v1.0.10
497
498
...
498
499
Results:
499
500
Name: olm-status-descriptors
@@ -520,7 +521,7 @@ Name: olm-bundle-validation
520
521
State: pass
521
522
```
522
523
523
- As it can be observed, execution of operator-sdk scorecard tests are passing successfully in latest released version (v1.0.9 ).
524
+ As it can be observed, execution of operator-sdk scorecard tests are passing successfully in latest released version (v1.0.10 ).
524
525
525
526
## Links
526
527
0 commit comments