Skip to content
This repository was archived by the owner on Oct 7, 2024. It is now read-only.

Commit 63e3c00

Browse files
authored
Release 1.0.10 version (#326)
Resolves: #315 Signed-off-by: Sergio Arroutbi <[email protected]>
1 parent 8cd856d commit 63e3c00

File tree

5 files changed

+65
-64
lines changed

5 files changed

+65
-64
lines changed

.github/workflows/deploy.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,5 +52,5 @@ jobs:
5252
- name: Deploy and Scorecard
5353
run: |
5454
sh .github/workflows/scripts/retrieve_and_run_operator_sdk \
55-
"v1.33.0" "5m" "quay.io/sec-eng-special/tang-operator-bundle" \
55+
"v1.35.0" "5m" "quay.io/sec-eng-special/tang-operator-bundle" \
5656
"${GITHUB_HEAD_REF}"

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.9
6+
VERSION ?= 1.0.10
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
@@ -94,6 +94,7 @@ Tang operator-bundle are:
9494
- v1.0.7: GA re-release. Fix channel ("alpha" to "stable")
9595
- v1.0.8: ServiceType / ClusterIP configuration through TangServer CR
9696
- v1.0.9: Golang dependencies update
97+
- v1.0.10: Libraries update
9798

9899
## Installation
99100

@@ -117,23 +118,23 @@ operator-sdk installation is described in the [Links](#links) section.
117118

118119
In order to deploy the latest version of the Tang operator, check latest released
119120
version in the [Versions](#versions) section, and install the appropriate version
120-
bundle. For example, in case latest version is **1.0.9**, the command to execute
121+
bundle. For example, in case latest version is **1.0.10**, the command to execute
121122
will be:
122123

123124
```bash
124-
$ operator-sdk run bundle quay.io/sec-eng-special/tang-operator-bundle:v1.0.9
125-
INFO[0008] Successfully created registry pod: quay-io-sec-eng-special-tang-operator-bundle-v1.0.9
125+
$ operator-sdk run bundle quay.io/sec-eng-special/tang-operator-bundle:v1.0.10
126+
INFO[0008] Successfully created registry pod: quay-io-sec-eng-special-tang-operator-bundle-v1.0.10
126127
INFO[0009] Created CatalogSource: tang-operator-catalog
127128
INFO[0009] OperatorGroup "operator-sdk-og" created
128-
INFO[0009] Created Subscription: tang-operator-v1.0.9-sub
129-
INFO[0011] Approved InstallPlan install-lqf9f for the Subscription: tang-operator-v1.0.9-sub
129+
INFO[0009] Created Subscription: tang-operator-v1.0.10-sub
130+
INFO[0011] Approved InstallPlan install-lqf9f for the Subscription: tang-operator-v1.0.10-sub
130131
INFO[0011] Waiting for ClusterServiceVersion to reach 'Succeeded' phase
131-
INFO[0012] Waiting for ClusterServiceVersion "default/tang-operator.v1.0.9"
132-
INFO[0018] Found ClusterServiceVersion "default/tang-operator.v1.0.9" phase: Pending
133-
INFO[0020] Found ClusterServiceVersion "default/tang-operator.v1.0.9" phase: InstallReady
134-
INFO[0021] Found ClusterServiceVersion "default/tang-operator.v1.0.9" phase: Installing
135-
INFO[0031] Found ClusterServiceVersion "default/tang-operator.v1.0.9" phase: Succeeded
136-
INFO[0031] OLM has successfully installed "tang-operator.v1.0.9"
132+
INFO[0012] Waiting for ClusterServiceVersion "default/tang-operator.v1.0.10"
133+
INFO[0018] Found ClusterServiceVersion "default/tang-operator.v1.0.10" phase: Pending
134+
INFO[0020] Found ClusterServiceVersion "default/tang-operator.v1.0.10" phase: InstallReady
135+
INFO[0021] Found ClusterServiceVersion "default/tang-operator.v1.0.10" phase: Installing
136+
INFO[0031] Found ClusterServiceVersion "default/tang-operator.v1.0.10" phase: Succeeded
137+
INFO[0031] OLM has successfully installed "tang-operator.v1.0.10"
137138
```
138139
To install latest multi-arch image, execute:
139140
```bash
@@ -149,10 +150,10 @@ your cluster takes long time to deploy. To do so, the option **--timeout** can b
149150
used (if not used, default time is 2m, which stands for two minutes):
150151

151152
```bash
152-
$ operator-sdk run bundle --timeout 3m quay.io/sec-eng-special/tang-operator-bundle:v1.0.9
153-
INFO[0008] Successfully created registry pod: quay-io-sec-eng-special-tang-operator-bundle-v1.0.9
153+
$ operator-sdk run bundle --timeout 3m quay.io/sec-eng-special/tang-operator-bundle:v1.0.10
154+
INFO[0008] Successfully created registry pod: quay-io-sec-eng-special-tang-operator-bundle-v1.0.10
154155
...
155-
INFO[0031] OLM has successfully installed "tang-operator.v1.0.9"
156+
INFO[0031] OLM has successfully installed "tang-operator.v1.0.10"
156157
```
157158

158159
Additionally, correct Tang operator installation can be observed if an output like
@@ -162,7 +163,7 @@ the following is observed when prompting for installed pods:
162163
$ oc get pods
163164
NAME READY STATUS RESTARTS AGE
164165
dbbd1837106ec169542546e7ad251b95d27c3542eb0409c1e 0/1 Completed 0 82s
165-
quay-io-tang-operator-bundle-v1.0.9 1/1 Running 0 90s
166+
quay-io-tang-operator-bundle-v1.0.10 1/1 Running 0 90s
166167
tang-operator-controller-manager-5c9488d8dd-mgmsf 2/2 Running 0 52s
167168
```
168169

@@ -212,33 +213,33 @@ to be released, it is recommended to increase version appropriately.
212213
In this case, same version is used. Last released version can be observed in
213214
[Versions](#versions) section.
214215

215-
To summarize, taking into account that the last released version is **v1.0.9**,
216+
To summarize, taking into account that the last released version is **v1.0.10**,
216217
compilation can be done with next command:
217218

218219
```bash
219-
$ make docker-build docker-push IMG="quay.io/sec-eng-special/tang-operator:v1.0.9"
220+
$ make docker-build docker-push IMG="quay.io/sec-eng-special/tang-operator:v1.0.10"
220221
...
221222
Successfully built 4a88ba8e6426
222-
Successfully tagged sec-eng-special/tang-operator:v1.0.9
223-
docker push sec-eng-special/tang-operator:v1.0.9
223+
Successfully tagged sec-eng-special/tang-operator:v1.0.10
224+
docker push sec-eng-special/tang-operator:v1.0.10
224225
The push refers to repository [quay.io/sec-eng-special/tang-operator]
225-
7910991.0.9a: Pushed
226+
7910991.0.10a: Pushed
226227
417cb9b79ade: Layer already exists
227-
v1.0.9: digest: sha256:c97bed08ab71556542602b008888bdf23ce4afd86228a07 size: 739
228+
v1.0.10: digest: sha256:c97bed08ab71556542602b008888bdf23ce4afd86228a07 size: 739
228229
```
229230

230231
It is possible to use `podman` instead of `docker`:
231232

232233
```bash
233-
$ make podman-build podman-push IMG="quay.io/sec-eng-special/tang-operator:v1.0.9"
234+
$ make podman-build podman-push IMG="quay.io/sec-eng-special/tang-operator:v1.0.10"
234235
...
235236
Successfully built 4a88ba8e6426
236-
Successfully tagged sec-eng-special/tang-operator:v1.0.9
237-
podman push sec-eng-special/tang-operator:v1.0.9
237+
Successfully tagged sec-eng-special/tang-operator:v1.0.10
238+
podman push sec-eng-special/tang-operator:v1.0.10
238239
The push refers to repository [quay.io/sec-eng-special/tang-operator]
239-
7910991.0.9a: Pushed
240+
7910991.0.10a: Pushed
240241
417cb9b79ade: Layer already exists
241-
v1.0.9: digest: sha256:c97bed08ab71556542602b008888bdf23ce4afd86228a07 size: 739
242+
v1.0.10: digest: sha256:c97bed08ab71556542602b008888bdf23ce4afd86228a07 size: 739
242243
```
243244

244245
In case a new release is planned to be done, the steps to follow will be:
@@ -254,23 +255,23 @@ index 9a41c6a..db12a82 100644
254255
@@ -3,7 +3,7 @@
255256
# To re-generate a bundle for another specific version without changing the
256257
# standard setup, you can:
257-
# - use the VERSION as arg of the bundle target (e.g. make bundle VERSION=1.0.9)
258-
# - use environment variables to overwrite this value (e.g. export VERSION=1.0.9)
258+
# - use the VERSION as arg of the bundle target (e.g. make bundle VERSION=1.0.10)
259+
# - use environment variables to overwrite this value (e.g. export VERSION=1.0.10)
259260
-VERSION ?= 1.0.8
260-
+VERSION ?= 1.0.9
261+
+VERSION ?= 1.0.10
261262
```
262263

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

265266
```bash
266-
$ docker tag quay.io/sec-eng-special/tang-operator-bundle:v1.0.9 quay.io/sec-eng-special/tang-operator-bundle:latest
267+
$ docker tag quay.io/sec-eng-special/tang-operator-bundle:v1.0.10 quay.io/sec-eng-special/tang-operator-bundle:latest
267268
$ docker push quay.io/sec-eng-special/tang-operator-bundle:latest
268269
```
269270

270271
In case `podman` is being used:
271272

272273
```bash
273-
$ podman tag quay.io/sec-eng-special/tang-operator-bundle:v1.0.9 quay.io/sec-eng-special/tang-operator-bundle:latest
274+
$ podman tag quay.io/sec-eng-special/tang-operator-bundle:v1.0.10 quay.io/sec-eng-special/tang-operator-bundle:latest
274275
$ podman push quay.io/sec-eng-special/tang-operator-bundle:latest
275276
```
276277

@@ -280,28 +281,28 @@ Compile Tang operator code, specifying new version,
280281
by using **make docker-build** command:
281282

282283
```bash
283-
$ make docker-build docker-push IMG="quay.io/sec-eng-special/tang-operator:v1.0.9"
284+
$ make docker-build docker-push IMG="quay.io/sec-eng-special/tang-operator:v1.0.10"
284285
...
285-
Successfully tagged sec-eng-special/tang-operator:v1.0.9
286-
docker push sec-eng-special/tang-operator:v1.0.9
286+
Successfully tagged sec-eng-special/tang-operator:v1.0.10
287+
docker push sec-eng-special/tang-operator:v1.0.10
287288
The push refers to repository [quay.io/sec-eng-special/tang-operator]
288289
9ff8a4099c67: Pushed
289290
417cb9b79ade: Layer already exists
290-
v1.0.9: digest: sha256:01620ab19faae54fb382a2ff285f589cf0bde6e168f14f07 size: 739
291+
v1.0.10: digest: sha256:01620ab19faae54fb382a2ff285f589cf0bde6e168f14f07 size: 739
291292
```
292293

293294
And, in case `podman` is being used instead of `docker`:
294295

295296
```bash
296-
$ make podman-build podman-push IMG="quay.io/sec-eng-special/tang-operator:v1.0.9"
297+
$ make podman-build podman-push IMG="quay.io/sec-eng-special/tang-operator:v1.0.10"
297298
...
298299
Successfully built 4a88ba8e6426
299-
Successfully tagged sec-eng-special/tang-operator:v1.0.9
300-
podman push sec-eng-special/tang-operator:v1.0.9
300+
Successfully tagged sec-eng-special/tang-operator:v1.0.10
301+
podman push sec-eng-special/tang-operator:v1.0.10
301302
The push refers to repository [quay.io/sec-eng-special/tang-operator]
302-
7910991.0.9a: Pushed
303+
7910991.0.10a: Pushed
303304
417cb9b79ade: Layer already exists
304-
v1.0.9: digest: sha256:c97bed08ab71556542602b008888bdf23ce4afd86228a07 size: 739
305+
v1.0.10: digest: sha256:c97bed08ab71556542602b008888bdf23ce4afd86228a07 size: 739
305306
```
306307

307308
- <ins>Bundle push</ins>:
@@ -311,15 +312,15 @@ the bundle with **make bundle**, specifying appropriate image,
311312
and push it with **make bundle-build bundle-push**:
312313

313314
```bash
314-
$ make bundle IMG="quay.io/sec-eng-special/tang-operator:v1.0.9"
315-
$ make bundle-build bundle-push BUNDLE_IMG="quay.io/sec-eng-special/tang-operator-bundle:v1.0.9"
315+
$ make bundle IMG="quay.io/sec-eng-special/tang-operator:v1.0.10"
316+
$ make bundle-build bundle-push BUNDLE_IMG="quay.io/sec-eng-special/tang-operator-bundle:v1.0.10"
316317
...
317-
docker push sec-eng-special/tang-operator-bundle:v1.0.9
318+
docker push sec-eng-special/tang-operator-bundle:v1.0.10
318319
The push refers to repository [quay.io/sec-eng-special/tang-operator-bundle]
319320
02e3768cfc56: Pushed
320321
df0c8060d328: Pushed
321322
84774958bcf4: Pushed
322-
v1.0.9: digest: sha256:925c2f844f941db2b53ce45cba9db7ee0be613321da8f0f05d size: 939
323+
v1.0.10: digest: sha256:925c2f844f941db2b53ce45cba9db7ee0be613321da8f0f05d size: 939
323324
make[1]: Leaving directory '/home/user/RedHat/TASKS/TANG_OPERATOR/tang-operator'
324325
```
325326

@@ -328,15 +329,15 @@ In case the operator bundle is required to be pushed, generate the bundle with *
328329
specifying appropriate image, and push it with **make podman-bundle-build podman-bundle-push**:
329330

330331
```bash
331-
$ make bundle IMG="quay.io/sec-eng-special/tang-operator:v1.0.9"
332-
$ make podman-bundle-build podman-bundle-push BUNDLE_IMG="quay.io/sarroutb/tang-operator-bundle:v1.0.9"
332+
$ make bundle IMG="quay.io/sec-eng-special/tang-operator:v1.0.10"
333+
$ make podman-bundle-build podman-bundle-push BUNDLE_IMG="quay.io/sarroutb/tang-operator-bundle:v1.0.10"
333334
...
334-
podman push sec-eng-special/tang-operator-bundle:v1.0.9
335+
podman push sec-eng-special/tang-operator-bundle:v1.0.10
335336
The push refers to repository [quay.io/sec-eng-special/tang-operator-bundle]
336337
02e3768cfc56: Pushed
337338
df0c8060d328: Pushed
338339
84774958bcf4: Pushed
339-
v1.0.9: digest: sha256:925c2f844f941db2b53ce45cba9db7ee0be613321da8f0f05d size: 939
340+
v1.0.10: digest: sha256:925c2f844f941db2b53ce45cba9db7ee0be613321da8f0f05d size: 939
340341
make[1]: Leaving directory '/home/user/RedHat/TASKS/TANG_OPERATOR/tang-operator'
341342
```
342343

@@ -376,15 +377,15 @@ In order to cross compile tang-operator, prepend **GOARCH** with required archit
376377
**make docker-build**:
377378

378379
```bash
379-
$ GOARCH=ppc64le make docker-build docker-push IMG="quay.io/sec-eng-special/tang-operator:v1.0.9"
380+
$ GOARCH=ppc64le make docker-build docker-push IMG="quay.io/sec-eng-special/tang-operator:v1.0.10"
380381
...
381382
Successfully built 4a88ba8e6426
382-
Successfully tagged sec-eng-special/tang-operator:v1.0.9
383-
docker push sec-eng-special/tang-operator:v1.0.9
383+
Successfully tagged sec-eng-special/tang-operator:v1.0.10
384+
docker push sec-eng-special/tang-operator:v1.0.10
384385
The push refers to repository [quay.io/sec-eng-special/tang-operator]
385-
7910991.0.9a: Pushed
386+
7910991.0.10a: Pushed
386387
417cb9b79ade: Layer already exists
387-
v1.0.9: digest: sha256:c97bed08ab71556542602b008888bdf23ce4afd86228a07 size: 739
388+
v1.0.10: digest: sha256:c97bed08ab71556542602b008888bdf23ce4afd86228a07 size: 739
388389
```
389390
Examples of architectures to cross-compile are:
390391
* `ppc64le`
@@ -401,9 +402,9 @@ recommended way:
401402

402403
```bash
403404
$ operator-sdk cleanup tang-operator
404-
INFO[0001] subscription "tang-operator-v1.0.9-sub" deleted
405+
INFO[0001] subscription "tang-operator-v1.0.10-sub" deleted
405406
INFO[0001] customresourcedefinition "tangservers.daemons.redhat.com" deleted
406-
INFO[0002] clusterserviceversion "tang-operator.v1.0.9" deleted
407+
INFO[0002] clusterserviceversion "tang-operator.v1.0.10" deleted
407408
INFO[0002] catalogsource "tang-operator-catalog" deleted
408409
INFO[0002] operatorgroup "operator-sdk-og" deleted
409410
INFO[0002] Operator "tang-operator" uninstalled
@@ -493,7 +494,7 @@ However, scorecard tests can be executed manually. In order to execute these tes
493494
run next command:
494495

495496
```bash
496-
$ operator-sdk scorecard -w 60s quay.io/sec-eng-special/tang-operator-bundle:v1.0.9
497+
$ operator-sdk scorecard -w 60s quay.io/sec-eng-special/tang-operator-bundle:v1.0.10
497498
...
498499
Results:
499500
Name: olm-status-descriptors
@@ -520,7 +521,7 @@ Name: olm-bundle-validation
520521
State: pass
521522
```
522523

523-
As it can be observed, execution of operator-sdk scorecard tests are passing successfully in latest released version (v1.0.9).
524+
As it can be observed, execution of operator-sdk scorecard tests are passing successfully in latest released version (v1.0.10).
524525

525526
## Links
526527

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-05-07T08:38:26Z"
28+
createdAt: "2024-07-22T14:20:44Z"
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.9
31+
name: tang-operator.v1.0.10
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.9
331+
image: quay.io/sec-eng-special/tang-operator:v1.0.10
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.9
414+
version: 1.0.10

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.9
16+
newTag: v1.0.10

0 commit comments

Comments
 (0)