mirror of
https://github.com/kubereboot/kured.git
synced 2026-05-06 00:17:24 +00:00
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:
@@ -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.)
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user