docs: Update to reflect app-template v3.0.0 changes

This commit is contained in:
Bernd Schorgers 2024-03-11 10:53:28 +01:00
parent 0c6a438040
commit 6d70e92b44
No known key found for this signature in database
GPG key ID: BC5E2BD907F9A8EC
7 changed files with 32 additions and 38 deletions

View file

@ -1,3 +1,6 @@
---
# yaml-language-server: $schema=https://raw.githubusercontent.com/bjw-s/helm-charts/app-template-3.0.0/charts/other/app-template/values.schema.json
# Configure options applied to all pods
defaultPodOptions:
automountServiceAccountToken: false
@ -63,30 +66,28 @@ service:
ingress:
# Configure an Ingress for the main application
main:
enabled: true
ingressClassName: "external-nginx"
className: "external-nginx"
hosts:
- host: &host "hass.example.local"
paths:
- path: /
pathType: Prefix
service:
name: main
identifier: main
port: http
tls:
- hosts:
- *host
# Configure an Ingress for the code-server sidecar
code:
enabled: true
ingressClassName: "internal-nginx"
className: "internal-nginx"
hosts:
- host: &host-code "hass-code.example.local"
paths:
- path: /
pathType: Prefix
service:
name: code
identifier: code
port: http
tls:
- hosts:
@ -95,14 +96,12 @@ ingress:
persistence:
# Configure the main configuration storage location
config:
enabled: true
existingClaim: home-assistant-config
globalMounts:
- path: /config
# Configure an NFS mount to store backups on
backup:
enabled: true
type: nfs
server: nas.example.lan
path: /volume/Backups/k8s/hass

View file

@ -1,3 +1,6 @@
---
# yaml-language-server: $schema=https://raw.githubusercontent.com/bjw-s/helm-charts/app-template-3.0.0/charts/other/app-template/values.schema.json
# Configure options applied to all pods
defaultPodOptions:
automountServiceAccountToken: false
@ -74,15 +77,14 @@ service:
ingress:
# Configure an Ingress for the main application
main:
enabled: true
ingressClassName: "external-nginx"
className: "external-nginx"
hosts:
- host: &host "qb.example.local"
paths:
- path: /
pathType: Prefix
service:
name: main
identifier: main
port: http
tls:
- hosts:
@ -91,7 +93,6 @@ ingress:
persistence:
# Configure the main configuration storage location
config:
enabled: true
existingClaim: qbittorrent-config
advancedMounts:
main:

View file

@ -1,3 +1,6 @@
---
# yaml-language-server: $schema=https://raw.githubusercontent.com/bjw-s/helm-charts/app-template-3.0.0/charts/other/app-template/values.schema.json
controllers:
main:
strategy: Recreate
@ -33,30 +36,28 @@ service:
ingress:
# -- Enable and configure ingress settings for the chart under this key.
main:
enabled: true
hosts:
- host: chart-example.local
paths:
- path: /
pathType: Prefix
service:
name: main
identifier: main
port: http
- path: /notifications/hub/negotiate
pathType: Prefix
service:
name: main
identifier: main
port: http
- path: /notifications/hub
pathType: Prefix
service:
name: main
identifier: main
port: websocket
route:
# -- Enable and configure route settings for the chart under this key.
main:
enabled: true
parentRefs:
- name: gateway
namespace: gateway-namespace
@ -98,7 +99,6 @@ route:
# -- Configure persistence settings for the chart under this key.
persistence:
config:
enabled: true
type: persistentVolumeClaim
accessMode: ReadWriteOnce
size: 1Gi