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