From 24aa5456e68ad316c120c32106f5fc155ecce248 Mon Sep 17 00:00:00 2001 From: Edmund Miller Date: Thu, 26 May 2022 21:36:11 -0500 Subject: [PATCH] fix(focalboard): Use mattermost helm chart --- .../apps/home/focalboard/helm-release.yaml | 39 +++++++++---------- .../charts/helm/kustomization.yaml | 1 + .../charts/helm/mattermost-charts.yaml | 10 +++++ 3 files changed, 29 insertions(+), 21 deletions(-) create mode 100644 cluster/base/flux-system/charts/helm/mattermost-charts.yaml diff --git a/cluster/apps/home/focalboard/helm-release.yaml b/cluster/apps/home/focalboard/helm-release.yaml index 7f5c37651..1ccd4002d 100644 --- a/cluster/apps/home/focalboard/helm-release.yaml +++ b/cluster/apps/home/focalboard/helm-release.yaml @@ -10,38 +10,35 @@ spec: spec: # renovate: registryUrl=https://k8s-at-home.com/charts/ chart: focalboard - version: 4.3.2 + version: 0.5.0 sourceRef: kind: HelmRepository - name: k8s-at-home-charts + name: mattermost namespace: flux-system interval: 5m values: image: repository: mattermost/focalboard - tag: 0.16.0 + tag: 0.9.0 env: TZ: '${TIMEZONE}' ingress: - main: - enabled: true - ingressClassName: 'traefik' - annotations: - cert-manager.io/cluster-issuer: 'letsencrypt-production' - traefik.ingress.kubernetes.io/router.entrypoints: 'websecure' - hosts: - - host: 'focal.${SECRET_DOMAIN}' - paths: - - path: / - pathType: Prefix - tls: - - hosts: - - 'focal.${SECRET_DOMAIN}' - secretName: 'focalboard-tls' + enabled: true + ingressClassName: 'traefik' + annotations: + cert-manager.io/cluster-issuer: 'letsencrypt-production' + traefik.ingress.kubernetes.io/router.entrypoints: 'websecure' + hosts: + - host: 'focal.${SECRET_DOMAIN}' + paths: + - path: / + pathType: Prefix + tls: + - hosts: + - 'focal.${SECRET_DOMAIN}' + secretName: 'focalboard-tls' persistence: - config: - enabled: true - existingClaim: focalboard-config-v1 + enabled: true diff --git a/cluster/base/flux-system/charts/helm/kustomization.yaml b/cluster/base/flux-system/charts/helm/kustomization.yaml index feb5ff915..bd413d157 100644 --- a/cluster/base/flux-system/charts/helm/kustomization.yaml +++ b/cluster/base/flux-system/charts/helm/kustomization.yaml @@ -17,6 +17,7 @@ resources: - kurt108-charts.yaml - k8s-at-home-charts.yaml - longhorn-charts.yaml + - mattermost-charts.yaml - metallb-charts.yaml - metrics-server-charts.yaml - minecraft-server-charts.yaml diff --git a/cluster/base/flux-system/charts/helm/mattermost-charts.yaml b/cluster/base/flux-system/charts/helm/mattermost-charts.yaml new file mode 100644 index 000000000..0b165a04e --- /dev/null +++ b/cluster/base/flux-system/charts/helm/mattermost-charts.yaml @@ -0,0 +1,10 @@ +--- +apiVersion: source.toolkit.fluxcd.io/v1beta1 +kind: HelmRepository +metadata: + name: mattermost + namespace: flux-system +spec: + interval: 15m + url: https://helm.mattermost.com + timeout: 3m