Skip to content

Commit

Permalink
chore: Upgrade helm to v2.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
flemzord committed Oct 25, 2024
1 parent 8278777 commit b607d71
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 14 deletions.
2 changes: 1 addition & 1 deletion Earthfile
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ helm-update:

RUN rm -f helm/operator/templates/gen/v1_namespace*.yaml
RUN rm -f helm/operator/templates/gen/apps_v1_deployment_*.yaml
ARG VERSION="v2.0.19"
ARG VERSION="v2.1.0"
FOR dir IN $(ls -d helm/*/)
RUN yq -i ".version=\"${VERSION}\"" ${dir}Chart.yaml
RUN yq -i ".appVersion=\"${VERSION}\"" ${dir}Chart.yaml
Expand Down
10 changes: 5 additions & 5 deletions docs/02-Installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ To install the Formance Operator CRDs, you can use the following command:

```bash
helm upgrade --install operator-crds oci://ghcr.io/formancehq/helm/operator-crds \
--version v2.0.19 \
--version v2.1.0 \
--namespace formance-system \
--create-namespace
```
Expand All @@ -28,13 +28,13 @@ As noticed above, the version will always be the same as the operator version. C

### Operator Deployment

From version v2.0.19, CRDs are now packaged with `helm.sh/resource-policy: keep` to avoid deletion of the CRDs when the operator is uninstalled.
From version v2.1.0, CRDs are now packaged with `helm.sh/resource-policy: keep` to avoid deletion of the CRDs when the operator is uninstalled.

You can deploy Formance Operator using Helm:

```bash
helm upgrade --install regions oci://ghcr.io/formancehq/helm/regions \
--version v2.0.19 \
--version v2.1.0 \
--namespace formance-system \
--create-namespace \
--set operator.operator-crds.create=false
Expand Down Expand Up @@ -86,7 +86,7 @@ Then you will be able to disable `operator-crds.create: false` and install the o

```bash
helm upgrade --install regions oci://ghcr.io/formancehq/helm/regions \
--version v2.0.19 \
--version v2.1.0 \
--namespace $NAMESPACE \
--create-namespace \
--set operator.operator-crds.create=false
Expand All @@ -97,7 +97,7 @@ helm upgrade --install regions oci://ghcr.io/formancehq/helm/regions \

```bash
helm upgrade --install $RELEASE_NAME oci://ghcr.io/formancehq/helm/operator-crds \
--version v2.0.19 \
--version v2.1.0 \
--namespace $NAMESPACE \
--create-namespace
```
4 changes: 2 additions & 2 deletions helm/crds/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: v2.0.19
version: v2.1.0
# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
# follow Semantic Versioning. They should reflect the version the application is using.
# It is recommended to use it with quotes.
appVersion: v2.0.19
appVersion: v2.1.0
6 changes: 3 additions & 3 deletions helm/operator/Chart.lock
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
dependencies:
- name: operator-crds
repository: file://../crds
version: v2.0.19
digest: sha256:e7b2a39869bf5eadbb10d33c86189d614287df7c4ac851e7f02f956ab50561ba
generated: "2024-10-11T14:26:27.064195792Z"
version: v2.1.0
digest: sha256:12796a363ba25b92152d28d48e57fd2db7670f2cb926b16c6e6e1acaca9a6637
generated: "2024-10-25T12:03:44.690553946Z"
6 changes: 3 additions & 3 deletions helm/operator/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,14 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: "v2.0.19"
version: "v2.1.0"
# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
# follow Semantic Versioning. They should reflect the version the application is using.
# It is recommended to use it with quotes.
appVersion: v2.0.19
appVersion: v2.1.0
dependencies:
- name: operator-crds
version: v2.0.19
version: v2.1.0
repository: "file://../crds"
condition: operator-crds.create

0 comments on commit b607d71

Please sign in to comment.