Prepare 1.3.0 release

Also point out how to create the dockerhub.yaml file,
	update other release related instructions.

	closes: #97
This commit is contained in:
Daniel Holbach
2020-02-25 10:42:43 +01:00
parent b337c9d6be
commit 43737e35d5
3 changed files with 23 additions and 9 deletions

View File

@@ -77,10 +77,25 @@ real life testing.
## Publishing a new kured release
This is the most straight-forward in the whole process.
Check that `README.md` has an updated compatibility matrix and that the
url in the `kubectl` incantation (under "Installation") is updated to the
new version you want to release.
Picking a suitable tag and creating the release through the Github UI should
release the image just fine.
Now create the `kured-<release>-dockerhub.yaml` for e.g. `1.3.0`:
```sh
VERSION=1.3.0
MANIFEST="kured-$VERSION-dockerhub.yaml"
cat kured-rbac.yaml > "$MANIFEST"
cat kured-ds.yaml >> "$MANIFEST"
sed -i "s#docker.io/weaveworks/kured#docker.io/weaveworks/kured:$VERSION#g" "$MANIFEST"
```
The last thing you need to do is update the `image:` to point to the release
tag, e.g. `docker.io/weaveworks/kured:1.3.0`.
Now you can head to the Github UI, use the version number as tag and upload the
`kured-<release>-dockerhub.yaml` file.
### Release notes
@@ -88,4 +103,4 @@ Please describe what's new and noteworthy in the release notes, list the PRs
that landed and give a shout-out to everyone who contributed.
Please also note down on which releases the upcoming `kured` release was
tested on.
tested on. (Check old release notes if you're unsure.)

View File

@@ -60,7 +60,7 @@ To obtain a default installation without Prometheus alerting interlock
or Slack notifications:
```
kubectl apply -f https://github.com/weaveworks/kured/releases/download/1.2.0/kured-1.2.0-dockerhub.yaml
kubectl apply -f https://github.com/weaveworks/kured/releases/download/1.3.0/kured-1.3.0-dockerhub.yaml
```
If you want to customise the installation, download the manifest and

View File

@@ -29,10 +29,9 @@ spec:
restartPolicy: Always
containers:
- name: kured
image: docker.io/weaveworks/kured # If you find yourself here
# wondering why there is no
# :latest tag on Docker Hub,
# see the FAQ in the README
image: docker.io/weaveworks/kured
# If you find yourself here wondering why there is no
# :latest tag on Docker Hub,see the FAQ in the README
imagePullPolicy: IfNotPresent
securityContext:
privileged: true # Give permission to nsenter /proc/1/ns/mnt