-
Notifications
You must be signed in to change notification settings - Fork 49
Velero: restic plugin add tolerations #1348
Conversation
af09f35
to
8b6bbd6
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Add a config conversion test.
8b6bbd6
to
5758a32
Compare
@surajssd added |
5758a32
to
3e46bb2
Compare
I don't see tests being added. |
Just to confirm, by config conversion doesn't it mean to add tolerations to restic config tests and check whether it is right or not? |
I think what @surajssd meant was to add tests, that toleration actually appears in the right place in the rendered manifests. |
3e46bb2
to
8dc9cc0
Compare
@surajssd added the tests. Please check |
8dc9cc0
to
cd3982c
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just last nit, otherwise LGTM
This commit adds a new attribute `tolerations` which will add tolerations to restic DaemonSet. Since the cluster has multiple node pools with different purposes, it adds an ability to deploy the restic DaemonSet on the nodes that need to backup the PVC. Add test that tolerations are set correctly. closes: #1334 Signed-off-by: knrt10 <kautilya@kinvolk.io>
cd3982c
to
88dcb36
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM Thanks.
This commit adds a new attribute
tolerations
which will add tolerations to restic DaemonSet.Since the cluster has multiple node pools with different purposes, it
adds an ability to deploy the restic DaemonSet on the nodes that need to
backup the PVC.
closes: #1334
Signed-off-by: knrt10 kautilya@kinvolk.io