diff --git a/flux2/apps/rocketchat/release.yaml b/flux2/apps/rocketchat/release.yaml index eae7c10f37e266467c9460e6244fc3ecd227d432..864768e3b499729a8e1e466557a5f39ca35ee738 100644 --- a/flux2/apps/rocketchat/release.yaml +++ b/flux2/apps/rocketchat/release.yaml @@ -9,10 +9,10 @@ spec: chart: spec: chart: rocketchat - version: 2.0.10 + # NOTE: Change the GitRepository yaml file if you want a different version sourceRef: - kind: HelmRepository - name: helm-stable + kind: GitRepository + name: rocketchat-helm-chart namespace: flux-system interval: 1h install: diff --git a/flux2/apps/rocketchat/rocketchat-values-configmap.yaml b/flux2/apps/rocketchat/rocketchat-values-configmap.yaml index 100c94221daaa1fa01e4d589e29a60b2261ded42..38ad797bb1c041278a6763e0a7db971211693f04 100644 --- a/flux2/apps/rocketchat/rocketchat-values-configmap.yaml +++ b/flux2/apps/rocketchat/rocketchat-values-configmap.yaml @@ -106,8 +106,9 @@ data: memory: 768Mi mongodb: - mongodbRootPassword: ${mongodb_root_password} - mongodbPassword: ${mongodb_password} + auth: + rootPassword: ${mongodb_root_password} + password: ${mongodb_password} podAnnotations: # Let the backup system include rocketchat data stored in mongodb. backup.velero.io/backup-volumes: "datadir" diff --git a/flux2/infrastructure/local-path-provisioner/local-path-provisioner-values-configmap.yaml b/flux2/infrastructure/local-path-provisioner/local-path-provisioner-values-configmap.yaml index 02881a7cae727a9e75fec18e362bdee5fda09cc0..62b6d675ed98b7febce9687e0f5229e5f1f59463 100644 --- a/flux2/infrastructure/local-path-provisioner/local-path-provisioner-values-configmap.yaml +++ b/flux2/infrastructure/local-path-provisioner/local-path-provisioner-values-configmap.yaml @@ -14,8 +14,12 @@ data: # We temporarily use our own build in order to use local volumes instead of # hostPath. image: - repository: "open.greenhost.net:4567/openappstack/openappstack/local-path-provisioner" - tag: "0.0.20-gh1" + # We need to use our own fork of the local-path-provisioner until + # https://github.com/rancher/local-path-provisioner/issues/85 is resolved + repository: "open.greenhost.net:4567/openappstack/local-path-provisioner/local-path-provisioner" + # Make sure this tag is the same as the tag for the chart in the + # local-path-provisioner GitRepository + tag: "v0.0.20-gh1" resources: requests: cpu: 200m diff --git a/flux2/infrastructure/sources/kustomization.yaml b/flux2/infrastructure/sources/kustomization.yaml index 6ba7a09231ec049b0be61bb4088e592dd443c2ad..6ffb569adc36919b025fd18dc09fe6c2a836276c 100644 --- a/flux2/infrastructure/sources/kustomization.yaml +++ b/flux2/infrastructure/sources/kustomization.yaml @@ -11,6 +11,7 @@ resources: - local-path-provisioner.yaml - nextcloud.yaml - prometheus-community.yaml + - rocketchat-helm-chart.yaml - single-sign-on.yaml - vmware-tanzu.yaml - wekan.yaml diff --git a/flux2/infrastructure/sources/local-path-provisioner.yaml b/flux2/infrastructure/sources/local-path-provisioner.yaml index 802d6dedc2082a25fbbca28d94ab467afe8263c5..22b63e7316b8b9dce648cf9f7fa92966843168a1 100644 --- a/flux2/infrastructure/sources/local-path-provisioner.yaml +++ b/flux2/infrastructure/sources/local-path-provisioner.yaml @@ -7,7 +7,10 @@ spec: # The interval at which to check the upstream for updates interval: 1h # The repository URL, can be a HTTP/S or SSH address - url: https://github.com/rancher/local-path-provisioner + # + # We need to use our own fork of the local-path-provisioner until + # https://github.com/rancher/local-path-provisioner/issues/85 is resolved + url: https://open.greenhost.net/openappstack/local-path-provisioner # The Git reference to checkout and monitor for changes # (defaults to master) # For all available options, see: diff --git a/flux2/infrastructure/sources/rocketchat-helm-chart.yaml b/flux2/infrastructure/sources/rocketchat-helm-chart.yaml new file mode 100644 index 0000000000000000000000000000000000000000..c7636940abf0841214309b02aba775db959f249a --- /dev/null +++ b/flux2/infrastructure/sources/rocketchat-helm-chart.yaml @@ -0,0 +1,17 @@ +--- +apiVersion: source.toolkit.fluxcd.io/v1beta1 +kind: GitRepository +metadata: + name: rocketchat-helm-chart +spec: + # The interval at which to check the upstream for updates + interval: 1h + # The repository URL, can be a HTTP/S or SSH address + url: https://github.com/greenhost/rocketchat-helm-chart + # The Git reference to checkout and monitor for changes + # (defaults to master) + # For all available options, see: + # https://toolkit.fluxcd.io/components/source/api/#source.toolkit.fluxcd.io/v1beta1.GitRepositoryRef + ref: + branch: openappstack + tag: 3.1.0-gh2