Skip to content
This repository was archived by the owner on Sep 18, 2020. It is now read-only.

Commit 90e8e7f

Browse files
laghoulesdemos
authored andcommitted
Changes to documentation for the new examples tree
1 parent d744323 commit 90e8e7f

File tree

4 files changed

+9
-11
lines changed

4 files changed

+9
-11
lines changed

README.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,7 @@ To start/stop a service, run `systemctl start <name>` or `systemctl stop <name>`
3939
Create the `update-operator` deployment and `update-agent` daemonset.
4040

4141
```
42-
kubectl create -f examples/update-operator.yaml
43-
kubectl create -f examples/update-agent.yaml
42+
kubectl apply -f examples/deploy -R
4443
```
4544

4645
## Test

build/bump-release

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,10 +31,10 @@ NEXT_VERSION=$(echo "${VERSION}" | awk -F. '{print $1"."$2+1".0"}') #x.y.z
3131

3232
echo "${VERSION}" > VERSION
3333
git add VERSION
34-
envsubst '${VERSION}' < examples/update-operator.yaml.tmpl > examples/update-operator.yaml
35-
envsubst '${VERSION}' < examples/update-agent.yaml.tmpl > examples/update-agent.yaml
36-
git add examples/update-operator.yaml
37-
git add examples/update-agent.yaml
34+
envsubst '${VERSION}' < examples/deploy/update-operator.yaml.tmpl > examples/deploy/update-operator.yaml
35+
envsubst '${VERSION}' < examples/deploy/update-agent.yaml.tmpl > examples/deploy/update-agent.yaml
36+
git add examples/deploy/update-operator.yaml
37+
git add examples/deploy/update-agent.yaml
3838

3939
git commit -m "version: bump to v${VERSION}"
4040
git tag --sign "v${VERSION}" -m "v${VERSION}"

doc/before-after-reboot-checks.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,8 @@ Be sure your image can handle being rescheduled to a node on which it has
4747
previously been run as the `update-operator` does not remove the before-reboot
4848
and after-reboot labels instantaneously.
4949

50-
* [examples/before-reboot-daemonset.yaml][3]
51-
* [examples/after-reboot-daemonset.yaml][4]
50+
* [examples/reboot-annotations/before-reboot-daemonset.yaml][3]
51+
* [examples/reboot-annotations/after-reboot-daemonset.yaml][4]
5252

5353
[1]: https://kubernetes.io/docs/concepts/workloads/controllers/daemonset/
5454
[2]: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#nodeselector

doc/development.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,11 +49,10 @@ sudo systemctl mask locksmithd.service --now
4949

5050
### Deploy
5151

52-
Edit `examples/update-operator.yaml` and `examples/update-agent.yaml` to refer to the development image. Create the `update-operator` deployment and `update-agent` daemonset.
52+
Edit `examples/deploy/update-operator.yaml` and `examples/deploy/update-agent.yaml` to refer to the development image. Create the `update-operator` deployment and `update-agent` daemonset.
5353

5454
```
55-
kubectl create -f examples/update-operator.yaml
56-
kubectl create -f examples/update-agent.yaml
55+
kubectl apply -f examples/deploy -R
5756
```
5857

5958
### Checks

0 commit comments

Comments
 (0)