Skip to content
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

doc(upgrade): document migration steps from hawtio-operator 0.3.0 to 0.4.0 #49 #51

Merged
merged 1 commit into from
Mar 22, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

A [Kubernetes](https://kubernetes.io) operator, based on the [Operator SDK](https://sdk.operatorframework.io), that operates [Hawtio Online](https://github.com/hawtio/hawtio-online).

## Upgrading

See [Upgrading Guide](docs/Upgrading.md) when you are upgrading your hawtio-operator installation.

## Resources

The `Hawtio` CRD defines the resource the operator uses to configure a Hawtio Online operand, e.g.:
Expand Down
19 changes: 19 additions & 0 deletions docs/upgrading.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# Hawtio Operator Upgrading Guide

This document describes important changes between hawtio-operator versions and instructions on how to upgrade your operator installation.

- [hawtio-operator 0.4.0](#hawtio-operator-0.4.0)

## hawtio-operator 0.4.0

### `spec.rbac.enabled` field is removed from CRD

From 0.4.0 RBAC support is always enabled, so the field to toggle the feature is removed from the CRD ([#48](https://github.com/hawtio/hawtio-operator/pull/48)). If your `Hawtio` custom resource contains the following field (whether it is `true` or `false`), remove it from the yaml definition.

```yaml
spec:
rbac:
enabled: true
```

**NOTE:** From 0.4.0 and onwards, if you don't provide `spec.rbac.configMap` RBAC is still activated with the default [ACL](https://github.com/hawtio/hawtio-online/blob/master/docker/ACL.yaml).