Skip to content

Commit

Permalink
release: v0.1.4
Browse files Browse the repository at this point in the history
Signed-off-by: Jacob Vallejo <[email protected]>
  • Loading branch information
jahkeup committed Aug 21, 2020
1 parent abfd0c2 commit 54e5c86
Show file tree
Hide file tree
Showing 4 changed files with 41 additions and 9 deletions.
31 changes: 30 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,32 @@
# 0.1.4

* Use bottlerocket update API to drive updates [#35] [#39]

To use the update API, nodes must be labeled with the `2.0.0` interface version:

```
bottlerocket.aws/updater-interface-version=2.0.0
```

To configure the use of the update API on all nodes in a cluster:

1. Ensure desired nodes are on bottlerocket `v0.4.1` or later

2. Set the `updater-interface-version` to `2.0.0` on nodes:

```bash
kubectl label node --overwrite=true $(kubectl get nodes -o jsonpath='{.items[*].metadata.name}') bottlerocket.aws/updater-interface-version=2.0.0
```

* Add SELinux process label allowing API accesses by agent [#40]

* Fix deduplication filter in cases that could deadlock agent [#41]

[#35]: https://github.com/bottlerocket-os/bottlerocket-update-operator/pull/35
[#39]: https://github.com/bottlerocket-os/bottlerocket-update-operator/pull/39
[#40]: https://github.com/bottlerocket-os/bottlerocket-update-operator/pull/40
[#41]: https://github.com/bottlerocket-os/bottlerocket-update-operator/pull/41

# 0.1.3

* Add missing backtick in README instructions ([#25])
Expand Down Expand Up @@ -30,4 +59,4 @@ kubectl label nodes --all "bottlerocket.aws/platform-version"-

Initial release of **bottlerocket-update-operator** - a Kubernetes operator that coordinates Bottlerocket updates on hosts in a cluster..

See the [README](README.md) for additional information.
See the [README](README.md) for additional information.
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v0.1.3
v0.1.4
2 changes: 2 additions & 0 deletions dev/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,7 @@ spec:
operator: In
values:
- amd64
- arm64
# Avoid update-operator's Agent Pods if possible.
podAntiAffinity:
preferredDuringSchedulingIgnoredDuringExecution:
Expand Down Expand Up @@ -162,6 +163,7 @@ spec:
operator: In
values:
- amd64
- arm64
hostPID: true
containers:
- name: agent
Expand Down
15 changes: 8 additions & 7 deletions update-operator.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,7 @@ spec:
operator: In
values:
- amd64
- arm64
# Avoid update-operator's Agent Pods if possible.
podAntiAffinity:
preferredDuringSchedulingIgnoredDuringExecution:
Expand All @@ -117,8 +118,7 @@ spec:
values: ["agent"]
containers:
- name: controller
# TODO Update this field to the new version that supports update API once that's released
image: "328549459982.dkr.ecr.us-west-2.amazonaws.com/bottlerocket-update-operator:v0.1.3"
image: "328549459982.dkr.ecr.us-west-2.amazonaws.com/bottlerocket-update-operator:v0.1.4"
imagePullPolicy: Always
args:
- -controller
Expand All @@ -130,8 +130,8 @@ spec:
valueFrom:
fieldRef:
fieldPath: spec.nodeName
# This DaemonSet is for Bottlerocket hosts that support updates through the Bottlerocket API
---
# This DaemonSet is for Bottlerocket hosts that support updates through the Bottlerocket API
apiVersion: apps/v1
kind: DaemonSet
metadata:
Expand Down Expand Up @@ -166,11 +166,11 @@ spec:
operator: In
values:
- amd64
- arm64
hostPID: true
containers:
- name: agent
# TODO Update this field to the new version that supports update API once that's released
image: "328549459982.dkr.ecr.us-west-2.amazonaws.com/bottlerocket-update-operator:v0.1.3"
image: "328549459982.dkr.ecr.us-west-2.amazonaws.com/bottlerocket-update-operator:v0.1.4"
imagePullPolicy: Always
args:
- -agent
Expand Down Expand Up @@ -202,8 +202,8 @@ spec:
hostPath:
path: /run/api.sock
type: Socket
# This DaemonSet is for Bottlerocket hosts that can only support updates through updog
---
# This DaemonSet is for Bottlerocket hosts that can only support updates through updog
apiVersion: apps/v1
kind: DaemonSet
metadata:
Expand Down Expand Up @@ -238,10 +238,11 @@ spec:
operator: In
values:
- amd64
- arm64
hostPID: true
containers:
- name: agent
image: "328549459982.dkr.ecr.us-west-2.amazonaws.com/bottlerocket-update-operator:v0.1.3"
image: "328549459982.dkr.ecr.us-west-2.amazonaws.com/bottlerocket-update-operator:v0.1.4"
imagePullPolicy: Always
# XXX: tty required to exec binaries that use `simplelog` until https://github.com/bottlerocket-os/bottlerocket/issues/576 is resolved.
tty: true
Expand Down

0 comments on commit 54e5c86

Please sign in to comment.