Skip to content

Commit

Permalink
Renamed fusion to emifuse
Browse files Browse the repository at this point in the history
  • Loading branch information
spietras committed Jul 26, 2024
1 parent 93732a7 commit 51553cf
Show file tree
Hide file tree
Showing 35 changed files with 104 additions and 104 deletions.
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
# Create fusion Kustomization
# Create emifuse Kustomization
apiVersion: kustomize.toolkit.fluxcd.io/v1
kind: Kustomization
metadata:
name: fusion
name: emifuse
spec:
# Path inside repository to a directory containing Kustomization files
path: src/clusters/main/apps/fusion/kustomize
path: src/clusters/main/apps/emifuse/kustomize
dependsOn:
# Deploy Longhorn first
- name: longhorn
Expand All @@ -24,4 +24,4 @@ spec:
metadata:
name: .
spec:
targetNamespace: fusion
targetNamespace: emifuse
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
# Create fusion-helm Kustomization
# Create emifuse-helm Kustomization
apiVersion: kustomize.toolkit.fluxcd.io/v1
kind: Kustomization
metadata:
name: fusion-helm
name: emifuse-helm
spec:
# Path inside repository to a directory containing Kustomization files
path: tests/clusters/ci/main/apps/fusion/kustomize/fusion-helm/kustomize
path: src/clusters/main/apps/emifuse/kustomize/emifuse-helm/kustomize
dependsOn:
# Deploy namespace first
- name: fusion-namespace
- name: emifuse-namespace
# This key always needs to be here for patching to work
patches: []
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Create fusion-helm Kustomization
# Create emifuse-helm Kustomization
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
# Include the following configuration files
Expand All @@ -14,4 +14,4 @@ secretGenerator:
# It's important to include extension in the key
# SOPS will use it to determine the format of the content
- values.yaml=secrets/values.yaml
name: fusion-helm-secrets-values
name: emifuse-helm-secrets-values
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
# Create fusion Helm release
# Create emifuse Helm release
apiVersion: helm.toolkit.fluxcd.io/v2beta1
kind: HelmRelease
metadata:
name: fusion
name: emifuse
spec:
chart:
spec:
# Use this chart from the repository
chart: fusion
chart: emifuse
# Pin version to major
version: "0.x"
# Use this Helm repository
Expand All @@ -26,5 +26,5 @@ spec:
size: 1Gi
valuesFrom:
- kind: Secret
name: fusion-helm-secrets-values
name: emifuse-helm-secrets-values
valuesKey: values.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Create fusion Helm repository
# Create emifuse Helm repository
apiVersion: source.toolkit.fluxcd.io/v1beta2
kind: HelmRepository
metadata:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
# Create fusion-namespace Kustomization
# Create emifuse-namespace Kustomization
apiVersion: kustomize.toolkit.fluxcd.io/v1
kind: Kustomization
metadata:
name: fusion-namespace
name: emifuse-namespace
spec:
# Path inside repository to a directory containing Kustomization files
path: src/clusters/main/apps/fusion/kustomize/fusion-namespace/kustomize
path: src/clusters/main/apps/emifuse/kustomize/emifuse-namespace/kustomize
# This key always needs to be here for patching to work
patches: []
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Create fusion-namespace Kustomization
# Create emifuse-namespace Kustomization
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
# Include the following resources
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# Create emifuse namespace
apiVersion: v1
kind: Namespace
metadata:
name: emifuse
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
# Create fusion-traefik Kustomization
# Create emifuse-traefik Kustomization
apiVersion: kustomize.toolkit.fluxcd.io/v1
kind: Kustomization
metadata:
name: fusion-traefik
name: emifuse-traefik
spec:
# Path inside repository to a directory containing Kustomization files
path: tests/clusters/ci/main/apps/fusion/kustomize/fusion-traefik/kustomize
path: src/clusters/main/apps/emifuse/kustomize/emifuse-traefik/kustomize
dependsOn:
# Deploy Helm release first
- name: fusion-helm
- name: emifuse-helm
# This key always needs to be here for patching to work
patches: []
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Create fusion-traefik Kustomization
# Create emifuse-traefik Kustomization
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
# Include the following resources
Expand Down
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
# Create HTTP ingress route for fusion
# Create HTTP ingress route for emifuse
apiVersion: traefik.io/v1alpha1
kind: IngressRoute
metadata:
name: fusion-http
name: emifuse-http
spec:
entryPoints:
# Use entrypoint for HTTPS traffic
- https
routes:
# Match traffic with the Host header
- match: HostRegexp(`fusion\..*`)
- match: HostRegexp(`emifuse\..*`)
kind: Rule
services:
# Route traffic to the fusion service
- name: fusion
# Route traffic to the emifuse service
- name: emifuse
# This is the name of the port in the service
port: http
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# Create SRT ingress route for emifuse
apiVersion: traefik.io/v1alpha1
kind: IngressRouteUDP
metadata:
name: emifuse-srt
spec:
entryPoints:
# Use entrypoint for emifuse SRT traffic
- emifuse-srt
routes:
- services:
# Route traffic to the emifuse service
- name: emifuse
# This is the name of the port in the service
port: srt
8 changes: 8 additions & 0 deletions src/clusters/main/apps/emifuse/kustomize/kustomization.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# Create emifuse Kustomization
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
# Include the following resources
resources:
- emifuse-helm/emifuse-helm.yaml
- emifuse-namespace/emifuse-namespace.yaml
- emifuse-traefik/emifuse-traefik.yaml

This file was deleted.

This file was deleted.

8 changes: 0 additions & 8 deletions src/clusters/main/apps/fusion/kustomize/kustomization.yaml

This file was deleted.

2 changes: 1 addition & 1 deletion src/clusters/main/apps/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@ kind: Kustomization
# Include the following resources
resources:
- emicast/emicast.yaml
- emifuse/emifuse.yaml
- emipass/emipass.yaml
- emirecords/emirecords.yaml
- emischeduler/emischeduler.yaml
- emishows/emishows.yaml
- emistream/emistream.yaml
- emitunes/emitunes.yaml
- fusion/fusion.yaml
- podinfo/podinfo.yaml
- webscheduler/webscheduler.yaml
- webshows/webshows.yaml
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -77,13 +77,13 @@ spec:
# Enable TLS
tls:
enabled: true
# Port for fusion SRT traffic
fusion-srt:
# Port for emifuse SRT traffic
emifuse-srt:
# Expose it outside the cluster
expose: true
# Expose it on this port
exposedPort: 9999
# fusion SRT traffic uses UDP
# emifuse SRT traffic uses UDP
protocol: UDP
# Port to use inside the cluster
port: 9999
Expand All @@ -106,7 +106,7 @@ spec:
expose: true
# Expose it on this port
exposedPort: 9997
# fusion SRT traffic uses UDP
# emirecords SRT traffic uses UDP
protocol: UDP
# Port to use inside the cluster
port: 9997
Expand All @@ -116,7 +116,7 @@ spec:
expose: true
# Expose it on this port
exposedPort: 9996
# fusion SRT traffic uses UDP
# emistream SRT traffic uses UDP
protocol: UDP
# Port to use inside the cluster
port: 9996
Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
# Create fusion Kustomization
# Create emifuse Kustomization
apiVersion: kustomize.toolkit.fluxcd.io/v1
kind: Kustomization
metadata:
name: fusion
name: emifuse
spec:
# Path inside repository to a directory containing Kustomization files
path: tests/clusters/ci/main/apps/fusion/kustomize
path: tests/clusters/ci/main/apps/emifuse/kustomize
dependsOn:
# Deploy Traefik first
- name: traefik
Expand All @@ -22,4 +22,4 @@ spec:
metadata:
name: .
spec:
targetNamespace: fusion
targetNamespace: emifuse
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
# Create fusion-helm Kustomization
# Create emifuse-helm Kustomization
apiVersion: kustomize.toolkit.fluxcd.io/v1
kind: Kustomization
metadata:
name: fusion-helm
name: emifuse-helm
spec:
# Path inside repository to a directory containing Kustomization files
path: src/clusters/main/apps/fusion/kustomize/fusion-helm/kustomize
path: tests/clusters/ci/main/apps/emifuse/kustomize/emifuse-helm/kustomize
dependsOn:
# Deploy namespace first
- name: fusion-namespace
- name: emifuse-namespace
# This key always needs to be here for patching to work
patches: []
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Create fusion-helm Kustomization
# Create emifuse-helm Kustomization
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
# Include the following resources
Expand Down
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
# Create fusion Helm release
# Create emifuse Helm release
apiVersion: helm.toolkit.fluxcd.io/v2beta1
kind: HelmRelease
metadata:
name: fusion
name: emifuse
spec:
chart:
spec:
# Use this chart from the repository
chart: fusion
chart: emifuse
# Pin version to major
version: "0.x"
# Use this Helm repository
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Create fusion Helm repository
# Create emifuse Helm repository
apiVersion: source.toolkit.fluxcd.io/v1beta2
kind: HelmRepository
metadata:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
# Create fusion-namespace Kustomization
# Create emifuse-namespace Kustomization
apiVersion: kustomize.toolkit.fluxcd.io/v1
kind: Kustomization
metadata:
name: fusion-namespace
name: emifuse-namespace
spec:
# Path inside repository to a directory containing Kustomization files
path: tests/clusters/ci/main/apps/fusion/kustomize/fusion-namespace/kustomize
path: tests/clusters/ci/main/apps/emifuse/kustomize/emifuse-namespace/kustomize
# This key always needs to be here for patching to work
patches: []
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# Overlay emifuse-namespace Kustomization
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- ../../../../../../../../../src/clusters/main/apps/emifuse/kustomize/emifuse-namespace/kustomize
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
# Create fusion-traefik Kustomization
# Create emifuse-traefik Kustomization
apiVersion: kustomize.toolkit.fluxcd.io/v1
kind: Kustomization
metadata:
name: fusion-traefik
name: emifuse-traefik
spec:
# Path inside repository to a directory containing Kustomization files
path: src/clusters/main/apps/fusion/kustomize/fusion-traefik/kustomize
path: tests/clusters/ci/main/apps/emifuse/kustomize/emifuse-traefik/kustomize
dependsOn:
# Deploy Helm release first
- name: fusion-helm
- name: emifuse-helm
# This key always needs to be here for patching to work
patches: []
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# Overlay emifuse-traefik Kustomization
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- ../../../../../../../../../src/clusters/main/apps/emifuse/kustomize/emifuse-traefik/kustomize
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# Create emifuse Kustomization
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
# Include the following resources
resources:
- emifuse-helm/emifuse-helm.yaml
- emifuse-namespace/emifuse-namespace.yaml
- emifuse-traefik/emifuse-traefik.yaml

This file was deleted.

This file was deleted.

Loading

0 comments on commit 51553cf

Please sign in to comment.