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

Commit ec1eb2b

Browse files
authored
Release 1.0.5 version (GA candidate) (#199)
Resolves: #198 Signed-off-by: Sergio Arroutbi <sarroutb@redhat.com>
1 parent d3eaa5d commit ec1eb2b

File tree

4 files changed

+48
-47
lines changed

4 files changed

+48
-47
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.4
6+
VERSION ?= 1.0.5
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: 42 additions & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,7 @@ Tang operator-bundle are:
8787
- v1.0.2: new GA release candidate. Fix CVE-2023-39325
8888
- v1.0.3: new GA release candidate. Update all mods to latest version
8989
- v1.0.4: new GA release candidate. Adjust to naming conventions
90+
- v1.0.5: new GA release candidate. Use latest `kube-rbac-proxy` version
9091

9192
## Installation
9293

@@ -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 Tang 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.4**, the command to execute
112+
bundle. For example, in case latest version is **1.0.5**, 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.4 --index-image=quay.io/operator-framework/opm:v1.23.0
116-
INFO[0008] Successfully created registry pod: quay-io-sec-eng-special-tang-operator-bundle-v1.0.4
116+
$ operator-sdk run bundle quay.io/sec-eng-special/tang-operator-bundle:v1.0.5 --index-image=quay.io/operator-framework/opm:v1.23.0
117+
INFO[0008] Successfully created registry pod: quay-io-sec-eng-special-tang-operator-bundle-v1.0.5
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.4-sub
120-
INFO[0011] Approved InstallPlan install-lqf9f for the Subscription: tang-operator-v1.0.4-sub
120+
INFO[0009] Created Subscription: tang-operator-v1.0.5-sub
121+
INFO[0011] Approved InstallPlan install-lqf9f for the Subscription: tang-operator-v1.0.5-sub
121122
INFO[0011] Waiting for ClusterServiceVersion to reach 'Succeeded' phase
122-
INFO[0012] Waiting for ClusterServiceVersion "default/tang-operator.v1.0.4"
123-
INFO[0018] Found ClusterServiceVersion "default/tang-operator.v1.0.4" phase: Pending
124-
INFO[0020] Found ClusterServiceVersion "default/tang-operator.v1.0.4" phase: InstallReady
125-
INFO[0021] Found ClusterServiceVersion "default/tang-operator.v1.0.4" phase: Installing
126-
INFO[0031] Found ClusterServiceVersion "default/tang-operator.v1.0.4" phase: Succeeded
127-
INFO[0031] OLM has successfully installed "tang-operator.v1.0.4"
123+
INFO[0012] Waiting for ClusterServiceVersion "default/tang-operator.v1.0.5"
124+
INFO[0018] Found ClusterServiceVersion "default/tang-operator.v1.0.5" phase: Pending
125+
INFO[0020] Found ClusterServiceVersion "default/tang-operator.v1.0.5" phase: InstallReady
126+
INFO[0021] Found ClusterServiceVersion "default/tang-operator.v1.0.5" phase: Installing
127+
INFO[0031] Found ClusterServiceVersion "default/tang-operator.v1.0.5" phase: Succeeded
128+
INFO[0031] OLM has successfully installed "tang-operator.v1.0.5"
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.4 --index-image=quay.io/operator-framework/opm:v1.23.0
144-
INFO[0008] Successfully created registry pod: quay-io-sec-eng-special-tang-operator-bundle-v1.0.4
144+
$ operator-sdk run bundle --timeout 3m quay.io/sec-eng-special/tang-operator-bundle:v1.0.5 --index-image=quay.io/operator-framework/opm:v1.23.0
145+
INFO[0008] Successfully created registry pod: quay-io-sec-eng-special-tang-operator-bundle-v1.0.5
145146
...
146-
INFO[0031] OLM has successfully installed "tang-operator.v1.0.4"
147+
INFO[0031] OLM has successfully installed "tang-operator.v1.0.5"
147148
```
148149

149150
Additionally, correct Tang operator 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.4 1/1 Running 0 90s
157+
quay-io-tang-operator-bundle-v1.0.5 1/1 Running 0 90s
157158
tang-operator-controller-manager-5c9488d8dd-mgmsf 2/2 Running 0 52s
158159
```
159160

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

203-
To summarize, taking into account that the last released version is **v1.0.4**,
204+
To summarize, taking into account that the last released version is **v1.0.5**,
204205
compilation can be done with next command:
205206

206207
```bash
207-
$ make docker-build docker-push IMG="quay.io/sec-eng-special/tang-operator:v1.0.4"
208+
$ make docker-build docker-push IMG="quay.io/sec-eng-special/tang-operator:v1.0.5"
208209
...
209210
Successfully built 4a88ba8e6426
210-
Successfully tagged sec-eng-special/tang-operator:v1.0.4
211-
docker push sec-eng-special/tang-operator:v1.0.4
211+
Successfully tagged sec-eng-special/tang-operator:v1.0.5
212+
docker push sec-eng-special/tang-operator:v1.0.5
212213
The push refers to repository [quay.io/sec-eng-special/tang-operator]
213214
79109912085a: Pushed
214215
417cb9b79ade: Layer already exists
215-
v1.0.4: digest: sha256:c97bed08ab71556542602b008888bdf23ce4afd86228a07 size: 739
216+
v1.0.5: digest: sha256:c97bed08ab71556542602b008888bdf23ce4afd86228a07 size: 739
216217
```
217218

218219
In case a new release is planned to be done, the steps to follow will be:
@@ -222,21 +223,21 @@ In case a new release is planned to be done, the steps to follow will be:
222223
```bash
223224
$ git diff Makefile
224225
diff --git a/Makefile b/Makefile
225-
index 9a41c6a..db12a82 100644
226+
index 9a41c6a..db12a82 1.0.54
226227
--- a/Makefile
227228
+++ b/Makefile
228229
@@ -3,7 +3,7 @@
229230
# To re-generate a bundle for another specific version without changing the
230231
# standard setup, you can:
231-
# - use the VERSION as arg of the bundle target (e.g make bundle VERSION=1.0.4)
232-
# - use environment variables to overwrite this value (e.g export VERSION=1.0.4)
232+
# - use the VERSION as arg of the bundle target (e.g make bundle VERSION=1.0.5)
233+
# - use environment variables to overwrite this value (e.g export VERSION=1.0.5)
233234
-VERSION ?= 0.0.27
234-
+VERSION ?= 1.0.4
235+
+VERSION ?= 1.0.5
235236
```
236237

237238
Apart from previous changes, it is recommended to generate a "latest" tag for tang-operator bundle:
238239
```bash
239-
$ docker tag quay.io/sec-eng-special/tang-operator-bundle:v1.0.4 quay.io/sec-eng-special/tang-operator-bundle:latest
240+
$ docker tag quay.io/sec-eng-special/tang-operator-bundle:v1.0.5 quay.io/sec-eng-special/tang-operator-bundle:latest
240241
$ docker push quay.io/sec-eng-special/tang-operator-bundle:latest
241242
```
242243

@@ -246,14 +247,14 @@ Compile Tang operator code, specifying new version,
246247
by using **make docker-build** command:
247248

248249
```bash
249-
$ make docker-build docker-push IMG="quay.io/sec-eng-special/tang-operator:v1.0.4"
250+
$ make docker-build docker-push IMG="quay.io/sec-eng-special/tang-operator:v1.0.5"
250251
...
251-
Successfully tagged sec-eng-special/tang-operator:v1.0.4
252-
docker push sec-eng-special/tang-operator:v1.0.4
252+
Successfully tagged sec-eng-special/tang-operator:v1.0.5
253+
docker push sec-eng-special/tang-operator:v1.0.5
253254
The push refers to repository [quay.io/sec-eng-special/tang-operator]
254255
9ff8a4099c67: Pushed
255256
417cb9b79ade: Layer already exists
256-
v1.0.4: digest: sha256:01620ab19faae54fb382a2ff285f589cf0bde6e168f14f07 size: 739
257+
v1.0.5: digest: sha256:01620ab19faae54fb382a2ff285f589cf0bde6e168f14f07 size: 739
257258
```
258259

259260
- <ins>Bundle push</ins>:
@@ -263,15 +264,15 @@ the bundle with **make bundle**, specifying appropriate image,
263264
and push it with **make bundle-build bundle-push**:
264265

265266
```bash
266-
$ make bundle IMG="quay.io/sec-eng-special/tang-operator:v1.0.4"
267-
$ make bundle-build bundle-push BUNDLE_IMG="quay.io/sec-eng-special/tang-operator-bundle:v1.0.4"
267+
$ make bundle IMG="quay.io/sec-eng-special/tang-operator:v1.0.5"
268+
$ make bundle-build bundle-push BUNDLE_IMG="quay.io/sec-eng-special/tang-operator-bundle:v1.0.5"
268269
...
269-
docker push sec-eng-special/tang-operator-bundle:v1.0.4
270+
docker push sec-eng-special/tang-operator-bundle:v1.0.5
270271
The push refers to repository [quay.io/sec-eng-special/tang-operator-bundle]
271272
02e3768cfc56: Pushed
272273
df0c8060d328: Pushed
273274
84774958bcf4: Pushed
274-
v1.0.4: digest: sha256:925c2f844f941db2b53ce45cba9db7ee0be613321da8f0f05d size: 939
275+
v1.0.5: digest: sha256:925c2f844f941db2b53ce45cba9db7ee0be613321da8f0f05d size: 939
275276
make[1]: Leaving directory '/home/user/RedHat/TASKS/TANG_OPERATOR/tang-operator'
276277
```
277278

@@ -311,15 +312,15 @@ In order to cross compile tang-operator, prepend **GOARCH** with required archit
311312
**make docker-build**:
312313

313314
```bash
314-
$ GOARCH=ppc64le make docker-build docker-push IMG="quay.io/sec-eng-special/tang-operator:v1.0.4"
315+
$ GOARCH=ppc64le make docker-build docker-push IMG="quay.io/sec-eng-special/tang-operator:v1.0.5"
315316
...
316317
Successfully built 4a88ba8e6426
317-
Successfully tagged sec-eng-special/tang-operator:v1.0.4
318-
docker push sec-eng-special/tang-operator:v1.0.4
318+
Successfully tagged sec-eng-special/tang-operator:v1.0.5
319+
docker push sec-eng-special/tang-operator:v1.0.5
319320
The push refers to repository [quay.io/sec-eng-special/tang-operator]
320321
79109912085a: Pushed
321322
417cb9b79ade: Layer already exists
322-
v1.0.4: digest: sha256:c97bed08ab71556542602b008888bdf23ce4afd86228a07 size: 739
323+
v1.0.5: digest: sha256:c97bed08ab71556542602b008888bdf23ce4afd86228a07 size: 739
323324
```
324325

325326
## Cleanup
@@ -329,9 +330,9 @@ recommended way:
329330

330331
```bash
331332
$ operator-sdk cleanup tang-operator
332-
INFO[0001] subscription "tang-operator-v1.0.4-sub" deleted
333+
INFO[0001] subscription "tang-operator-v1.0.5-sub" deleted
333334
INFO[0001] customresourcedefinition "tangservers.daemons.redhat.com" deleted
334-
INFO[0002] clusterserviceversion "tang-operator.v1.0.4" deleted
335+
INFO[0002] clusterserviceversion "tang-operator.v1.0.5" deleted
335336
INFO[0002] catalogsource "tang-operator-catalog" deleted
336337
INFO[0002] operatorgroup "operator-sdk-og" deleted
337338
INFO[0002] Operator "tang-operator" uninstalled
@@ -402,11 +403,11 @@ NOTE: CI/CD is in a continuous "work in progress" state
402403

403404
## Scorecard
404405

405-
Execution of operator-sdk scorecard tests are passing completely in version v1.0.4.
406+
Execution of operator-sdk scorecard tests are passing completely in version v1.0.5.
406407
In order to execute these tests, run next command:
407408

408409
```bash
409-
$ operator-sdk scorecard -w 60s quay.io/sec-eng-special/tang-operator-bundle:v1.0.4
410+
$ operator-sdk scorecard -w 60s quay.io/sec-eng-special/tang-operator-bundle:v1.0.5
410411
...
411412
Results:
412413
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-20T19:27:44Z"
28+
createdAt: "2023-10-24T11:10:24Z"
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.4
31+
name: tang-operator.v1.0.5
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.4
325+
image: quay.io/sec-eng-special/tang-operator:v1.0.5
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.4
408+
version: 1.0.5

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.4
16+
newTag: v1.0.5

0 commit comments

Comments
 (0)