From 5f2e1a4850e79fee327c8c9cc43788e92f7d83db Mon Sep 17 00:00:00 2001 From: Dany Sluijk Date: Mon, 9 Oct 2023 11:31:06 +0200 Subject: [PATCH] feat(hackdelft): add 2024 --- apps/hackdelft/image.yaml | 26 ++++++++++++++++++++++++++ apps/hackdelft/release.yaml | 13 ++++++++++++- 2 files changed, 38 insertions(+), 1 deletion(-) diff --git a/apps/hackdelft/image.yaml b/apps/hackdelft/image.yaml index 6388a4b3..cdfff7a6 100644 --- a/apps/hackdelft/image.yaml +++ b/apps/hackdelft/image.yaml @@ -1,4 +1,30 @@ +# 2024 +apiVersion: image.toolkit.fluxcd.io/v1beta1 +kind: ImageRepository +metadata: + name: hackdelft-2024 + namespace: flux-system +spec: + image: ghcr.io/wisvch/hackdelft-2024 + interval: 15m0s +--- +apiVersion: image.toolkit.fluxcd.io/v1beta1 +kind: ImagePolicy +metadata: + name: hackdelft-2024 + namespace: flux-system +spec: + imageRepositoryRef: + name: hackdelft-2024 + filterTags: + pattern: "^(?P.*)-[a-fA-F0-9]+" + extract: "$ts" + policy: + numerical: + order: asc + # 2022 +--- apiVersion: image.toolkit.fluxcd.io/v1beta1 kind: ImageRepository metadata: diff --git a/apps/hackdelft/release.yaml b/apps/hackdelft/release.yaml index 3e80c902..ee5f423e 100644 --- a/apps/hackdelft/release.yaml +++ b/apps/hackdelft/release.yaml @@ -16,12 +16,23 @@ spec: name: wisvch namespace: flux-system values: - defaultEdition: "2022" + defaultEdition: "2024" tlsSecret: hackdelft-tls domains: - hackdelft.nl - hackdelft.com editions: + "2024": + replicaCount: 1 + containerPort: 8080 + service: + type: ClusterIP + port: 80 + image: + repository: ghcr.io/wisvch/hackdelft-2024 + tag: 20231009-67c937d # {"$imagepolicy": "flux-system:hackdelft-2024:tag"} + pullPolicy: IfNotPresent + pullSecrets: {} "2022": replicaCount: 1 containerPort: 8080