@@ -86,6 +86,7 @@ Versions released up to date of the operator and the operator-bundle are:
86
86
- v1.0.10: Libraries update
87
87
- v1.0.11: Libraries update, Update Go version (1.22 -> 1.22.5)
88
88
- v1.0.12: Fix issues reported by gosec tool
89
+ - v1.0.13: Libraries update, Update Go version (1.22.5 -> 1.23.2)
89
90
90
91
## Installation
91
92
@@ -109,23 +110,23 @@ operator-sdk installation is described in the [Links](#links) section.
109
110
110
111
In order to deploy the latest version of the operator, check latest released
111
112
version in the [ Versions] ( #versions ) section, and install the appropriate version
112
- bundle. For example, in case latest version is ** 1.0.12 ** , the command to execute
113
+ bundle. For example, in case latest version is ** 1.0.13 ** , the command to execute
113
114
will be:
114
115
115
116
``` bash
116
- $ operator-sdk run bundle quay.io/sec-eng-special/tang-operator-bundle:v1.0.12
117
- INFO[0008] Successfully created registry pod: quay-io-sec-eng-special-tang-operator-bundle-v1.0.12
117
+ $ operator-sdk run bundle quay.io/sec-eng-special/tang-operator-bundle:v1.0.13
118
+ INFO[0008] Successfully created registry pod: quay-io-sec-eng-special-tang-operator-bundle-v1.0.13
118
119
INFO[0009] Created CatalogSource: tang-operator-catalog
119
120
INFO[0009] OperatorGroup " operator-sdk-og" created
120
- INFO[0009] Created Subscription: tang-operator-v1.0.12 -sub
121
- INFO[0011] Approved InstallPlan install-lqf9f for the Subscription: tang-operator-v1.0.12 -sub
121
+ INFO[0009] Created Subscription: tang-operator-v1.0.13 -sub
122
+ INFO[0011] Approved InstallPlan install-lqf9f for the Subscription: tang-operator-v1.0.13 -sub
122
123
INFO[0011] Waiting for ClusterServiceVersion to reach ' Succeeded' phase
123
- INFO[0012] Waiting for ClusterServiceVersion " default/tang-operator.v1.0.12 "
124
- INFO[0018] Found ClusterServiceVersion " default/tang-operator.v1.0.12 " phase: Pending
125
- INFO[0020] Found ClusterServiceVersion " default/tang-operator.v1.0.12 " phase: InstallReady
126
- INFO[0021] Found ClusterServiceVersion " default/tang-operator.v1.0.12 " phase: Installing
127
- INFO[0031] Found ClusterServiceVersion " default/tang-operator.v1.0.12 " phase: Succeeded
128
- INFO[0031] OLM has successfully installed " tang-operator.v1.0.12 "
124
+ INFO[0012] Waiting for ClusterServiceVersion " default/tang-operator.v1.0.13 "
125
+ INFO[0018] Found ClusterServiceVersion " default/tang-operator.v1.0.13 " phase: Pending
126
+ INFO[0020] Found ClusterServiceVersion " default/tang-operator.v1.0.13 " phase: InstallReady
127
+ INFO[0021] Found ClusterServiceVersion " default/tang-operator.v1.0.13 " phase: Installing
128
+ INFO[0031] Found ClusterServiceVersion " default/tang-operator.v1.0.13 " phase: Succeeded
129
+ INFO[0031] OLM has successfully installed " tang-operator.v1.0.13 "
129
130
```
130
131
To install latest multi-arch image, execute:
131
132
``` bash
@@ -141,10 +142,10 @@ your cluster takes long time to deploy. To do so, the option **--timeout** can b
141
142
used (if not used, default time is 2m, which stands for two minutes):
142
143
143
144
``` bash
144
- $ operator-sdk run bundle --timeout 3m quay.io/sec-eng-special/tang-operator-bundle:v1.0.12
145
- INFO[0008] Successfully created registry pod: quay-io-sec-eng-special-tang-operator-bundle-v1.0.12
145
+ $ operator-sdk run bundle --timeout 3m quay.io/sec-eng-special/tang-operator-bundle:v1.0.13
146
+ INFO[0008] Successfully created registry pod: quay-io-sec-eng-special-tang-operator-bundle-v1.0.13
146
147
...
147
- INFO[0031] OLM has successfully installed " tang-operator.v1.0.12 "
148
+ INFO[0031] OLM has successfully installed " tang-operator.v1.0.13 "
148
149
```
149
150
150
151
Additionally, correct installation can be observed if an output like
@@ -154,7 +155,7 @@ the following is observed when prompting for installed pods:
154
155
$ oc get pods
155
156
NAME READY STATUS RESTARTS AGE
156
157
dbbd1837106ec169542546e7ad251b95d27c3542eb0409c1e 0/1 Completed 0 82s
157
- quay-io-tang-operator-bundle-v1.0.12 1/1 Running 0 90s
158
+ quay-io-tang-operator-bundle-v1.0.13 1/1 Running 0 90s
158
159
tang-operator-controller-manager-5c9488d8dd-mgmsf 2/2 Running 0 52s
159
160
```
160
161
@@ -204,33 +205,33 @@ to be released, it is recommended to increase version appropriately.
204
205
In this case, same version is used. Last released version can be observed in
205
206
[ Versions] ( #versions ) section.
206
207
207
- To summarize, taking into account that the last released version is ** v1.0.12 ** ,
208
+ To summarize, taking into account that the last released version is ** v1.0.13 ** ,
208
209
compilation can be done with next command:
209
210
210
211
``` bash
211
- $ make docker-build docker-push IMG=" quay.io/sec-eng-special/tang-operator:v1.0.12 "
212
+ $ make docker-build docker-push IMG=" quay.io/sec-eng-special/tang-operator:v1.0.13 "
212
213
...
213
214
Successfully built 4a88ba8e6426
214
- Successfully tagged sec-eng-special/tang-operator:v1.0.12
215
- docker push sec-eng-special/tang-operator:v1.0.12
215
+ Successfully tagged sec-eng-special/tang-operator:v1.0.13
216
+ docker push sec-eng-special/tang-operator:v1.0.13
216
217
The push refers to repository [quay.io/sec-eng-special/tang-operator]
217
- 7910991.0.12a : Pushed
218
+ 7910991.0.13a : Pushed
218
219
417cb9b79ade: Layer already exists
219
- v1.0.12 : digest: sha256:c97bed08ab71556542602b008888bdf23ce4afd86228a07 size: 739
220
+ v1.0.13 : digest: sha256:c97bed08ab71556542602b008888bdf23ce4afd86228a07 size: 739
220
221
```
221
222
222
223
It is possible to use ` podman ` instead of ` docker ` :
223
224
224
225
``` bash
225
- $ make podman-build podman-push IMG=" quay.io/sec-eng-special/tang-operator:v1.0.12 "
226
+ $ make podman-build podman-push IMG=" quay.io/sec-eng-special/tang-operator:v1.0.13 "
226
227
...
227
228
Successfully built 4a88ba8e6426
228
- Successfully tagged sec-eng-special/tang-operator:v1.0.12
229
- podman push sec-eng-special/tang-operator:v1.0.12
229
+ Successfully tagged sec-eng-special/tang-operator:v1.0.13
230
+ podman push sec-eng-special/tang-operator:v1.0.13
230
231
The push refers to repository [quay.io/sec-eng-special/tang-operator]
231
- 7910991.0.12a : Pushed
232
+ 7910991.0.13a : Pushed
232
233
417cb9b79ade: Layer already exists
233
- v1.0.12 : digest: sha256:c97bed08ab71556542602b008888bdf23ce4afd86228a07 size: 739
234
+ v1.0.13 : digest: sha256:c97bed08ab71556542602b008888bdf23ce4afd86228a07 size: 739
234
235
```
235
236
236
237
In case a new release is planned to be done, the steps to follow will be:
@@ -246,23 +247,23 @@ index 9a41c6a..db12a82 100644
246
247
@@ -3,7 +3,7 @@
247
248
# To re-generate a bundle for another specific version without changing the
248
249
# standard setup, you can:
249
- # - use the VERSION as arg of the bundle target (e.g. make bundle VERSION=1.0.12 )
250
- # - use environment variables to overwrite this value (e.g. export VERSION=1.0.12 )
250
+ # - use the VERSION as arg of the bundle target (e.g. make bundle VERSION=1.0.13 )
251
+ # - use environment variables to overwrite this value (e.g. export VERSION=1.0.13 )
251
252
-VERSION ? = 1.0.9
252
- +VERSION ? = 1.0.12
253
+ +VERSION ? = 1.0.13
253
254
```
254
255
255
256
Apart from previous changes, it is recommended to generate a "latest" tag for tang-operator bundle:
256
257
257
258
``` bash
258
- $ docker tag quay.io/sec-eng-special/tang-operator-bundle:v1.0.12 quay.io/sec-eng-special/tang-operator-bundle:latest
259
+ $ docker tag quay.io/sec-eng-special/tang-operator-bundle:v1.0.13 quay.io/sec-eng-special/tang-operator-bundle:latest
259
260
$ docker push quay.io/sec-eng-special/tang-operator-bundle:latest
260
261
```
261
262
262
263
In case ` podman ` is being used:
263
264
264
265
``` bash
265
- $ podman tag quay.io/sec-eng-special/tang-operator-bundle:v1.0.12 quay.io/sec-eng-special/tang-operator-bundle:latest
266
+ $ podman tag quay.io/sec-eng-special/tang-operator-bundle:v1.0.13 quay.io/sec-eng-special/tang-operator-bundle:latest
266
267
$ podman push quay.io/sec-eng-special/tang-operator-bundle:latest
267
268
```
268
269
@@ -271,28 +272,28 @@ $ podman push quay.io/sec-eng-special/tang-operator-bundle:latest
271
272
Compile operator code, specifying new version, by using ** make docker-build** command:
272
273
273
274
``` bash
274
- $ make docker-build docker-push IMG=" quay.io/sec-eng-special/tang-operator:v1.0.12 "
275
+ $ make docker-build docker-push IMG=" quay.io/sec-eng-special/tang-operator:v1.0.13 "
275
276
...
276
- Successfully tagged sec-eng-special/tang-operator:v1.0.12
277
- docker push sec-eng-special/tang-operator:v1.0.12
277
+ Successfully tagged sec-eng-special/tang-operator:v1.0.13
278
+ docker push sec-eng-special/tang-operator:v1.0.13
278
279
The push refers to repository [quay.io/sec-eng-special/tang-operator]
279
280
9ff8a4099c67: Pushed
280
281
417cb9b79ade: Layer already exists
281
- v1.0.12 : digest: sha256:01620ab19faae54fb382a2ff285f589cf0bde6e168f14f07 size: 739
282
+ v1.0.13 : digest: sha256:01620ab19faae54fb382a2ff285f589cf0bde6e168f14f07 size: 739
282
283
```
283
284
284
285
And, in case ` podman ` is being used instead of ` docker ` :
285
286
286
287
``` bash
287
- $ make podman-build podman-push IMG=" quay.io/sec-eng-special/tang-operator:v1.0.12 "
288
+ $ make podman-build podman-push IMG=" quay.io/sec-eng-special/tang-operator:v1.0.13 "
288
289
...
289
290
Successfully built 4a88ba8e6426
290
- Successfully tagged sec-eng-special/tang-operator:v1.0.12
291
- podman push sec-eng-special/tang-operator:v1.0.12
291
+ Successfully tagged sec-eng-special/tang-operator:v1.0.13
292
+ podman push sec-eng-special/tang-operator:v1.0.13
292
293
The push refers to repository [quay.io/sec-eng-special/tang-operator]
293
- 7910991.0.12a : Pushed
294
+ 7910991.0.13a : Pushed
294
295
417cb9b79ade: Layer already exists
295
- v1.0.12 : digest: sha256:c97bed08ab71556542602b008888bdf23ce4afd86228a07 size: 739
296
+ v1.0.13 : digest: sha256:c97bed08ab71556542602b008888bdf23ce4afd86228a07 size: 739
296
297
```
297
298
298
299
- <ins >Bundle push</ins >:
@@ -302,15 +303,15 @@ the bundle with **make bundle**, specifying appropriate image,
302
303
and push it with ** make bundle-build bundle-push** :
303
304
304
305
``` bash
305
- $ make bundle IMG=" quay.io/sec-eng-special/tang-operator:v1.0.12 "
306
- $ make bundle-build bundle-push BUNDLE_IMG=" quay.io/sec-eng-special/tang-operator-bundle:v1.0.12 "
306
+ $ make bundle IMG=" quay.io/sec-eng-special/tang-operator:v1.0.13 "
307
+ $ make bundle-build bundle-push BUNDLE_IMG=" quay.io/sec-eng-special/tang-operator-bundle:v1.0.13 "
307
308
...
308
- docker push sec-eng-special/tang-operator-bundle:v1.0.12
309
+ docker push sec-eng-special/tang-operator-bundle:v1.0.13
309
310
The push refers to repository [quay.io/sec-eng-special/tang-operator-bundle]
310
311
02e3768cfc56: Pushed
311
312
df0c8060d328: Pushed
312
313
84774958bcf4: Pushed
313
- v1.0.12 : digest: sha256:925c2f844f941db2b53ce45cba9db7ee0be613321da8f0f05d size: 939
314
+ v1.0.13 : digest: sha256:925c2f844f941db2b53ce45cba9db7ee0be613321da8f0f05d size: 939
314
315
make[1]: Leaving directory ' /home/user/RedHat/TASKS/TANG_OPERATOR/tang-operator'
315
316
```
316
317
@@ -319,15 +320,15 @@ In case the operator bundle is required to be pushed, generate the bundle with *
319
320
specifying appropriate image, and push it with ** make podman-bundle-build podman-bundle-push** :
320
321
321
322
``` bash
322
- $ make bundle IMG=" quay.io/sec-eng-special/tang-operator:v1.0.12 "
323
- $ make podman-bundle-build podman-bundle-push BUNDLE_IMG=" quay.io/sarroutb/tang-operator-bundle:v1.0.12 "
323
+ $ make bundle IMG=" quay.io/sec-eng-special/tang-operator:v1.0.13 "
324
+ $ make podman-bundle-build podman-bundle-push BUNDLE_IMG=" quay.io/sarroutb/tang-operator-bundle:v1.0.13 "
324
325
...
325
- podman push sec-eng-special/tang-operator-bundle:v1.0.12
326
+ podman push sec-eng-special/tang-operator-bundle:v1.0.13
326
327
The push refers to repository [quay.io/sec-eng-special/tang-operator-bundle]
327
328
02e3768cfc56: Pushed
328
329
df0c8060d328: Pushed
329
330
84774958bcf4: Pushed
330
- v1.0.12 : digest: sha256:925c2f844f941db2b53ce45cba9db7ee0be613321da8f0f05d size: 939
331
+ v1.0.13 : digest: sha256:925c2f844f941db2b53ce45cba9db7ee0be613321da8f0f05d size: 939
331
332
make[1]: Leaving directory ' /home/user/RedHat/TASKS/TANG_OPERATOR/tang-operator'
332
333
```
333
334
@@ -367,15 +368,15 @@ In order to cross compile tang-operator, prepend **GOARCH** with required archit
367
368
** make docker-build** :
368
369
369
370
``` bash
370
- $ GOARCH=ppc64le make docker-build docker-push IMG=" quay.io/sec-eng-special/tang-operator:v1.0.12 "
371
+ $ GOARCH=ppc64le make docker-build docker-push IMG=" quay.io/sec-eng-special/tang-operator:v1.0.13 "
371
372
...
372
373
Successfully built 4a88ba8e6426
373
- Successfully tagged sec-eng-special/tang-operator:v1.0.12
374
- docker push sec-eng-special/tang-operator:v1.0.12
374
+ Successfully tagged sec-eng-special/tang-operator:v1.0.13
375
+ docker push sec-eng-special/tang-operator:v1.0.13
375
376
The push refers to repository [quay.io/sec-eng-special/tang-operator]
376
- 7910991.0.12a : Pushed
377
+ 7910991.0.13a : Pushed
377
378
417cb9b79ade: Layer already exists
378
- v1.0.12 : digest: sha256:c97bed08ab71556542602b008888bdf23ce4afd86228a07 size: 739
379
+ v1.0.13 : digest: sha256:c97bed08ab71556542602b008888bdf23ce4afd86228a07 size: 739
379
380
```
380
381
Examples of architectures to cross-compile are:
381
382
* ` ppc64le `
@@ -392,9 +393,9 @@ recommended way:
392
393
393
394
``` bash
394
395
$ operator-sdk cleanup tang-operator
395
- INFO[0001] subscription " tang-operator-v1.0.12 -sub" deleted
396
+ INFO[0001] subscription " tang-operator-v1.0.13 -sub" deleted
396
397
INFO[0001] customresourcedefinition " tangservers.daemons.redhat.com" deleted
397
- INFO[0002] clusterserviceversion " tang-operator.v1.0.12 " deleted
398
+ INFO[0002] clusterserviceversion " tang-operator.v1.0.13 " deleted
398
399
INFO[0002] catalogsource " tang-operator-catalog" deleted
399
400
INFO[0002] operatorgroup " operator-sdk-og" deleted
400
401
INFO[0002] Operator " tang-operator" uninstalled
@@ -447,7 +448,7 @@ However, scorecard tests can be executed manually. In order to execute these tes
447
448
run next command:
448
449
449
450
``` bash
450
- $ operator-sdk scorecard -w 60s quay.io/sec-eng-special/tang-operator-bundle:v1.0.12
451
+ $ operator-sdk scorecard -w 60s quay.io/sec-eng-special/tang-operator-bundle:v1.0.13
451
452
...
452
453
Results:
453
454
Name: olm-status-descriptors
@@ -474,7 +475,7 @@ Name: olm-bundle-validation
474
475
State: pass
475
476
```
476
477
477
- As it can be observed, execution of operator-sdk scorecard tests are passing successfully in latest released version (v1.0.12 ).
478
+ As it can be observed, execution of operator-sdk scorecard tests are passing successfully in latest released version (v1.0.13 ).
478
479
479
480
## Links
480
481
0 commit comments