Skip to content

Commit b823a08

Browse files
committed
SECENGSP-6343 Release v1.0.12 version
Resolves: #15 Signed-off-by: Sergio Arroutbi <[email protected]>
1 parent f976e64 commit b823a08

File tree

4 files changed

+64
-63
lines changed

4 files changed

+64
-63
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.11
6+
VERSION ?= 1.0.12
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
@@ -85,6 +85,7 @@ Versions released up to date of the operator and the operator-bundle are:
8585
- v1.0.9: Golang dependencies update
8686
- v1.0.10: Libraries update
8787
- v1.0.11: Libraries update, Update Go version (1.22 -> 1.22.5)
88+
- v1.0.12: Fix issues reported by gosec tool
8889

8990
## Installation
9091

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

109110
In order to deploy the latest version of the operator, check latest released
110111
version in the [Versions](#versions) section, and install the appropriate version
111-
bundle. For example, in case latest version is **1.0.11**, the command to execute
112+
bundle. For example, in case latest version is **1.0.12**, the command to execute
112113
will be:
113114

114115
```bash
115-
$ operator-sdk run bundle quay.io/sec-eng-special/tang-operator-bundle:v1.0.11
116-
INFO[0008] Successfully created registry pod: quay-io-sec-eng-special-tang-operator-bundle-v1.0.11
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
117118
INFO[0009] Created CatalogSource: tang-operator-catalog
118119
INFO[0009] OperatorGroup "operator-sdk-og" created
119-
INFO[0009] Created Subscription: tang-operator-v1.0.11-sub
120-
INFO[0011] Approved InstallPlan install-lqf9f for the Subscription: tang-operator-v1.0.11-sub
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
121122
INFO[0011] Waiting for ClusterServiceVersion to reach 'Succeeded' phase
122-
INFO[0012] Waiting for ClusterServiceVersion "default/tang-operator.v1.0.11"
123-
INFO[0018] Found ClusterServiceVersion "default/tang-operator.v1.0.11" phase: Pending
124-
INFO[0020] Found ClusterServiceVersion "default/tang-operator.v1.0.11" phase: InstallReady
125-
INFO[0021] Found ClusterServiceVersion "default/tang-operator.v1.0.11" phase: Installing
126-
INFO[0031] Found ClusterServiceVersion "default/tang-operator.v1.0.11" phase: Succeeded
127-
INFO[0031] OLM has successfully installed "tang-operator.v1.0.11"
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"
128129
```
129130
To install latest multi-arch image, execute:
130131
```bash
@@ -140,10 +141,10 @@ your cluster takes long time to deploy. To do so, the option **--timeout** can b
140141
used (if not used, default time is 2m, which stands for two minutes):
141142

142143
```bash
143-
$ operator-sdk run bundle --timeout 3m quay.io/sec-eng-special/tang-operator-bundle:v1.0.11
144-
INFO[0008] Successfully created registry pod: quay-io-sec-eng-special-tang-operator-bundle-v1.0.11
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
145146
...
146-
INFO[0031] OLM has successfully installed "tang-operator.v1.0.11"
147+
INFO[0031] OLM has successfully installed "tang-operator.v1.0.12"
147148
```
148149

149150
Additionally, correct installation can be observed if an output like
@@ -153,7 +154,7 @@ the following is observed when prompting for installed pods:
153154
$ oc get pods
154155
NAME READY STATUS RESTARTS AGE
155156
dbbd1837106ec169542546e7ad251b95d27c3542eb0409c1e 0/1 Completed 0 82s
156-
quay-io-tang-operator-bundle-v1.0.11 1/1 Running 0 90s
157+
quay-io-tang-operator-bundle-v1.0.12 1/1 Running 0 90s
157158
tang-operator-controller-manager-5c9488d8dd-mgmsf 2/2 Running 0 52s
158159
```
159160

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

206-
To summarize, taking into account that the last released version is **v1.0.11**,
207+
To summarize, taking into account that the last released version is **v1.0.12**,
207208
compilation can be done with next command:
208209

209210
```bash
210-
$ make docker-build docker-push IMG="quay.io/sec-eng-special/tang-operator:v1.0.11"
211+
$ make docker-build docker-push IMG="quay.io/sec-eng-special/tang-operator:v1.0.12"
211212
...
212213
Successfully built 4a88ba8e6426
213-
Successfully tagged sec-eng-special/tang-operator:v1.0.11
214-
docker push sec-eng-special/tang-operator:v1.0.11
214+
Successfully tagged sec-eng-special/tang-operator:v1.0.12
215+
docker push sec-eng-special/tang-operator:v1.0.12
215216
The push refers to repository [quay.io/sec-eng-special/tang-operator]
216-
7910991.0.11a: Pushed
217+
7910991.0.12a: Pushed
217218
417cb9b79ade: Layer already exists
218-
v1.0.11: digest: sha256:c97bed08ab71556542602b008888bdf23ce4afd86228a07 size: 739
219+
v1.0.12: digest: sha256:c97bed08ab71556542602b008888bdf23ce4afd86228a07 size: 739
219220
```
220221

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

223224
```bash
224-
$ make podman-build podman-push IMG="quay.io/sec-eng-special/tang-operator:v1.0.11"
225+
$ make podman-build podman-push IMG="quay.io/sec-eng-special/tang-operator:v1.0.12"
225226
...
226227
Successfully built 4a88ba8e6426
227-
Successfully tagged sec-eng-special/tang-operator:v1.0.11
228-
podman push sec-eng-special/tang-operator:v1.0.11
228+
Successfully tagged sec-eng-special/tang-operator:v1.0.12
229+
podman push sec-eng-special/tang-operator:v1.0.12
229230
The push refers to repository [quay.io/sec-eng-special/tang-operator]
230-
7910991.0.11a: Pushed
231+
7910991.0.12a: Pushed
231232
417cb9b79ade: Layer already exists
232-
v1.0.11: digest: sha256:c97bed08ab71556542602b008888bdf23ce4afd86228a07 size: 739
233+
v1.0.12: digest: sha256:c97bed08ab71556542602b008888bdf23ce4afd86228a07 size: 739
233234
```
234235

235236
In case a new release is planned to be done, the steps to follow will be:
@@ -245,23 +246,23 @@ index 9a41c6a..db12a82 100644
245246
@@ -3,7 +3,7 @@
246247
# To re-generate a bundle for another specific version without changing the
247248
# standard setup, you can:
248-
# - use the VERSION as arg of the bundle target (e.g. make bundle VERSION=1.0.11)
249-
# - use environment variables to overwrite this value (e.g. export VERSION=1.0.11)
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)
250251
-VERSION ?= 1.0.9
251-
+VERSION ?= 1.0.11
252+
+VERSION ?= 1.0.12
252253
```
253254

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

256257
```bash
257-
$ docker tag quay.io/sec-eng-special/tang-operator-bundle:v1.0.11 quay.io/sec-eng-special/tang-operator-bundle:latest
258+
$ docker tag quay.io/sec-eng-special/tang-operator-bundle:v1.0.12 quay.io/sec-eng-special/tang-operator-bundle:latest
258259
$ docker push quay.io/sec-eng-special/tang-operator-bundle:latest
259260
```
260261

261262
In case `podman` is being used:
262263

263264
```bash
264-
$ podman tag quay.io/sec-eng-special/tang-operator-bundle:v1.0.11 quay.io/sec-eng-special/tang-operator-bundle:latest
265+
$ podman tag quay.io/sec-eng-special/tang-operator-bundle:v1.0.12 quay.io/sec-eng-special/tang-operator-bundle:latest
265266
$ podman push quay.io/sec-eng-special/tang-operator-bundle:latest
266267
```
267268

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

272273
```bash
273-
$ make docker-build docker-push IMG="quay.io/sec-eng-special/tang-operator:v1.0.11"
274+
$ make docker-build docker-push IMG="quay.io/sec-eng-special/tang-operator:v1.0.12"
274275
...
275-
Successfully tagged sec-eng-special/tang-operator:v1.0.11
276-
docker push sec-eng-special/tang-operator:v1.0.11
276+
Successfully tagged sec-eng-special/tang-operator:v1.0.12
277+
docker push sec-eng-special/tang-operator:v1.0.12
277278
The push refers to repository [quay.io/sec-eng-special/tang-operator]
278279
9ff8a4099c67: Pushed
279280
417cb9b79ade: Layer already exists
280-
v1.0.11: digest: sha256:01620ab19faae54fb382a2ff285f589cf0bde6e168f14f07 size: 739
281+
v1.0.12: digest: sha256:01620ab19faae54fb382a2ff285f589cf0bde6e168f14f07 size: 739
281282
```
282283

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

285286
```bash
286-
$ make podman-build podman-push IMG="quay.io/sec-eng-special/tang-operator:v1.0.11"
287+
$ make podman-build podman-push IMG="quay.io/sec-eng-special/tang-operator:v1.0.12"
287288
...
288289
Successfully built 4a88ba8e6426
289-
Successfully tagged sec-eng-special/tang-operator:v1.0.11
290-
podman push sec-eng-special/tang-operator:v1.0.11
290+
Successfully tagged sec-eng-special/tang-operator:v1.0.12
291+
podman push sec-eng-special/tang-operator:v1.0.12
291292
The push refers to repository [quay.io/sec-eng-special/tang-operator]
292-
7910991.0.11a: Pushed
293+
7910991.0.12a: Pushed
293294
417cb9b79ade: Layer already exists
294-
v1.0.11: digest: sha256:c97bed08ab71556542602b008888bdf23ce4afd86228a07 size: 739
295+
v1.0.12: digest: sha256:c97bed08ab71556542602b008888bdf23ce4afd86228a07 size: 739
295296
```
296297

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

303304
```bash
304-
$ make bundle IMG="quay.io/sec-eng-special/tang-operator:v1.0.11"
305-
$ make bundle-build bundle-push BUNDLE_IMG="quay.io/sec-eng-special/tang-operator-bundle:v1.0.11"
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"
306307
...
307-
docker push sec-eng-special/tang-operator-bundle:v1.0.11
308+
docker push sec-eng-special/tang-operator-bundle:v1.0.12
308309
The push refers to repository [quay.io/sec-eng-special/tang-operator-bundle]
309310
02e3768cfc56: Pushed
310311
df0c8060d328: Pushed
311312
84774958bcf4: Pushed
312-
v1.0.11: digest: sha256:925c2f844f941db2b53ce45cba9db7ee0be613321da8f0f05d size: 939
313+
v1.0.12: digest: sha256:925c2f844f941db2b53ce45cba9db7ee0be613321da8f0f05d size: 939
313314
make[1]: Leaving directory '/home/user/RedHat/TASKS/TANG_OPERATOR/tang-operator'
314315
```
315316

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

320321
```bash
321-
$ make bundle IMG="quay.io/sec-eng-special/tang-operator:v1.0.11"
322-
$ make podman-bundle-build podman-bundle-push BUNDLE_IMG="quay.io/sarroutb/tang-operator-bundle:v1.0.11"
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"
323324
...
324-
podman push sec-eng-special/tang-operator-bundle:v1.0.11
325+
podman push sec-eng-special/tang-operator-bundle:v1.0.12
325326
The push refers to repository [quay.io/sec-eng-special/tang-operator-bundle]
326327
02e3768cfc56: Pushed
327328
df0c8060d328: Pushed
328329
84774958bcf4: Pushed
329-
v1.0.11: digest: sha256:925c2f844f941db2b53ce45cba9db7ee0be613321da8f0f05d size: 939
330+
v1.0.12: digest: sha256:925c2f844f941db2b53ce45cba9db7ee0be613321da8f0f05d size: 939
330331
make[1]: Leaving directory '/home/user/RedHat/TASKS/TANG_OPERATOR/tang-operator'
331332
```
332333

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

368369
```bash
369-
$ GOARCH=ppc64le make docker-build docker-push IMG="quay.io/sec-eng-special/tang-operator:v1.0.11"
370+
$ GOARCH=ppc64le make docker-build docker-push IMG="quay.io/sec-eng-special/tang-operator:v1.0.12"
370371
...
371372
Successfully built 4a88ba8e6426
372-
Successfully tagged sec-eng-special/tang-operator:v1.0.11
373-
docker push sec-eng-special/tang-operator:v1.0.11
373+
Successfully tagged sec-eng-special/tang-operator:v1.0.12
374+
docker push sec-eng-special/tang-operator:v1.0.12
374375
The push refers to repository [quay.io/sec-eng-special/tang-operator]
375-
7910991.0.11a: Pushed
376+
7910991.0.12a: Pushed
376377
417cb9b79ade: Layer already exists
377-
v1.0.11: digest: sha256:c97bed08ab71556542602b008888bdf23ce4afd86228a07 size: 739
378+
v1.0.12: digest: sha256:c97bed08ab71556542602b008888bdf23ce4afd86228a07 size: 739
378379
```
379380
Examples of architectures to cross-compile are:
380381
* `ppc64le`
@@ -391,9 +392,9 @@ recommended way:
391392

392393
```bash
393394
$ operator-sdk cleanup tang-operator
394-
INFO[0001] subscription "tang-operator-v1.0.11-sub" deleted
395+
INFO[0001] subscription "tang-operator-v1.0.12-sub" deleted
395396
INFO[0001] customresourcedefinition "tangservers.daemons.redhat.com" deleted
396-
INFO[0002] clusterserviceversion "tang-operator.v1.0.11" deleted
397+
INFO[0002] clusterserviceversion "tang-operator.v1.0.12" deleted
397398
INFO[0002] catalogsource "tang-operator-catalog" deleted
398399
INFO[0002] operatorgroup "operator-sdk-og" deleted
399400
INFO[0002] Operator "tang-operator" uninstalled
@@ -483,7 +484,7 @@ However, scorecard tests can be executed manually. In order to execute these tes
483484
run next command:
484485

485486
```bash
486-
$ operator-sdk scorecard -w 60s quay.io/sec-eng-special/tang-operator-bundle:v1.0.11
487+
$ operator-sdk scorecard -w 60s quay.io/sec-eng-special/tang-operator-bundle:v1.0.12
487488
...
488489
Results:
489490
Name: olm-status-descriptors
@@ -510,7 +511,7 @@ Name: olm-bundle-validation
510511
State: pass
511512
```
512513

513-
As it can be observed, execution of operator-sdk scorecard tests are passing successfully in latest released version (v1.0.11).
514+
As it can be observed, execution of operator-sdk scorecard tests are passing successfully in latest released version (v1.0.12).
514515

515516
## Links
516517

bundle/manifests/tang-operator.clusterserviceversion.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,10 @@ metadata:
2525
}
2626
]
2727
capabilities: Basic Install
28-
createdAt: "2024-09-18T14:19:06Z"
28+
createdAt: "2024-10-04T07:57:51Z"
2929
operators.operatorframework.io/builder: operator-sdk-v1.33.0
3030
operators.operatorframework.io/project_layout: go.kubebuilder.io/v4
31-
name: tang-operator.v1.0.11
31+
name: tang-operator.v1.0.12
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.11
331+
image: quay.io/sec-eng-special/tang-operator:v1.0.12
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.11
414+
version: 1.0.12

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.11
16+
newTag: v1.0.12

0 commit comments

Comments
 (0)