Skip to content

Commit

Permalink
Updated fusion resources
Browse files Browse the repository at this point in the history
  • Loading branch information
spietras committed Jul 24, 2024
1 parent 90e3f79 commit f5820cf
Show file tree
Hide file tree
Showing 4 changed files with 29 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/clusters/main/apps/fusion/fusion.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ spec:
# Path inside repository to a directory containing Kustomization files
path: src/clusters/main/apps/fusion/kustomize
dependsOn:
# Deploy Longhorn first
- name: longhorn
# Deploy Traefik first
- name: traefik
# Apply patches for common configurations
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,14 @@ spec:
name: radio-aktywne
# This key always needs to be here for patching to work
postRenderers: []
values:
volume:
# Use ReadWriteOnce access mode
access: ReadWriteOnce
# Use Longhorn storage class
class: longhorn
# Use 1 Gigabyte volume size
size: 1Gi
valuesFrom:
- kind: Secret
name: fusion-helm-secrets-values
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@ kind: Kustomization
# Include the following resources
resources:
- resources/routes/srt.yaml
- resources/routes/http.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# Create HTTP ingress route for fusion
apiVersion: traefik.io/v1alpha1
kind: IngressRoute
metadata:
name: fusion-http
spec:
entryPoints:
# Use entrypoint for HTTPS traffic
- https
routes:
# Match traffic with the Host header
- match: HostRegexp(`fusion\..*`)
kind: Rule
services:
# Route traffic to the fusion service
- name: fusion
# This is the name of the port in the service
port: http

0 comments on commit f5820cf

Please sign in to comment.