Skip to content

Commit

Permalink
Merge pull request #167 from topolvm/maintenance-policy-go
Browse files Browse the repository at this point in the history
update a note descibing how to maintain go version
  • Loading branch information
peng225 committed Jan 12, 2023
2 parents e6c6b17 + 9223280 commit e45cbfb
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions docs/maintenance.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,15 @@ $ go get sigs.k8s.io/controller-runtime@v${VERSION}

Read the [`controller-tools`'s release note](https://github.com/kubernetes-sigs/controller-tools/releases), and update to the newest version that is compatible with all supported kubernetes versions. If there are breaking changes, we should decide how to manage these changes. To change the version, edit `Makefile`.

#### Go

Choose the same version of Go [used by the latest Kubernetes](https://github.com/kubernetes/kubernetes/blob/master/go.mod) supported by pvc-autoresizer.

Edit the following files.

- go.mod
- Dockerfile

#### Depending tools

The following tools do not depend on other software, use latest versions.
Expand Down Expand Up @@ -77,10 +86,6 @@ Then, please tidy up the dependencies.
$ go mod tidy
```

#### Golang version

Update golang if necessary.

#### Final check

`git grep <the kubernetes version which support will be dropped>`, `git grep image:`, and `git grep -i VERSION` might help to avoid overlooking necessary changes.

0 comments on commit e45cbfb

Please sign in to comment.