-
Notifications
You must be signed in to change notification settings - Fork 2.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
docs: add instructions to upgrade admission controller #9372
docs: add instructions to upgrade admission controller #9372
Conversation
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.
The co-authored-by should only be necessary for Seb since you are author on the commit.
Documentation/ceph-upgrade.md
Outdated
kubectl apply -f deploy/examples/monitoring/rbac.yaml | ||
``` | ||
|
||
* [Admission controller](admission-controller-usage.md): The admission controller has been |
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.
Should this be part of step 3 where the operator is updated? This is inside step 1 where the RBAC and CRDs are updated.
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.
I think it's fine to do it here. It is an optional resource, and so there is already a section for it. A user could get mixed up an accidentally skip step 2, but that step is also optional of a sort, so I'm not terribly worried about it breaking things.
4cf6d3f
to
fb1c0a0
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.
a few minor suggestions
Documentation/ceph-upgrade.md
Outdated
there are additional updates. The admission controller has been integrated inside the operator | ||
instead of a separate deployment. This means that the webhook server certificates are now stored in | ||
the operator, and the operator manifest must be updated to use the one provided in | ||
`deploy/examples/operator.yaml`. If you are using Helm to manage the deployment there is nothing to |
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.
`deploy/examples/operator.yaml`. If you are using Helm to manage the deployment there is nothing to | |
`deploy/examples/operator.yaml`. If you are using Helm to manage the deployment this handled automatically. |
Documentation/ceph-upgrade.md
Outdated
@@ -340,6 +340,24 @@ When the operator is updated, it will proceed to update all of the Ceph daemons. | |||
kubectl -n $ROOK_OPERATOR_NAMESPACE set image deploy/rook-ceph-operator rook-ceph-operator=rook/ceph:v1.8.0 | |||
``` | |||
|
|||
#### Admission controller | |||
At the same time, if you use the optional [Admission controller](admission-controller-usage.md), |
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.
At the same time, if you use the optional [Admission controller](admission-controller-usage.md), | |
If you enabled the optional [Admission controller](admission-controller-usage.md), |
Documentation/ceph-upgrade.md
Outdated
do. | ||
|
||
When updating the operator deployment with the latest example from Rook, there is some risk of | ||
overwriting changes you have made to the deployment or to the `rook-ceph-operator-config` ConfigMap. |
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.
overwriting changes you have made to the deployment or to the `rook-ceph-operator-config` ConfigMap. | |
overwriting changes if you have customized the operator deployment or the `rook-ceph-operator-config` ConfigMap. |
In 1.8, the admission controller has merged with the operator and the operator needs an emptyDir and a volume mount to store the webhook certificates. Co-authored-by: Blaine Gardner <blaine.gardner@redhat.com> Co-authored-by: Sébastien Han <seb@redhat.com> Signed-off-by: Blaine Gardner <blaine.gardner@redhat.com>
fb1c0a0
to
6c09de6
Compare
docs: add instructions to upgrade admission controller (backport #9372)
In 1.8, the admission controller has merged with the operator and the
operator needs an emptyDir and a volume mount to store the webhook
certificates.
Co-authored-by: Blaine Gardner blaine.gardner@redhat.com
Co-authored-by: Sébastien Han seb@redhat.com
Signed-off-by: Blaine Gardner blaine.gardner@redhat.com
Description of your changes:
Which issue is resolved by this Pull Request:
Resolves #
Checklist:
make codegen
) has been run to update object specifications, if necessary.