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

Commit 805a79a

Browse files
authored
Release 1.0.7 (GA candidate re-release) (#240)
Resolves: #239 Signed-off-by: Sergio Arroutbi <sarroutb@redhat.com>
1 parent b4479e9 commit 805a79a

File tree

6 files changed

+70
-69
lines changed

6 files changed

+70
-69
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.6
6+
VERSION ?= 1.0.7
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: 61 additions & 60 deletions
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,8 @@ Tang operator-bundle are:
9090
- v1.0.3: new GA release candidate. Update all mods to latest version
9191
- v1.0.4: new GA release candidate. Adjust to naming conventions
9292
- v1.0.5: new GA release candidate. Use latest `kube-rbac-proxy` version
93-
- v1.0.6: GA release. Fix Url to URL in CRD. GA Released Version in OpenShift.
93+
- v1.0.6: GA release. Fix Url to URL in CRD. GA Released Version in OpenShift
94+
- v1.0.7: GA re-release. Fix channel ("alpha" to "stable")
9495

9596
## Installation
9697

@@ -112,23 +113,23 @@ operator-sdk installation is described in the [Links](#links) section.
112113

113114
In order to deploy the latest version of the Tang operator, check latest released
114115
version in the [Versions](#versions) section, and install the appropriate version
115-
bundle. For example, in case latest version is **1.0.6**, the command to execute
116+
bundle. For example, in case latest version is **1.0.7**, the command to execute
116117
will be:
117118

118119
```bash
119-
$ operator-sdk run bundle quay.io/sec-eng-special/tang-operator-bundle:v1.0.6
120-
INFO[0008] Successfully created registry pod: quay-io-sec-eng-special-tang-operator-bundle-v1.0.6
120+
$ operator-sdk run bundle quay.io/sec-eng-special/tang-operator-bundle:v1.0.7
121+
INFO[0008] Successfully created registry pod: quay-io-sec-eng-special-tang-operator-bundle-v1.0.7
121122
INFO[0009] Created CatalogSource: tang-operator-catalog
122123
INFO[0009] OperatorGroup "operator-sdk-og" created
123-
INFO[0009] Created Subscription: tang-operator-v1.0.6-sub
124-
INFO[0011] Approved InstallPlan install-lqf9f for the Subscription: tang-operator-v1.0.6-sub
124+
INFO[0009] Created Subscription: tang-operator-v1.0.7-sub
125+
INFO[0011] Approved InstallPlan install-lqf9f for the Subscription: tang-operator-v1.0.7-sub
125126
INFO[0011] Waiting for ClusterServiceVersion to reach 'Succeeded' phase
126-
INFO[0012] Waiting for ClusterServiceVersion "default/tang-operator.v1.0.6"
127-
INFO[0018] Found ClusterServiceVersion "default/tang-operator.v1.0.6" phase: Pending
128-
INFO[0020] Found ClusterServiceVersion "default/tang-operator.v1.0.6" phase: InstallReady
129-
INFO[0021] Found ClusterServiceVersion "default/tang-operator.v1.0.6" phase: Installing
130-
INFO[0031] Found ClusterServiceVersion "default/tang-operator.v1.0.6" phase: Succeeded
131-
INFO[0031] OLM has successfully installed "tang-operator.v1.0.6"
127+
INFO[0012] Waiting for ClusterServiceVersion "default/tang-operator.v1.0.7"
128+
INFO[0018] Found ClusterServiceVersion "default/tang-operator.v1.0.7" phase: Pending
129+
INFO[0020] Found ClusterServiceVersion "default/tang-operator.v1.0.7" phase: InstallReady
130+
INFO[0021] Found ClusterServiceVersion "default/tang-operator.v1.0.7" phase: Installing
131+
INFO[0031] Found ClusterServiceVersion "default/tang-operator.v1.0.7" phase: Succeeded
132+
INFO[0031] OLM has successfully installed "tang-operator.v1.0.7"
132133
```
133134
To install latest multi-arch image, execute:
134135
```bash
@@ -144,10 +145,10 @@ your cluster takes long time to deploy. To do so, the option **--timeout** can b
144145
used (if not used, default time is 2m, which stands for two minutes):
145146

146147
```bash
147-
$ operator-sdk run bundle --timeout 3m quay.io/sec-eng-special/tang-operator-bundle:v1.0.6
148-
INFO[0008] Successfully created registry pod: quay-io-sec-eng-special-tang-operator-bundle-v1.0.6
148+
$ operator-sdk run bundle --timeout 3m quay.io/sec-eng-special/tang-operator-bundle:v1.0.7
149+
INFO[0008] Successfully created registry pod: quay-io-sec-eng-special-tang-operator-bundle-v1.0.7
149150
...
150-
INFO[0031] OLM has successfully installed "tang-operator.v1.0.6"
151+
INFO[0031] OLM has successfully installed "tang-operator.v1.0.7"
151152
```
152153

153154
Additionally, correct Tang operator installation can be observed if an output like
@@ -157,7 +158,7 @@ the following is observed when prompting for installed pods:
157158
$ oc get pods
158159
NAME READY STATUS RESTARTS AGE
159160
dbbd1837106ec169542546e7ad251b95d27c3542eb0409c1e 0/1 Completed 0 82s
160-
quay-io-tang-operator-bundle-v1.0.6 1/1 Running 0 90s
161+
quay-io-tang-operator-bundle-v1.0.7 1/1 Running 0 90s
161162
tang-operator-controller-manager-5c9488d8dd-mgmsf 2/2 Running 0 52s
162163
```
163164

@@ -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.6**,
208+
To summarize, taking into account that the last released version is **v1.0.7**,
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.6"
212+
$ make docker-build docker-push IMG="quay.io/sec-eng-special/tang-operator:v1.0.7"
212213
...
213214
Successfully built 4a88ba8e6426
214-
Successfully tagged sec-eng-special/tang-operator:v1.0.6
215-
docker push sec-eng-special/tang-operator:v1.0.6
215+
Successfully tagged sec-eng-special/tang-operator:v1.0.7
216+
docker push sec-eng-special/tang-operator:v1.0.7
216217
The push refers to repository [quay.io/sec-eng-special/tang-operator]
217-
7910991.0.6a: Pushed
218+
7910991.0.7a: Pushed
218219
417cb9b79ade: Layer already exists
219-
v1.0.6: digest: sha256:c97bed08ab71556542602b008888bdf23ce4afd86228a07 size: 739
220+
v1.0.7: 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.6"
226+
$ make podman-build podman-push IMG="quay.io/sec-eng-special/tang-operator:v1.0.7"
226227
...
227228
Successfully built 4a88ba8e6426
228-
Successfully tagged sec-eng-special/tang-operator:v1.0.6
229-
podman push sec-eng-special/tang-operator:v1.0.6
229+
Successfully tagged sec-eng-special/tang-operator:v1.0.7
230+
podman push sec-eng-special/tang-operator:v1.0.7
230231
The push refers to repository [quay.io/sec-eng-special/tang-operator]
231-
7910991.0.6a: Pushed
232+
7910991.0.7a: Pushed
232233
417cb9b79ade: Layer already exists
233-
v1.0.6: digest: sha256:c97bed08ab71556542602b008888bdf23ce4afd86228a07 size: 739
234+
v1.0.7: digest: sha256:c97bed08ab71556542602b008888bdf23ce4afd86228a07 size: 739
234235
```
235236

236237
In case a new release is planned to be done, the steps to follow will be:
@@ -240,29 +241,29 @@ In case a new release is planned to be done, the steps to follow will be:
240241
```bash
241242
$ git diff Makefile
242243
diff --git a/Makefile b/Makefile
243-
index 9a41c6a..db12a82 1.0.64
244+
index 9a41c6a..db12a82 1.0.74
244245
--- a/Makefile
245246
+++ b/Makefile
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.6)
250-
# - use environment variables to overwrite this value (e.g export VERSION=1.0.6)
251-
-VERSION ?= 1.0.5
252-
+VERSION ?= 1.0.6
250+
# - use the VERSION as arg of the bundle target (e.g make bundle VERSION=1.0.7)
251+
# - use environment variables to overwrite this value (e.g export VERSION=1.0.7)
252+
-VERSION ?= 1.0.6
253+
+VERSION ?= 1.0.7
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.6 quay.io/sec-eng-special/tang-operator-bundle:latest
259+
$ docker tag quay.io/sec-eng-special/tang-operator-bundle:v1.0.7 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.6 quay.io/sec-eng-special/tang-operator-bundle:latest
266+
$ podman tag quay.io/sec-eng-special/tang-operator-bundle:v1.0.7 quay.io/sec-eng-special/tang-operator-bundle:latest
266267
$ podman push quay.io/sec-eng-special/tang-operator-bundle:latest
267268
```
268269

@@ -272,28 +273,28 @@ Compile Tang operator code, specifying new version,
272273
by using **make docker-build** command:
273274

274275
```bash
275-
$ make docker-build docker-push IMG="quay.io/sec-eng-special/tang-operator:v1.0.6"
276+
$ make docker-build docker-push IMG="quay.io/sec-eng-special/tang-operator:v1.0.7"
276277
...
277-
Successfully tagged sec-eng-special/tang-operator:v1.0.6
278-
docker push sec-eng-special/tang-operator:v1.0.6
278+
Successfully tagged sec-eng-special/tang-operator:v1.0.7
279+
docker push sec-eng-special/tang-operator:v1.0.7
279280
The push refers to repository [quay.io/sec-eng-special/tang-operator]
280281
9ff8a4099c67: Pushed
281282
417cb9b79ade: Layer already exists
282-
v1.0.6: digest: sha256:01620ab19faae54fb382a2ff285f589cf0bde6e168f14f07 size: 739
283+
v1.0.7: digest: sha256:01620ab19faae54fb382a2ff285f589cf0bde6e168f14f07 size: 739
283284
```
284285

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

287288
```bash
288-
$ make podman-build podman-push IMG="quay.io/sec-eng-special/tang-operator:v1.0.6"
289+
$ make podman-build podman-push IMG="quay.io/sec-eng-special/tang-operator:v1.0.7"
289290
...
290291
Successfully built 4a88ba8e6426
291-
Successfully tagged sec-eng-special/tang-operator:v1.0.6
292-
podman push sec-eng-special/tang-operator:v1.0.6
292+
Successfully tagged sec-eng-special/tang-operator:v1.0.7
293+
podman push sec-eng-special/tang-operator:v1.0.7
293294
The push refers to repository [quay.io/sec-eng-special/tang-operator]
294-
7910991.0.6a: Pushed
295+
7910991.0.7a: Pushed
295296
417cb9b79ade: Layer already exists
296-
v1.0.6: digest: sha256:c97bed08ab71556542602b008888bdf23ce4afd86228a07 size: 739
297+
v1.0.7: digest: sha256:c97bed08ab71556542602b008888bdf23ce4afd86228a07 size: 739
297298
```
298299

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

305306
```bash
306-
$ make bundle IMG="quay.io/sec-eng-special/tang-operator:v1.0.6"
307-
$ make bundle-build bundle-push BUNDLE_IMG="quay.io/sec-eng-special/tang-operator-bundle:v1.0.6"
307+
$ make bundle IMG="quay.io/sec-eng-special/tang-operator:v1.0.7"
308+
$ make bundle-build bundle-push BUNDLE_IMG="quay.io/sec-eng-special/tang-operator-bundle:v1.0.7"
308309
...
309-
docker push sec-eng-special/tang-operator-bundle:v1.0.6
310+
docker push sec-eng-special/tang-operator-bundle:v1.0.7
310311
The push refers to repository [quay.io/sec-eng-special/tang-operator-bundle]
311312
02e3768cfc56: Pushed
312313
df0c8060d328: Pushed
313314
84774958bcf4: Pushed
314-
v1.0.6: digest: sha256:925c2f844f941db2b53ce45cba9db7ee0be613321da8f0f05d size: 939
315+
v1.0.7: digest: sha256:925c2f844f941db2b53ce45cba9db7ee0be613321da8f0f05d size: 939
315316
make[1]: Leaving directory '/home/user/RedHat/TASKS/TANG_OPERATOR/tang-operator'
316317
```
317318

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

322323
```bash
323-
$ make bundle IMG="quay.io/sec-eng-special/tang-operator:v1.0.6"
324-
$ make podman-bundle-build podman-bundle-push BUNDLE_IMG="quay.io/sarroutb/tang-operator-bundle:v1.0.6"
324+
$ make bundle IMG="quay.io/sec-eng-special/tang-operator:v1.0.7"
325+
$ make podman-bundle-build podman-bundle-push BUNDLE_IMG="quay.io/sarroutb/tang-operator-bundle:v1.0.7"
325326
...
326-
podman push sec-eng-special/tang-operator-bundle:v1.0.6
327+
podman push sec-eng-special/tang-operator-bundle:v1.0.7
327328
The push refers to repository [quay.io/sec-eng-special/tang-operator-bundle]
328329
02e3768cfc56: Pushed
329330
df0c8060d328: Pushed
330331
84774958bcf4: Pushed
331-
v1.0.6: digest: sha256:925c2f844f941db2b53ce45cba9db7ee0be613321da8f0f05d size: 939
332+
v1.0.7: digest: sha256:925c2f844f941db2b53ce45cba9db7ee0be613321da8f0f05d size: 939
332333
make[1]: Leaving directory '/home/user/RedHat/TASKS/TANG_OPERATOR/tang-operator'
333334
```
334335

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

370371
```bash
371-
$ GOARCH=ppc64le make docker-build docker-push IMG="quay.io/sec-eng-special/tang-operator:v1.0.6"
372+
$ GOARCH=ppc64le make docker-build docker-push IMG="quay.io/sec-eng-special/tang-operator:v1.0.7"
372373
...
373374
Successfully built 4a88ba8e6426
374-
Successfully tagged sec-eng-special/tang-operator:v1.0.6
375-
docker push sec-eng-special/tang-operator:v1.0.6
375+
Successfully tagged sec-eng-special/tang-operator:v1.0.7
376+
docker push sec-eng-special/tang-operator:v1.0.7
376377
The push refers to repository [quay.io/sec-eng-special/tang-operator]
377-
7910991.0.6a: Pushed
378+
7910991.0.7a: Pushed
378379
417cb9b79ade: Layer already exists
379-
v1.0.6: digest: sha256:c97bed08ab71556542602b008888bdf23ce4afd86228a07 size: 739
380+
v1.0.7: digest: sha256:c97bed08ab71556542602b008888bdf23ce4afd86228a07 size: 739
380381
```
381382

382383
## Cleanup
@@ -386,9 +387,9 @@ recommended way:
386387

387388
```bash
388389
$ operator-sdk cleanup tang-operator
389-
INFO[0001] subscription "tang-operator-v1.0.6-sub" deleted
390+
INFO[0001] subscription "tang-operator-v1.0.7-sub" deleted
390391
INFO[0001] customresourcedefinition "tangservers.daemons.redhat.com" deleted
391-
INFO[0002] clusterserviceversion "tang-operator.v1.0.6" deleted
392+
INFO[0002] clusterserviceversion "tang-operator.v1.0.7" deleted
392393
INFO[0002] catalogsource "tang-operator-catalog" deleted
393394
INFO[0002] operatorgroup "operator-sdk-og" deleted
394395
INFO[0002] Operator "tang-operator" uninstalled
@@ -465,11 +466,11 @@ NOTE: CI/CD is in a continuous "work in progress" state
465466

466467
## Scorecard
467468

468-
Execution of operator-sdk scorecard tests are passing completely in version v1.0.6.
469+
Execution of operator-sdk scorecard tests are passing completely in version v1.0.7.
469470
In order to execute these tests, run next command:
470471

471472
```bash
472-
$ operator-sdk scorecard -w 60s quay.io/sec-eng-special/tang-operator-bundle:v1.0.6
473+
$ operator-sdk scorecard -w 60s quay.io/sec-eng-special/tang-operator-bundle:v1.0.7
473474
...
474475
Results:
475476
Name: olm-status-descriptors

bundle.Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ LABEL operators.operatorframework.io.bundle.manifests.v1=manifests/
66
LABEL operators.operatorframework.io.bundle.metadata.v1=metadata/
77
LABEL operators.operatorframework.io.bundle.package.v1=tang-operator
88
LABEL operators.operatorframework.io.bundle.channels.v1=stable
9-
LABEL operators.operatorframework.io.metrics.builder=operator-sdk-v1.32.0
9+
LABEL operators.operatorframework.io.metrics.builder=operator-sdk-v1.33.0
1010
LABEL operators.operatorframework.io.metrics.mediatype.v1=metrics+v1
1111
LABEL operators.operatorframework.io.metrics.project_layout=go.kubebuilder.io/v3
1212

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: "2023-11-02T10:48:05Z"
29-
operators.operatorframework.io/builder: operator-sdk-v1.32.0
28+
createdAt: "2024-01-09T09:15:11Z"
29+
operators.operatorframework.io/builder: operator-sdk-v1.33.0
3030
operators.operatorframework.io/project_layout: go.kubebuilder.io/v3
31-
name: tang-operator.v1.0.6
31+
name: tang-operator.v1.0.7
3232
namespace: placeholder
3333
spec:
3434
apiservicedefinitions: {}
@@ -322,7 +322,7 @@ spec:
322322
- --leader-elect
323323
command:
324324
- /manager
325-
image: quay.io/sec-eng-special/tang-operator:v1.0.6
325+
image: quay.io/sec-eng-special/tang-operator:v1.0.7
326326
livenessProbe:
327327
httpGet:
328328
path: /healthz
@@ -405,4 +405,4 @@ spec:
405405
maturity: alpha
406406
provider:
407407
name: Red Hat
408-
version: 1.0.6
408+
version: 1.0.7

bundle/metadata/annotations.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ annotations:
55
operators.operatorframework.io.bundle.metadata.v1: metadata/
66
operators.operatorframework.io.bundle.package.v1: tang-operator
77
operators.operatorframework.io.bundle.channels.v1: stable
8-
operators.operatorframework.io.metrics.builder: operator-sdk-v1.32.0
8+
operators.operatorframework.io.metrics.builder: operator-sdk-v1.33.0
99
operators.operatorframework.io.metrics.mediatype.v1: metrics+v1
1010
operators.operatorframework.io.metrics.project_layout: go.kubebuilder.io/v3
1111

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.6
16+
newTag: v1.0.7

0 commit comments

Comments
 (0)