From bce38e0296cffb5de0bf750e3207beae5bb87dd5 Mon Sep 17 00:00:00 2001 From: Maarten de Waard <maarten@greenhost.nl> Date: Tue, 21 Dec 2021 14:47:36 +0100 Subject: [PATCH] use HelmRepository to install single-sign-on --- flux2/core/base/single-sign-on/release.yaml | 7 ++++--- flux2/core/base/sources/single-sign-on.yaml | 10 ++-------- 2 files changed, 6 insertions(+), 11 deletions(-) diff --git a/flux2/core/base/single-sign-on/release.yaml b/flux2/core/base/single-sign-on/release.yaml index 7f240d648..37e4834a2 100644 --- a/flux2/core/base/single-sign-on/release.yaml +++ b/flux2/core/base/single-sign-on/release.yaml @@ -9,10 +9,11 @@ spec: - name: nginx chart: spec: - chart: ./helmchart/single-sign-on/ - # NOTE: Change the GitRepository yaml file if you want a different version + # renovate: registryUrl=https://open.greenhost.net/api/v4/projects/8/packages/helm/stable + chart: single-sign-on + version: 0.5.1 sourceRef: - kind: GitRepository + kind: HelmRepository name: single-sign-on namespace: flux-system interval: 1h0m0s diff --git a/flux2/core/base/sources/single-sign-on.yaml b/flux2/core/base/sources/single-sign-on.yaml index 87adf56b0..f9d499d24 100644 --- a/flux2/core/base/sources/single-sign-on.yaml +++ b/flux2/core/base/sources/single-sign-on.yaml @@ -1,6 +1,6 @@ --- apiVersion: source.toolkit.fluxcd.io/v1beta1 -kind: GitRepository +kind: HelmRepository metadata: name: single-sign-on namespace: flux-system @@ -8,10 +8,4 @@ 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://open.greenhost.net/stackspin/single-sign-on - # 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: - tag: 0.5.0 + url: https://open.greenhost.net/api/v4/projects/8/packages/helm/stable -- GitLab