@@ -90,7 +90,8 @@ Tang operator-bundle are:
90
90
- v1.0.3: new GA release candidate. Update all mods to latest version
91
91
- v1.0.4: new GA release candidate. Adjust to naming conventions
92
92
- v1.0.5: new GA release candidate. Use latest ` kube-rbac-proxy ` version
93
- - v1.0.6: GA release. Fix Url to URL in CRD. GA Released Version in OpenShift.
93
+ - v1.0.6: GA release. Fix Url to URL in CRD. GA Released Version in OpenShift
94
+ - v1.0.7: GA re-release. Fix channel ("alpha" to "stable")
94
95
95
96
## Installation
96
97
@@ -112,23 +113,23 @@ operator-sdk installation is described in the [Links](#links) section.
112
113
113
114
In order to deploy the latest version of the Tang operator, check latest released
114
115
version in the [ Versions] ( #versions ) section, and install the appropriate version
115
- bundle. For example, in case latest version is ** 1.0.6 ** , the command to execute
116
+ bundle. For example, in case latest version is ** 1.0.7 ** , the command to execute
116
117
will be:
117
118
118
119
``` bash
119
- $ operator-sdk run bundle quay.io/sec-eng-special/tang-operator-bundle:v1.0.6
120
- INFO[0008] Successfully created registry pod: quay-io-sec-eng-special-tang-operator-bundle-v1.0.6
120
+ $ operator-sdk run bundle quay.io/sec-eng-special/tang-operator-bundle:v1.0.7
121
+ INFO[0008] Successfully created registry pod: quay-io-sec-eng-special-tang-operator-bundle-v1.0.7
121
122
INFO[0009] Created CatalogSource: tang-operator-catalog
122
123
INFO[0009] OperatorGroup " operator-sdk-og" created
123
- INFO[0009] Created Subscription: tang-operator-v1.0.6 -sub
124
- INFO[0011] Approved InstallPlan install-lqf9f for the Subscription: tang-operator-v1.0.6 -sub
124
+ INFO[0009] Created Subscription: tang-operator-v1.0.7 -sub
125
+ INFO[0011] Approved InstallPlan install-lqf9f for the Subscription: tang-operator-v1.0.7 -sub
125
126
INFO[0011] Waiting for ClusterServiceVersion to reach ' Succeeded' phase
126
- INFO[0012] Waiting for ClusterServiceVersion " default/tang-operator.v1.0.6 "
127
- INFO[0018] Found ClusterServiceVersion " default/tang-operator.v1.0.6 " phase: Pending
128
- INFO[0020] Found ClusterServiceVersion " default/tang-operator.v1.0.6 " phase: InstallReady
129
- INFO[0021] Found ClusterServiceVersion " default/tang-operator.v1.0.6 " phase: Installing
130
- INFO[0031] Found ClusterServiceVersion " default/tang-operator.v1.0.6 " phase: Succeeded
131
- INFO[0031] OLM has successfully installed " tang-operator.v1.0.6 "
127
+ INFO[0012] Waiting for ClusterServiceVersion " default/tang-operator.v1.0.7 "
128
+ INFO[0018] Found ClusterServiceVersion " default/tang-operator.v1.0.7 " phase: Pending
129
+ INFO[0020] Found ClusterServiceVersion " default/tang-operator.v1.0.7 " phase: InstallReady
130
+ INFO[0021] Found ClusterServiceVersion " default/tang-operator.v1.0.7 " phase: Installing
131
+ INFO[0031] Found ClusterServiceVersion " default/tang-operator.v1.0.7 " phase: Succeeded
132
+ INFO[0031] OLM has successfully installed " tang-operator.v1.0.7 "
132
133
```
133
134
To install latest multi-arch image, execute:
134
135
``` bash
@@ -144,10 +145,10 @@ your cluster takes long time to deploy. To do so, the option **--timeout** can b
144
145
used (if not used, default time is 2m, which stands for two minutes):
145
146
146
147
``` bash
147
- $ operator-sdk run bundle --timeout 3m quay.io/sec-eng-special/tang-operator-bundle:v1.0.6
148
- INFO[0008] Successfully created registry pod: quay-io-sec-eng-special-tang-operator-bundle-v1.0.6
148
+ $ operator-sdk run bundle --timeout 3m quay.io/sec-eng-special/tang-operator-bundle:v1.0.7
149
+ INFO[0008] Successfully created registry pod: quay-io-sec-eng-special-tang-operator-bundle-v1.0.7
149
150
...
150
- INFO[0031] OLM has successfully installed " tang-operator.v1.0.6 "
151
+ INFO[0031] OLM has successfully installed " tang-operator.v1.0.7 "
151
152
```
152
153
153
154
Additionally, correct Tang operator installation can be observed if an output like
@@ -157,7 +158,7 @@ the following is observed when prompting for installed pods:
157
158
$ oc get pods
158
159
NAME READY STATUS RESTARTS AGE
159
160
dbbd1837106ec169542546e7ad251b95d27c3542eb0409c1e 0/1 Completed 0 82s
160
- quay-io-tang-operator-bundle-v1.0.6 1/1 Running 0 90s
161
+ quay-io-tang-operator-bundle-v1.0.7 1/1 Running 0 90s
161
162
tang-operator-controller-manager-5c9488d8dd-mgmsf 2/2 Running 0 52s
162
163
```
163
164
@@ -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.6 ** ,
208
+ To summarize, taking into account that the last released version is ** v1.0.7 ** ,
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.6 "
212
+ $ make docker-build docker-push IMG=" quay.io/sec-eng-special/tang-operator:v1.0.7 "
212
213
...
213
214
Successfully built 4a88ba8e6426
214
- Successfully tagged sec-eng-special/tang-operator:v1.0.6
215
- docker push sec-eng-special/tang-operator:v1.0.6
215
+ Successfully tagged sec-eng-special/tang-operator:v1.0.7
216
+ docker push sec-eng-special/tang-operator:v1.0.7
216
217
The push refers to repository [quay.io/sec-eng-special/tang-operator]
217
- 7910991.0.6a : Pushed
218
+ 7910991.0.7a : Pushed
218
219
417cb9b79ade: Layer already exists
219
- v1.0.6 : digest: sha256:c97bed08ab71556542602b008888bdf23ce4afd86228a07 size: 739
220
+ v1.0.7 : 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.6 "
226
+ $ make podman-build podman-push IMG=" quay.io/sec-eng-special/tang-operator:v1.0.7 "
226
227
...
227
228
Successfully built 4a88ba8e6426
228
- Successfully tagged sec-eng-special/tang-operator:v1.0.6
229
- podman push sec-eng-special/tang-operator:v1.0.6
229
+ Successfully tagged sec-eng-special/tang-operator:v1.0.7
230
+ podman push sec-eng-special/tang-operator:v1.0.7
230
231
The push refers to repository [quay.io/sec-eng-special/tang-operator]
231
- 7910991.0.6a : Pushed
232
+ 7910991.0.7a : Pushed
232
233
417cb9b79ade: Layer already exists
233
- v1.0.6 : digest: sha256:c97bed08ab71556542602b008888bdf23ce4afd86228a07 size: 739
234
+ v1.0.7 : 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:
@@ -240,29 +241,29 @@ In case a new release is planned to be done, the steps to follow will be:
240
241
``` bash
241
242
$ git diff Makefile
242
243
diff --git a/Makefile b/Makefile
243
- index 9a41c6a..db12a82 1.0.64
244
+ index 9a41c6a..db12a82 1.0.74
244
245
--- a/Makefile
245
246
+++ b/Makefile
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.6 )
250
- # - use environment variables to overwrite this value (e.g export VERSION=1.0.6 )
251
- -VERSION ? = 1.0.5
252
- +VERSION ? = 1.0.6
250
+ # - use the VERSION as arg of the bundle target (e.g make bundle VERSION=1.0.7 )
251
+ # - use environment variables to overwrite this value (e.g export VERSION=1.0.7 )
252
+ -VERSION ? = 1.0.6
253
+ +VERSION ? = 1.0.7
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.6 quay.io/sec-eng-special/tang-operator-bundle:latest
259
+ $ docker tag quay.io/sec-eng-special/tang-operator-bundle:v1.0.7 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.6 quay.io/sec-eng-special/tang-operator-bundle:latest
266
+ $ podman tag quay.io/sec-eng-special/tang-operator-bundle:v1.0.7 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
@@ -272,28 +273,28 @@ Compile Tang operator code, specifying new version,
272
273
by using ** make docker-build** command:
273
274
274
275
``` bash
275
- $ make docker-build docker-push IMG=" quay.io/sec-eng-special/tang-operator:v1.0.6 "
276
+ $ make docker-build docker-push IMG=" quay.io/sec-eng-special/tang-operator:v1.0.7 "
276
277
...
277
- Successfully tagged sec-eng-special/tang-operator:v1.0.6
278
- docker push sec-eng-special/tang-operator:v1.0.6
278
+ Successfully tagged sec-eng-special/tang-operator:v1.0.7
279
+ docker push sec-eng-special/tang-operator:v1.0.7
279
280
The push refers to repository [quay.io/sec-eng-special/tang-operator]
280
281
9ff8a4099c67: Pushed
281
282
417cb9b79ade: Layer already exists
282
- v1.0.6 : digest: sha256:01620ab19faae54fb382a2ff285f589cf0bde6e168f14f07 size: 739
283
+ v1.0.7 : digest: sha256:01620ab19faae54fb382a2ff285f589cf0bde6e168f14f07 size: 739
283
284
```
284
285
285
286
And, in case ` podman ` is being used instead of ` docker ` :
286
287
287
288
``` bash
288
- $ make podman-build podman-push IMG=" quay.io/sec-eng-special/tang-operator:v1.0.6 "
289
+ $ make podman-build podman-push IMG=" quay.io/sec-eng-special/tang-operator:v1.0.7 "
289
290
...
290
291
Successfully built 4a88ba8e6426
291
- Successfully tagged sec-eng-special/tang-operator:v1.0.6
292
- podman push sec-eng-special/tang-operator:v1.0.6
292
+ Successfully tagged sec-eng-special/tang-operator:v1.0.7
293
+ podman push sec-eng-special/tang-operator:v1.0.7
293
294
The push refers to repository [quay.io/sec-eng-special/tang-operator]
294
- 7910991.0.6a : Pushed
295
+ 7910991.0.7a : Pushed
295
296
417cb9b79ade: Layer already exists
296
- v1.0.6 : digest: sha256:c97bed08ab71556542602b008888bdf23ce4afd86228a07 size: 739
297
+ v1.0.7 : digest: sha256:c97bed08ab71556542602b008888bdf23ce4afd86228a07 size: 739
297
298
```
298
299
299
300
- <ins >Bundle push</ins >:
@@ -303,15 +304,15 @@ the bundle with **make bundle**, specifying appropriate image,
303
304
and push it with ** make bundle-build bundle-push** :
304
305
305
306
``` bash
306
- $ make bundle IMG=" quay.io/sec-eng-special/tang-operator:v1.0.6 "
307
- $ make bundle-build bundle-push BUNDLE_IMG=" quay.io/sec-eng-special/tang-operator-bundle:v1.0.6 "
307
+ $ make bundle IMG=" quay.io/sec-eng-special/tang-operator:v1.0.7 "
308
+ $ make bundle-build bundle-push BUNDLE_IMG=" quay.io/sec-eng-special/tang-operator-bundle:v1.0.7 "
308
309
...
309
- docker push sec-eng-special/tang-operator-bundle:v1.0.6
310
+ docker push sec-eng-special/tang-operator-bundle:v1.0.7
310
311
The push refers to repository [quay.io/sec-eng-special/tang-operator-bundle]
311
312
02e3768cfc56: Pushed
312
313
df0c8060d328: Pushed
313
314
84774958bcf4: Pushed
314
- v1.0.6 : digest: sha256:925c2f844f941db2b53ce45cba9db7ee0be613321da8f0f05d size: 939
315
+ v1.0.7 : digest: sha256:925c2f844f941db2b53ce45cba9db7ee0be613321da8f0f05d size: 939
315
316
make[1]: Leaving directory ' /home/user/RedHat/TASKS/TANG_OPERATOR/tang-operator'
316
317
```
317
318
@@ -320,15 +321,15 @@ In case the operator bundle is required to be pushed, generate the bundle with *
320
321
specifying appropriate image, and push it with ** make podman-bundle-build podman-bundle-push** :
321
322
322
323
``` bash
323
- $ make bundle IMG=" quay.io/sec-eng-special/tang-operator:v1.0.6 "
324
- $ make podman-bundle-build podman-bundle-push BUNDLE_IMG=" quay.io/sarroutb/tang-operator-bundle:v1.0.6 "
324
+ $ make bundle IMG=" quay.io/sec-eng-special/tang-operator:v1.0.7 "
325
+ $ make podman-bundle-build podman-bundle-push BUNDLE_IMG=" quay.io/sarroutb/tang-operator-bundle:v1.0.7 "
325
326
...
326
- podman push sec-eng-special/tang-operator-bundle:v1.0.6
327
+ podman push sec-eng-special/tang-operator-bundle:v1.0.7
327
328
The push refers to repository [quay.io/sec-eng-special/tang-operator-bundle]
328
329
02e3768cfc56: Pushed
329
330
df0c8060d328: Pushed
330
331
84774958bcf4: Pushed
331
- v1.0.6 : digest: sha256:925c2f844f941db2b53ce45cba9db7ee0be613321da8f0f05d size: 939
332
+ v1.0.7 : digest: sha256:925c2f844f941db2b53ce45cba9db7ee0be613321da8f0f05d size: 939
332
333
make[1]: Leaving directory ' /home/user/RedHat/TASKS/TANG_OPERATOR/tang-operator'
333
334
```
334
335
@@ -368,15 +369,15 @@ In order to cross compile tang-operator, prepend **GOARCH** with required archit
368
369
** make docker-build** :
369
370
370
371
``` bash
371
- $ GOARCH=ppc64le make docker-build docker-push IMG=" quay.io/sec-eng-special/tang-operator:v1.0.6 "
372
+ $ GOARCH=ppc64le make docker-build docker-push IMG=" quay.io/sec-eng-special/tang-operator:v1.0.7 "
372
373
...
373
374
Successfully built 4a88ba8e6426
374
- Successfully tagged sec-eng-special/tang-operator:v1.0.6
375
- docker push sec-eng-special/tang-operator:v1.0.6
375
+ Successfully tagged sec-eng-special/tang-operator:v1.0.7
376
+ docker push sec-eng-special/tang-operator:v1.0.7
376
377
The push refers to repository [quay.io/sec-eng-special/tang-operator]
377
- 7910991.0.6a : Pushed
378
+ 7910991.0.7a : Pushed
378
379
417cb9b79ade: Layer already exists
379
- v1.0.6 : digest: sha256:c97bed08ab71556542602b008888bdf23ce4afd86228a07 size: 739
380
+ v1.0.7 : digest: sha256:c97bed08ab71556542602b008888bdf23ce4afd86228a07 size: 739
380
381
```
381
382
382
383
## Cleanup
@@ -386,9 +387,9 @@ recommended way:
386
387
387
388
``` bash
388
389
$ operator-sdk cleanup tang-operator
389
- INFO[0001] subscription " tang-operator-v1.0.6 -sub" deleted
390
+ INFO[0001] subscription " tang-operator-v1.0.7 -sub" deleted
390
391
INFO[0001] customresourcedefinition " tangservers.daemons.redhat.com" deleted
391
- INFO[0002] clusterserviceversion " tang-operator.v1.0.6 " deleted
392
+ INFO[0002] clusterserviceversion " tang-operator.v1.0.7 " deleted
392
393
INFO[0002] catalogsource " tang-operator-catalog" deleted
393
394
INFO[0002] operatorgroup " operator-sdk-og" deleted
394
395
INFO[0002] Operator " tang-operator" uninstalled
@@ -465,11 +466,11 @@ NOTE: CI/CD is in a continuous "work in progress" state
465
466
466
467
## Scorecard
467
468
468
- Execution of operator-sdk scorecard tests are passing completely in version v1.0.6 .
469
+ Execution of operator-sdk scorecard tests are passing completely in version v1.0.7 .
469
470
In order to execute these tests, run next command:
470
471
471
472
``` bash
472
- $ operator-sdk scorecard -w 60s quay.io/sec-eng-special/tang-operator-bundle:v1.0.6
473
+ $ operator-sdk scorecard -w 60s quay.io/sec-eng-special/tang-operator-bundle:v1.0.7
473
474
...
474
475
Results:
475
476
Name: olm-status-descriptors
0 commit comments