Skip to content
This repository was archived by the owner on Dec 19, 2023. It is now read-only.

Commit c947cf7

Browse files
authored
Use submodule to update chart to 1.12.43 (#20)
* Add charts submodule, pinned at tag: sysdig-1.12.43 * Update build/deploy resources to 1.12.43 * Add steps for updating chart submodule
1 parent 2298c18 commit c947cf7

File tree

7 files changed

+22
-6
lines changed

7 files changed

+22
-6
lines changed

.gitmodules

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
[submodule "charts"]
2+
path = charts
3+
url = https://github.com/sysdiglabs/charts

Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,5 @@ COPY LICENSE /licenses/
1010

1111
ENV HOME=/opt/helm
1212
COPY watches.yaml ${HOME}/watches.yaml
13-
COPY helm-charts ${HOME}/helm-charts
13+
COPY charts/charts/sysdig ${HOME}/helm-charts/sysdig
1414
WORKDIR ${HOME}

Makefile

+1-1
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.12.40
6+
VERSION ?= 1.12.43
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

+12
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,18 @@ spec:
1515
<Helm values>
1616
```
1717
18+
# Updates
19+
20+
There are two parts that can be updated: the operator image and the bundle. Ideally, these two parts would be in sync.
21+
22+
To manually perform a chart update:
23+
```
24+
cd charts
25+
git checkout tags/sysdig-<version>
26+
```
27+
28+
and commit changes. Update the `VERSION` in the Makefile to the checked out chart version, and build the operator and bundle.
29+
1830
# Building
1931

2032
## Operator

bundle/manifests/sysdig-operator.clusterserviceversion.yaml

+3-3
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ metadata:
3636
operators.operatorframework.io/project_layout: helm.sdk.operatorframework.io/v1
3737
repository: https://github.com/sysdiglabs/sysdig-operator
3838
support: Sysdig, Inc.
39-
name: sysdig-operator.v1.12.40
39+
name: sysdig-operator.v1.12.43
4040
namespace: placeholder
4141
spec:
4242
apiservicedefinitions: {}
@@ -337,7 +337,7 @@ spec:
337337
- --metrics-bind-address=127.0.0.1:8080
338338
- --leader-elect
339339
- --leader-election-id=sysdig-operator
340-
image: registry.connect.redhat.com/sysdig/sysdig-operator:1.12.40
340+
image: registry.connect.redhat.com/sysdig/sysdig-operator:1.12.43
341341
livenessProbe:
342342
httpGet:
343343
path: /healthz
@@ -436,4 +436,4 @@ spec:
436436
provider:
437437
name: Sysdig
438438
url: https://sysdig.com
439-
version: 1.12.40
439+
version: 1.12.43

charts

Submodule charts added at 99ae9d5

config/manager/kustomization.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@ kind: Kustomization
1313
images:
1414
- name: controller
1515
newName: registry.connect.redhat.com/sysdig/sysdig-operator
16-
newTag: 1.12.40
16+
newTag: 1.12.43

0 commit comments

Comments
 (0)