From eafd4f01eba92aa7430c329dc764f2579bf73a58 Mon Sep 17 00:00:00 2001 From: SorsOps <80043879+sorsOps@users.noreply.github.com> Date: Fri, 10 May 2024 14:34:05 +0200 Subject: [PATCH] Use raw manifests --- .gimlet/penpot-prod.yaml | 87 ++++++++++++++++++++++++++++------------ 1 file changed, 61 insertions(+), 26 deletions(-) diff --git a/.gimlet/penpot-prod.yaml b/.gimlet/penpot-prod.yaml index 32469c24d..a4f4a7c39 100644 --- a/.gimlet/penpot-prod.yaml +++ b/.gimlet/penpot-prod.yaml @@ -4,29 +4,64 @@ namespace: apps deploy: branch: token-studio-develop event: push -chart: - repository: https://charts.truecharts.org - name: penpot - version: 4.0.13 -values: - backendImage: - pullPolicy: IfNotPresent - repository: ghcr.io/tokens-studio/tokens-studio-for-penpot - tag: 'backend-{{ .SHA }}' - image: - pullPolicy: IfNotPresent - repository: ghcr.io/tokens-studio/tokens-studio-for-penpot - tag: 'frontend-{{ .SHA }}' - penpot: - public_uri: penpot.tokens.studio - ingress: - main: - enabled: true - annotations: - cert-manager.io/cluster-issuer: letsencrypt-prod - networking.gke.io/v1beta1.FrontendConfig: default-frontend-config - hosts: - - host: penpot.tokens.studio - tls: - - hosts: - - penpot.tokens.studio \ No newline at end of file +manifests: | + apiVersion: v1 + kind: Namespace + metadata: + name: penpot + labels: + toolkit.fluxcd.io/tenant: penpot-team + --- + apiVersion: source.toolkit.fluxcd.io/v1beta2 + kind: HelmRepository + metadata: + name: truecharts + namespace: penpot + spec: + interval: 5m + type: oci + url: oci://tccr.io/truecharts + --- + apiVersion: helm.toolkit.fluxcd.io/v2beta2 + kind: HelmRelease + metadata: + name: penpot + namespace: penpot + spec: + releaseName: penpot + chart: + spec: + version: "4.0.13" + chart: penpot + sourceRef: + kind: HelmRepository + name: truecharts + interval: 50m + install: + remediation: + retries: 3 + # Default values + # https://github.com/stefanprodan/podinfo/blob/master/charts/podinfo/values.yaml + values: + backendImage: + pullPolicy: IfNotPresent + repository: ghcr.io/tokens-studio/tokens-studio-for-penpot + tag: 'backend-{{ .SHA }}' + image: + pullPolicy: IfNotPresent + repository: ghcr.io/tokens-studio/tokens-studio-for-penpot + tag: 'frontend-{{ .SHA }}' + penpot: + public_uri: penpot.tokens.studio + ingress: + main: + enabled: true + annotations: + cert-manager.io/cluster-issuer: letsencrypt-prod + networking.gke.io/v1beta1.FrontendConfig: default-frontend-config + hosts: + - host: penpot.tokens.studio + tls: + - hosts: + - penpot.tokens.studio + \ No newline at end of file