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