Skip to content

Commit

Permalink
Added business tour site
Browse files Browse the repository at this point in the history
  • Loading branch information
07joshua03 committed Oct 10, 2023
1 parent 124d641 commit dad3e2c
Show file tree
Hide file tree
Showing 4 changed files with 61 additions and 0 deletions.
1 change: 1 addition & 0 deletions apps/_clusters/release/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ resources:
# - ../../areafiftylan
# - ../../areafiftylan-legacy
- ../../adminer
- ../../bt-website
- ../../chipcie-legacy
- ../../chipcie-nwerc-2022
- ../../chipcie-nwerc-2023
Expand Down
23 changes: 23 additions & 0 deletions apps/bt-website/image.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
apiVersion: image.toolkit.fluxcd.io/v1beta1
kind: ImageRepository
metadata:
name: bt-website
namespace: flux-system
spec:
image: ghcr.io/wisvch/btwebsite2024
interval: 15m0s
---
apiVersion: image.toolkit.fluxcd.io/v1beta1
kind: ImagePolicy
metadata:
name: bt-website
namespace: flux-system
spec:
imageRepositoryRef:
name: bt-website
filterTags:
pattern: "^(?P<ts>.*)-[a-fA-F0-9]+"
extract: "$ts"
policy:
numerical:
order: asc
5 changes: 5 additions & 0 deletions apps/bt-website/kustomization.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- image.yaml
- release.yaml
32 changes: 32 additions & 0 deletions apps/bt-website/release.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
apiVersion: helm.toolkit.fluxcd.io/v2beta1
kind: HelmRelease
metadata:
name: bt-website
namespace: default
spec:
interval: 15m
chart:
spec:
chart: ./static-site
version: "0.1.x"
interval: 15m
reconcileStrategy: Revision
sourceRef:
kind: GitRepository
name: wisvch
namespace: flux-system
values:
fullnameOverride: bt-website
domains:
- businesstour.ch.tudelft.nl
- businesstour.wisv.ch
replicaCount: 1
containerPort: 8080
service:
type: ClusterIP
port: 80
image:
repository: ghcr.io/wisvch/btwebsite2024
tag: 20231009-d5d0bcb # {"$imagepolicy": "flux-system:bt-website:tag"}
pullPolicy: IfNotPresent
pullSecrets: {}

0 comments on commit dad3e2c

Please sign in to comment.