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

Commit 6e594f2

Browse files
authored
Release 1.0.3 version (GA candidate) (#192)
Resolves: #191 Signed-off-by: Sergio Arroutbi <sarroutb@redhat.com>
1 parent 2ccb345 commit 6e594f2

File tree

4 files changed

+47
-46
lines changed

4 files changed

+47
-46
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.2
6+
VERSION ?= 1.0.3
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: 41 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,7 @@ Tang operator-bundle are:
8585
- v1.0.0: GA release candidate
8686
- v1.0.1: new GA release candidate. Update Go version (1.16->1.21) and dependencies
8787
- 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
8889

8990
## Installation
9091

@@ -106,23 +107,23 @@ operator-sdk installation is described in the [Links](#links) section.
106107

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

112113
```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
115116
INFO[0009] Created CatalogSource: tang-operator-catalog
116117
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
119120
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"
126127
```
127128
To install latest multi-arch image, execute:
128129
```bash
@@ -138,10 +139,10 @@ your cluster takes long time to deploy. To do so, the option **--timeout** can b
138139
used (if not used, default time is 2m, which stands for two minutes):
139140

140141
```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
143144
...
144-
INFO[0031] OLM has successfully installed "tang-operator.v1.0.2"
145+
INFO[0031] OLM has successfully installed "tang-operator.v1.0.3"
145146
```
146147

147148
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:
151152
$ oc get pods
152153
NAME READY STATUS RESTARTS AGE
153154
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
155156
tang-operator-controller-manager-5c9488d8dd-mgmsf 2/2 Running 0 52s
156157
```
157158

@@ -198,19 +199,19 @@ to be released, it is recommended to increase version appropriately.
198199
In this case, same version is used. Last released version can be observed in
199200
[Versions](#versions) section.
200201

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

204205
```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"
206207
...
207208
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
210211
The push refers to repository [quay.io/sec-eng-special/tang-operator]
211212
79109912085a: Pushed
212213
417cb9b79ade: Layer already exists
213-
v1.0.2: digest: sha256:c97bed08ab71556542602b008888bdf23ce4afd86228a07 size: 739
214+
v1.0.3: digest: sha256:c97bed08ab71556542602b008888bdf23ce4afd86228a07 size: 739
214215
```
215216

216217
In case a new release is planned to be done, the steps to follow will be:
@@ -226,15 +227,15 @@ index 9a41c6a..db12a82 100644
226227
@@ -3,7 +3,7 @@
227228
# To re-generate a bundle for another specific version without changing the
228229
# 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)
231232
-VERSION ?= 0.0.27
232-
+VERSION ?= 1.0.2
233+
+VERSION ?= 1.0.3
233234
```
234235

235236
Apart from previous changes, it is recommended to generate a "latest" tag for tang-operator bundle:
236237
```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
238239
$ docker push quay.io/sec-eng-special/tang-operator-bundle:latest
239240
```
240241

@@ -244,14 +245,14 @@ Compile Tang operator code, specifying new version,
244245
by using **make docker-build** command:
245246

246247
```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"
248249
...
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
251252
The push refers to repository [quay.io/sec-eng-special/tang-operator]
252253
9ff8a4099c67: Pushed
253254
417cb9b79ade: Layer already exists
254-
v1.0.2: digest: sha256:01620ab19faae54fb382a2ff285f589cf0bde6e168f14f07 size: 739
255+
v1.0.3: digest: sha256:01620ab19faae54fb382a2ff285f589cf0bde6e168f14f07 size: 739
255256
```
256257

257258
- <ins>Bundle push</ins>:
@@ -261,15 +262,15 @@ the bundle with **make bundle**, specifying appropriate image,
261262
and push it with **make bundle-build bundle-push**:
262263

263264
```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"
266267
...
267-
docker push sec-eng-special/tang-operator-bundle:v1.0.2
268+
docker push sec-eng-special/tang-operator-bundle:v1.0.3
268269
The push refers to repository [quay.io/sec-eng-special/tang-operator-bundle]
269270
02e3768cfc56: Pushed
270271
df0c8060d328: Pushed
271272
84774958bcf4: Pushed
272-
v1.0.2: digest: sha256:925c2f844f941db2b53ce45cba9db7ee0be613321da8f0f05d size: 939
273+
v1.0.3: digest: sha256:925c2f844f941db2b53ce45cba9db7ee0be613321da8f0f05d size: 939
273274
make[1]: Leaving directory '/home/user/RedHat/TASKS/TANG_OPERATOR/tang-operator'
274275
```
275276

@@ -309,15 +310,15 @@ In order to cross compile tang-operator, prepend **GOARCH** with required archit
309310
**make docker-build**:
310311

311312
```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"
313314
...
314315
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
317318
The push refers to repository [quay.io/sec-eng-special/tang-operator]
318319
79109912085a: Pushed
319320
417cb9b79ade: Layer already exists
320-
v1.0.2: digest: sha256:c97bed08ab71556542602b008888bdf23ce4afd86228a07 size: 739
321+
v1.0.3: digest: sha256:c97bed08ab71556542602b008888bdf23ce4afd86228a07 size: 739
321322
```
322323

323324
## Cleanup
@@ -327,9 +328,9 @@ recommended way:
327328

328329
```bash
329330
$ 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
331332
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
333334
INFO[0002] catalogsource "tang-operator-catalog" deleted
334335
INFO[0002] operatorgroup "operator-sdk-og" deleted
335336
INFO[0002] Operator "tang-operator" uninstalled
@@ -400,11 +401,11 @@ NOTE: CI/CD is in a continuous "work in progress" state
400401

401402
## Scorecard
402403

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.
404405
In order to execute these tests, run next command:
405406

406407
```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
408409
...
409410
Results:
410411
Name: olm-status-descriptors

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: "2023-10-20T11:58:09Z"
28+
createdAt: "2023-10-20T14:06:30Z"
2929
operators.operatorframework.io/builder: operator-sdk-v1.32.0
3030
operators.operatorframework.io/project_layout: go.kubebuilder.io/v3
31-
name: tang-operator.v1.0.2
31+
name: tang-operator.v1.0.3
3232
namespace: placeholder
3333
spec:
3434
apiservicedefinitions: {}
@@ -321,7 +321,7 @@ spec:
321321
- --leader-elect
322322
command:
323323
- /manager
324-
image: quay.io/sec-eng-special/tang-operator:v1.0.2
324+
image: quay.io/sec-eng-special/tang-operator:v1.0.3
325325
livenessProbe:
326326
httpGet:
327327
path: /healthz
@@ -404,4 +404,4 @@ spec:
404404
maturity: alpha
405405
provider:
406406
name: Red Hat
407-
version: 1.0.2
407+
version: 1.0.3

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.2
16+
newTag: v1.0.3

0 commit comments

Comments
 (0)