From 3a2661106bc5a088d18eddfe1770b22654ddb8b2 Mon Sep 17 00:00:00 2001 From: Marcus Noble Date: Wed, 5 May 2021 11:43:06 +0100 Subject: [PATCH] Replace grocy with argo helm chert --- manifests/_apps/grocy.yaml | 34 +++++++++++++++++++++++----- manifests/grocy/grocy_chart.yaml | 39 -------------------------------- 2 files changed, 28 insertions(+), 45 deletions(-) delete mode 100644 manifests/grocy/grocy_chart.yaml diff --git a/manifests/_apps/grocy.yaml b/manifests/_apps/grocy.yaml index 9b5b337..dd593a0 100644 --- a/manifests/_apps/grocy.yaml +++ b/manifests/_apps/grocy.yaml @@ -6,17 +6,39 @@ metadata: finalizers: - resources-finalizer.argocd.argoproj.io spec: - project: cluster.fun + project: default destination: namespace: grocy name: cluster-fun (scaleway) source: - path: manifests/grocy - repoURL: "https://git.cluster.fun/AverageMarcus/cluster.fun.git" - targetRevision: HEAD + repoURL: https://k8s-at-home.com/charts/ + targetRevision: 6.3.1 + chart: grocy + helm: + values: | + env: + TZ: Europe/London + ingress: + enabled: true + annotations: + cert-manager.io/cluster-issuer: letsencrypt + traefik.ingress.kubernetes.io/frontend-entry-points: http,https + traefik.ingress.kubernetes.io/redirect-entry-point: https + traefik.ingress.kubernetes.io/redirect-permanent: "true" + hosts: + - host: grocy.cluster.fun + paths: + - path: / + pathType: Prefix + tls: + - hosts: + - grocy.cluster.fun + secretName: grocy + persistence: + config: + enabled: true + syncPolicy: - syncOptions: - - CreateNamespace=true automated: {} ignoreDifferences: - kind: Secret diff --git a/manifests/grocy/grocy_chart.yaml b/manifests/grocy/grocy_chart.yaml deleted file mode 100644 index 601ede1..0000000 --- a/manifests/grocy/grocy_chart.yaml +++ /dev/null @@ -1,39 +0,0 @@ -apiVersion: v1 -kind: Namespace -metadata: - name: grocy ---- -apiVersion: helm.fluxcd.io/v1 -kind: HelmRelease -metadata: - name: grocy - namespace: grocy -spec: - chart: - repository: https://k8s-at-home.com/charts/ - name: grocy - version: 6.3.1 - maxHistory: 4 - skipCRDs: false - values: - env: - TZ: Europe/London - ingress: - enabled: true - annotations: - cert-manager.io/cluster-issuer: letsencrypt - traefik.ingress.kubernetes.io/frontend-entry-points: http,https - traefik.ingress.kubernetes.io/redirect-entry-point: https - traefik.ingress.kubernetes.io/redirect-permanent: "true" - hosts: - - host: grocy.cluster.fun - paths: - - path: / - pathType: Prefix - tls: - - hosts: - - grocy.cluster.fun - secretName: grocy - persistence: - config: - enabled: true