Skip to content

Commit 5dab7f9

Browse files
authored
Release v1.0.13 version (#73)
Signed-off-by: Sergio Arroutbi <[email protected]>
1 parent 5e056db commit 5dab7f9

File tree

4 files changed

+65
-64
lines changed

4 files changed

+65
-64
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# To re-generate a bundle for another specific version without changing the standard setup, you can:
44
# - use the VERSION as arg of the bundle target (e.g make bundle VERSION=0.0.2)
55
# - use environment variables to overwrite this value (e.g export VERSION=0.0.2)
6-
VERSION ?= 1.0.12
6+
VERSION ?= 1.0.13
77

88
# CHANNELS define the bundle channels used in the bundle.
99
# Add a new line here if you would like to change its default config. (E.g CHANNELS = "candidate,fast,stable")

README.md

Lines changed: 58 additions & 57 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,7 @@ Versions released up to date of the operator and the operator-bundle are:
8686
- v1.0.10: Libraries update
8787
- v1.0.11: Libraries update, Update Go version (1.22 -> 1.22.5)
8888
- v1.0.12: Fix issues reported by gosec tool
89+
- v1.0.13: Libraries update, Update Go version (1.22.5 -> 1.23.2)
8990

9091
## Installation
9192

@@ -109,23 +110,23 @@ operator-sdk installation is described in the [Links](#links) section.
109110

110111
In order to deploy the latest version of the operator, check latest released
111112
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
113114
will be:
114115

115116
```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
118119
INFO[0009] Created CatalogSource: tang-operator-catalog
119120
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
122123
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"
129130
```
130131
To install latest multi-arch image, execute:
131132
```bash
@@ -141,10 +142,10 @@ your cluster takes long time to deploy. To do so, the option **--timeout** can b
141142
used (if not used, default time is 2m, which stands for two minutes):
142143

143144
```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
146147
...
147-
INFO[0031] OLM has successfully installed "tang-operator.v1.0.12"
148+
INFO[0031] OLM has successfully installed "tang-operator.v1.0.13"
148149
```
149150

150151
Additionally, correct installation can be observed if an output like
@@ -154,7 +155,7 @@ the following is observed when prompting for installed pods:
154155
$ oc get pods
155156
NAME READY STATUS RESTARTS AGE
156157
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
158159
tang-operator-controller-manager-5c9488d8dd-mgmsf 2/2 Running 0 52s
159160
```
160161

@@ -204,33 +205,33 @@ to be released, it is recommended to increase version appropriately.
204205
In this case, same version is used. Last released version can be observed in
205206
[Versions](#versions) section.
206207

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**,
208209
compilation can be done with next command:
209210

210211
```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"
212213
...
213214
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
216217
The push refers to repository [quay.io/sec-eng-special/tang-operator]
217-
7910991.0.12a: Pushed
218+
7910991.0.13a: Pushed
218219
417cb9b79ade: Layer already exists
219-
v1.0.12: digest: sha256:c97bed08ab71556542602b008888bdf23ce4afd86228a07 size: 739
220+
v1.0.13: digest: sha256:c97bed08ab71556542602b008888bdf23ce4afd86228a07 size: 739
220221
```
221222

222223
It is possible to use `podman` instead of `docker`:
223224

224225
```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"
226227
...
227228
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
230231
The push refers to repository [quay.io/sec-eng-special/tang-operator]
231-
7910991.0.12a: Pushed
232+
7910991.0.13a: Pushed
232233
417cb9b79ade: Layer already exists
233-
v1.0.12: digest: sha256:c97bed08ab71556542602b008888bdf23ce4afd86228a07 size: 739
234+
v1.0.13: digest: sha256:c97bed08ab71556542602b008888bdf23ce4afd86228a07 size: 739
234235
```
235236

236237
In case a new release is planned to be done, the steps to follow will be:
@@ -246,23 +247,23 @@ index 9a41c6a..db12a82 100644
246247
@@ -3,7 +3,7 @@
247248
# To re-generate a bundle for another specific version without changing the
248249
# 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)
251252
-VERSION ?= 1.0.9
252-
+VERSION ?= 1.0.12
253+
+VERSION ?= 1.0.13
253254
```
254255

255256
Apart from previous changes, it is recommended to generate a "latest" tag for tang-operator bundle:
256257

257258
```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
259260
$ docker push quay.io/sec-eng-special/tang-operator-bundle:latest
260261
```
261262

262263
In case `podman` is being used:
263264

264265
```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
266267
$ podman push quay.io/sec-eng-special/tang-operator-bundle:latest
267268
```
268269

@@ -271,28 +272,28 @@ $ podman push quay.io/sec-eng-special/tang-operator-bundle:latest
271272
Compile operator code, specifying new version, by using **make docker-build** command:
272273

273274
```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"
275276
...
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
278279
The push refers to repository [quay.io/sec-eng-special/tang-operator]
279280
9ff8a4099c67: Pushed
280281
417cb9b79ade: Layer already exists
281-
v1.0.12: digest: sha256:01620ab19faae54fb382a2ff285f589cf0bde6e168f14f07 size: 739
282+
v1.0.13: digest: sha256:01620ab19faae54fb382a2ff285f589cf0bde6e168f14f07 size: 739
282283
```
283284

284285
And, in case `podman` is being used instead of `docker`:
285286

286287
```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"
288289
...
289290
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
292293
The push refers to repository [quay.io/sec-eng-special/tang-operator]
293-
7910991.0.12a: Pushed
294+
7910991.0.13a: Pushed
294295
417cb9b79ade: Layer already exists
295-
v1.0.12: digest: sha256:c97bed08ab71556542602b008888bdf23ce4afd86228a07 size: 739
296+
v1.0.13: digest: sha256:c97bed08ab71556542602b008888bdf23ce4afd86228a07 size: 739
296297
```
297298

298299
- <ins>Bundle push</ins>:
@@ -302,15 +303,15 @@ the bundle with **make bundle**, specifying appropriate image,
302303
and push it with **make bundle-build bundle-push**:
303304

304305
```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"
307308
...
308-
docker push sec-eng-special/tang-operator-bundle:v1.0.12
309+
docker push sec-eng-special/tang-operator-bundle:v1.0.13
309310
The push refers to repository [quay.io/sec-eng-special/tang-operator-bundle]
310311
02e3768cfc56: Pushed
311312
df0c8060d328: Pushed
312313
84774958bcf4: Pushed
313-
v1.0.12: digest: sha256:925c2f844f941db2b53ce45cba9db7ee0be613321da8f0f05d size: 939
314+
v1.0.13: digest: sha256:925c2f844f941db2b53ce45cba9db7ee0be613321da8f0f05d size: 939
314315
make[1]: Leaving directory '/home/user/RedHat/TASKS/TANG_OPERATOR/tang-operator'
315316
```
316317

@@ -319,15 +320,15 @@ In case the operator bundle is required to be pushed, generate the bundle with *
319320
specifying appropriate image, and push it with **make podman-bundle-build podman-bundle-push**:
320321

321322
```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"
324325
...
325-
podman push sec-eng-special/tang-operator-bundle:v1.0.12
326+
podman push sec-eng-special/tang-operator-bundle:v1.0.13
326327
The push refers to repository [quay.io/sec-eng-special/tang-operator-bundle]
327328
02e3768cfc56: Pushed
328329
df0c8060d328: Pushed
329330
84774958bcf4: Pushed
330-
v1.0.12: digest: sha256:925c2f844f941db2b53ce45cba9db7ee0be613321da8f0f05d size: 939
331+
v1.0.13: digest: sha256:925c2f844f941db2b53ce45cba9db7ee0be613321da8f0f05d size: 939
331332
make[1]: Leaving directory '/home/user/RedHat/TASKS/TANG_OPERATOR/tang-operator'
332333
```
333334

@@ -367,15 +368,15 @@ In order to cross compile tang-operator, prepend **GOARCH** with required archit
367368
**make docker-build**:
368369

369370
```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"
371372
...
372373
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
375376
The push refers to repository [quay.io/sec-eng-special/tang-operator]
376-
7910991.0.12a: Pushed
377+
7910991.0.13a: Pushed
377378
417cb9b79ade: Layer already exists
378-
v1.0.12: digest: sha256:c97bed08ab71556542602b008888bdf23ce4afd86228a07 size: 739
379+
v1.0.13: digest: sha256:c97bed08ab71556542602b008888bdf23ce4afd86228a07 size: 739
379380
```
380381
Examples of architectures to cross-compile are:
381382
* `ppc64le`
@@ -392,9 +393,9 @@ recommended way:
392393

393394
```bash
394395
$ 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
396397
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
398399
INFO[0002] catalogsource "tang-operator-catalog" deleted
399400
INFO[0002] operatorgroup "operator-sdk-og" deleted
400401
INFO[0002] Operator "tang-operator" uninstalled
@@ -447,7 +448,7 @@ However, scorecard tests can be executed manually. In order to execute these tes
447448
run next command:
448449

449450
```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
451452
...
452453
Results:
453454
Name: olm-status-descriptors
@@ -474,7 +475,7 @@ Name: olm-bundle-validation
474475
State: pass
475476
```
476477

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).
478479

479480
## Links
480481

bundle/manifests/tang-operator.clusterserviceversion.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,10 @@ metadata:
2525
}
2626
]
2727
capabilities: Basic Install
28-
createdAt: "2024-10-04T07:57:51Z"
29-
operators.operatorframework.io/builder: operator-sdk-v1.33.0
28+
createdAt: "2024-10-14T17:29:40Z"
29+
operators.operatorframework.io/builder: operator-sdk-v1.37.0
3030
operators.operatorframework.io/project_layout: go.kubebuilder.io/v4
31-
name: tang-operator.v1.0.12
31+
name: tang-operator.v1.0.13
3232
namespace: placeholder
3333
spec:
3434
apiservicedefinitions: {}
@@ -328,7 +328,7 @@ spec:
328328
- --leader-elect
329329
command:
330330
- /manager
331-
image: quay.io/sec-eng-special/tang-operator:v1.0.12
331+
image: quay.io/sec-eng-special/tang-operator:v1.0.13
332332
livenessProbe:
333333
httpGet:
334334
path: /healthz
@@ -411,4 +411,4 @@ spec:
411411
maturity: alpha
412412
provider:
413413
name: Red Hat
414-
version: 1.0.12
414+
version: 1.0.13

config/manager/kustomization.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@ kind: Kustomization
1313
images:
1414
- name: controller
1515
newName: quay.io/sec-eng-special/tang-operator
16-
newTag: v1.0.12
16+
newTag: v1.0.13

0 commit comments

Comments
 (0)