From 22a0370aaccf50d8b2393fbae2204f8a36a7023b Mon Sep 17 00:00:00 2001 From: ange Date: Wed, 15 May 2024 22:32:50 +0200 Subject: [PATCH] feat: homepage annotations --- .gitea/workflows/deploy.yaml | 1 + manifests/common/app.yaml | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/.gitea/workflows/deploy.yaml b/.gitea/workflows/deploy.yaml index bd60ffd..072a1e1 100644 --- a/.gitea/workflows/deploy.yaml +++ b/.gitea/workflows/deploy.yaml @@ -15,6 +15,7 @@ jobs: fi cat <> .env BASE_URL="$BASE_URL" + REF_NAME="${{ gitea.ref_name }}" EOF cat .env diff --git a/manifests/common/app.yaml b/manifests/common/app.yaml index 41a4703..a515c5d 100644 --- a/manifests/common/app.yaml +++ b/manifests/common/app.yaml @@ -5,6 +5,10 @@ metadata: name: app annotations: cert-manager.io/cluster-issuer: letsencrypt-prod + gethomepage.dev/enabled: "true" + gethomepage.dev/icon: element + gethomepage.dev/instance: "$REF_NAME" + gethomepage.dev/name: Element spec: ingressClassName: nginx tls: