diff --git a/docs/app-template/howto/multiple-services.md b/docs/app-template/howto/multiple-services.md index ac9ac61d..805a65b8 100644 --- a/docs/app-template/howto/multiple-services.md +++ b/docs/app-template/howto/multiple-services.md @@ -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 diff --git a/examples/flux/helmrelease.yaml b/examples/flux/helmrelease.yaml index 539451be..c2a11804 100644 --- a/examples/flux/helmrelease.yaml +++ b/examples/flux/helmrelease.yaml @@ -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 diff --git a/examples/helm/home-assistant/values.yaml b/examples/helm/home-assistant/values.yaml index 45f3d594..f34901c7 100644 --- a/examples/helm/home-assistant/values.yaml +++ b/examples/helm/home-assistant/values.yaml @@ -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 diff --git a/examples/helm/qbittorrent/values.yaml b/examples/helm/qbittorrent/values.yaml index 36b9cd91..e15549dc 100644 --- a/examples/helm/qbittorrent/values.yaml +++ b/examples/helm/qbittorrent/values.yaml @@ -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: diff --git a/examples/helm/vaultwarden/values.yaml b/examples/helm/vaultwarden/values.yaml index 5f49af32..c8619253 100644 --- a/examples/helm/vaultwarden/values.yaml +++ b/examples/helm/vaultwarden/values.yaml @@ -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 diff --git a/examples/kustomize/kustomization.yaml b/examples/kustomize/kustomization.yaml index b585342e..69cc0ce8 100644 --- a/examples/kustomize/kustomization.yaml +++ b/examples/kustomize/kustomization.yaml @@ -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 diff --git a/examples/kustomize/values.yaml b/examples/kustomize/values.yaml index 868b08c5..255ff0fb 100644 --- a/examples/kustomize/values.yaml +++ b/examples/kustomize/values.yaml @@ -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