Skip to content

Commit

Permalink
Merge branch 'main' into upgrade-db-operator-to-v1.15.0
Browse files Browse the repository at this point in the history
  • Loading branch information
allanger authored Oct 4, 2023
2 parents d933318 + 126af30 commit e244f8e
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 2 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,16 @@ jobs:
- name: Set up chart-testing
uses: helm/[email protected]

- name: Run chart-testing (list-changed)
id: list-changed
run: |
changed=$(ct list-changed --chart-dirs helm --target-branch ${{ github.event.repository.default_branch }})
if [[ -n "$changed" ]]; then
echo "changed=true" >> "$GITHUB_OUTPUT"
fi
- name: Run chart-testing (lint)
if: steps.list-changed.outputs.changed == 'true'
run: ct lint --validate-maintainers=false --target-branch main

test-values:
Expand Down
19 changes: 17 additions & 2 deletions charts/db-operator/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,22 @@ If you use webhooks, you also might need to have cert-manager

## Upgrading

If there is an breaking change, or something that might make the upgrade complcated, it should be decsribed here
If there is an breaking change, or something that might make the upgrade complicated, it should be described here

<details>
<summary>To `v1.11.0`</summary>
Additional selectors were added to the default templates in an attempt to follow the same labelling scheme everywhere, but since selectors are immutable, the upgrade will require removing of the db-operator deployment.

```bash
$ kubectl get deploy
NAME READY UP-TO-DATE AVAILABLE AGE
db-operator 1/1 1 1 22s
$ kubectl delete deploy db-operator
deployment.apps "db-operator" deleted
$ helm upgrade db-operator db-operator/db-operator --version 1.11.0
```

</details>

<details>
<summary>To `v1.10.0`</summary>
Expand All @@ -128,4 +143,4 @@ metadata:
"meta.helm.sh/release-name": my-release
"meta.helm.sh/release-namespace": default
```
</details>
</details>

0 comments on commit e244f8e

Please sign in to comment.