docs(common): Update documentation for 2.0.1

This commit is contained in:
Bernd Schorgers 2023-10-03 09:37:11 +02:00
parent 66389dec8b
commit 0216bb1a30
No known key found for this signature in database
GPG key ID: BC5E2BD907F9A8EC
5 changed files with 203 additions and 174 deletions

View file

@ -37,6 +37,9 @@ The [CI tests](../../library/common-test/ci) contain a number of scenarios that
### From 1.x.x to 2.0.x
> :warning: **IMPORTANT** Because a new label has been introduced in the controller labelSelector (which is an immutable field), Deployments cannot be upgraded in place!
> [More details](https://www.datree.io/resources/kubernetes-error-codes-field-is-immutable)
Given the following real-life example values.yaml for app-template v1:
<details>
@ -66,6 +69,10 @@ ingress:
main:
enabled: true
ingressClassName: "ingress-nginx"
hosts:
- host: sabnzbd.bjw-s.dev
paths:
- path: /
persistence:
media:
@ -123,6 +130,13 @@ ingress:
main:
enabled: true
className: "ingress-nginx"
hosts:
- host: sabnzbd.bjw-s.dev
paths:
- path: /
service:
name: main
port: http
persistence:
media:
@ -139,6 +153,7 @@ This is not meant as an exhaustive list of changes, but rather a "most common" e
- `image` has been moved to `controllers.main.containers.main.image` so that multiple containers can be configured.
- `ingress.main.ingressClassName` has been renamed to `ingress.main.className`.
- `ingress.main.enabled` can be removed, since items are considered enabled by default (they can still be disabled by adding `enabled: false`).
- `ingress.main.hosts.*.paths.*.service` is now required since there is no more concept of a default "primary" service.
- `persistence.media.mountPath` has been moved to `persistence.media.globalMounts.*.path` to allow multiple mountPaths for the same persistence item.
- `persistence.media.enabled` can be removed, since items are considered enabled by default (they can still be disabled by adding `enabled: false`).
- `probes` has been moved to `controllers.main.containers.main.probes` so that multiple containers can be configured.