mirror of
https://github.com/bjw-s-labs/helm-charts.git
synced 2025-07-03 16:37:04 +02:00
docs(common): Update documentation for 2.0.1
This commit is contained in:
parent
66389dec8b
commit
0216bb1a30
5 changed files with 203 additions and 174 deletions
|
@ -1,6 +1,6 @@
|
|||
# app-template
|
||||
|
||||

|
||||

|
||||
|
||||
A common powered chart template. This can be useful for small projects that don't have their own chart.
|
||||
|
||||
|
@ -10,9 +10,9 @@ Kubernetes: `>=1.22.0-0`
|
|||
|
||||
## Dependencies
|
||||
|
||||
| Repository | Name | Version |
|
||||
| ----------------------------------- | ------ | ------- |
|
||||
| https://bjw-s.github.io/helm-charts | common | 2.0.0 |
|
||||
| Repository | Name | Version |
|
||||
|------------|------|---------|
|
||||
| https://bjw-s.github.io/helm-charts | common | 2.0.1 |
|
||||
|
||||
## Installing the Chart
|
||||
|
||||
|
@ -33,6 +33,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>
|
||||
|
@ -62,6 +65,10 @@ ingress:
|
|||
main:
|
||||
enabled: true
|
||||
ingressClassName: "ingress-nginx"
|
||||
hosts:
|
||||
- host: sabnzbd.bjw-s.dev
|
||||
paths:
|
||||
- path: /
|
||||
|
||||
persistence:
|
||||
media:
|
||||
|
@ -119,6 +126,13 @@ ingress:
|
|||
main:
|
||||
enabled: true
|
||||
className: "ingress-nginx"
|
||||
hosts:
|
||||
- host: sabnzbd.bjw-s.dev
|
||||
paths:
|
||||
- path: /
|
||||
service:
|
||||
name: main
|
||||
port: http
|
||||
|
||||
persistence:
|
||||
media:
|
||||
|
@ -135,6 +149,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.
|
||||
|
@ -145,6 +160,5 @@ This is not meant as an exhaustive list of changes, but rather a "most common" e
|
|||
- Open an [issue](https://github.com/bjw-s/helm-charts/issues/new/choose)
|
||||
- Join the k8s-at-home [Discord](https://discord.gg/k8s-at-home) community
|
||||
|
||||
---
|
||||
|
||||
----------------------------------------------
|
||||
Autogenerated from chart metadata using [helm-docs v1.11.0](https://github.com/norwoodj/helm-docs/releases/v1.11.0)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue