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

@ -18,9 +18,7 @@ controllers:
service:
main:
# The controller for this service is set to
# "main" by the default app-template values
# controller: main
controller: main # (1)!
ports:
http:
port: 8080
@ -58,9 +56,7 @@ controllers:
service:
main:
# The controller for this service is set to
# "main" by the default app-template values
# controller: main
controller: main # (1)!
ports:
http:
port: 8080

View file

@ -1,4 +1,5 @@
---
# yaml-language-server: $schema=https://raw.githubusercontent.com/bjw-s/helm-charts/app-template-3.0.0/charts/other/app-template/schemas/helmrelease-helm-v2beta2.schema.json
apiVersion: helm.toolkit.fluxcd.io/v2beta1
kind: HelmRelease
metadata:
@ -11,7 +12,7 @@ spec:
chart: app-template
# -- Version of the app-template helm chart
# this example is not automatically updated, so be sure to use the latest chart version
version: 0.1.1
version: 3.0.0
interval: 15m
sourceRef:
kind: HelmRepository
@ -54,30 +55,28 @@ spec:
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
@ -119,7 +118,6 @@ spec:
# -- Configure persistence settings for the chart under this key.
persistence:
config:
enabled: true
type: persistentVolumeClaim
accessMode: ReadWriteOnce
size: 1Gi

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

View file

@ -5,7 +5,7 @@ helmCharts:
- name: app-template
repo: https://bjw-s.github.io/helm-charts/
# this example is not automatically updated, so be sure to use the latest chart version
version: 0.1.1
version: 3.0.0
releaseName: &releaseName vaultwarden
namespace: &releaseNamespace default
valuesFile: values.yaml

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
@ -27,36 +30,33 @@ service:
http:
port: 80
websocket:
enabled: true
port: 3012
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
# -- Configure persistence settings for the chart under this key.
persistence:
config:
enabled: true
type: persistentVolumeClaim
accessMode: ReadWriteOnce
size: 1Gi