-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
26 changed files
with
267 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
# Create emipass Kustomization | ||
apiVersion: kustomize.toolkit.fluxcd.io/v1 | ||
kind: Kustomization | ||
metadata: | ||
name: emipass | ||
spec: | ||
# Path inside repository to a directory containing Kustomization files | ||
path: src/clusters/main/apps/emipass/kustomize | ||
dependsOn: | ||
# Deploy Traefik first | ||
- name: traefik | ||
# Apply patches for common configurations | ||
# This key always needs to be here for patching to work | ||
patches: | ||
# Set target namespace | ||
- target: | ||
group: kustomize.toolkit.fluxcd.io | ||
kind: Kustomization | ||
name: .* | ||
patch: | | ||
kind: . | ||
metadata: | ||
name: . | ||
spec: | ||
targetNamespace: emipass |
13 changes: 13 additions & 0 deletions
13
src/clusters/main/apps/emipass/kustomize/emipass-helm/emipass-helm.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
# Create emipass-helm Kustomization | ||
apiVersion: kustomize.toolkit.fluxcd.io/v1 | ||
kind: Kustomization | ||
metadata: | ||
name: emipass-helm | ||
spec: | ||
# Path inside repository to a directory containing Kustomization files | ||
path: src/clusters/main/apps/emipass/kustomize/emipass-helm/kustomize | ||
dependsOn: | ||
# Deploy namespace first | ||
- name: emipass-namespace | ||
# This key always needs to be here for patching to work | ||
patches: [] |
7 changes: 7 additions & 0 deletions
7
src/clusters/main/apps/emipass/kustomize/emipass-helm/kustomize/kustomization.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
# Create emipass-helm Kustomization | ||
apiVersion: kustomize.config.k8s.io/v1beta1 | ||
kind: Kustomization | ||
# Include the following resources | ||
resources: | ||
- resources/release.yaml | ||
- resources/repository.yaml |
16 changes: 16 additions & 0 deletions
16
src/clusters/main/apps/emipass/kustomize/emipass-helm/kustomize/resources/release.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
# Create emipass Helm release | ||
apiVersion: helm.toolkit.fluxcd.io/v2beta1 | ||
kind: HelmRelease | ||
metadata: | ||
name: emipass | ||
spec: | ||
chart: | ||
spec: | ||
# Use this chart from the repository | ||
chart: emipass | ||
# Use this Helm repository | ||
sourceRef: | ||
kind: HelmRepository | ||
name: radio-aktywne | ||
# This key always needs to be here for patching to work | ||
postRenderers: [] |
8 changes: 8 additions & 0 deletions
8
src/clusters/main/apps/emipass/kustomize/emipass-helm/kustomize/resources/repository.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
# Create emipass Helm repository | ||
apiVersion: source.toolkit.fluxcd.io/v1beta2 | ||
kind: HelmRepository | ||
metadata: | ||
name: radio-aktywne | ||
spec: | ||
type: oci | ||
url: oci://ghcr.io/radio-aktywne/charts |
10 changes: 10 additions & 0 deletions
10
src/clusters/main/apps/emipass/kustomize/emipass-namespace/emipass-namespace.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
# Create emipass-namespace Kustomization | ||
apiVersion: kustomize.toolkit.fluxcd.io/v1 | ||
kind: Kustomization | ||
metadata: | ||
name: emipass-namespace | ||
spec: | ||
# Path inside repository to a directory containing Kustomization files | ||
path: src/clusters/main/apps/emipass/kustomize/emipass-namespace/kustomize | ||
# This key always needs to be here for patching to work | ||
patches: [] |
6 changes: 6 additions & 0 deletions
6
src/clusters/main/apps/emipass/kustomize/emipass-namespace/kustomize/kustomization.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
# Create emipass-namespace Kustomization | ||
apiVersion: kustomize.config.k8s.io/v1beta1 | ||
kind: Kustomization | ||
# Include the following resources | ||
resources: | ||
- resources/namespace.yaml |
5 changes: 5 additions & 0 deletions
5
...clusters/main/apps/emipass/kustomize/emipass-namespace/kustomize/resources/namespace.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# Create emipass namespace | ||
apiVersion: v1 | ||
kind: Namespace | ||
metadata: | ||
name: emipass |
13 changes: 13 additions & 0 deletions
13
src/clusters/main/apps/emipass/kustomize/emipass-traefik/emipass-traefik.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
# Create emipass-traefik Kustomization | ||
apiVersion: kustomize.toolkit.fluxcd.io/v1 | ||
kind: Kustomization | ||
metadata: | ||
name: emipass-traefik | ||
spec: | ||
# Path inside repository to a directory containing Kustomization files | ||
path: src/clusters/main/apps/emipass/kustomize/emipass-traefik/kustomize | ||
dependsOn: | ||
# Deploy Helm release first | ||
- name: emipass-helm | ||
# This key always needs to be here for patching to work | ||
patches: [] |
8 changes: 8 additions & 0 deletions
8
src/clusters/main/apps/emipass/kustomize/emipass-traefik/kustomize/kustomization.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
# Create emipass-traefik Kustomization | ||
apiVersion: kustomize.config.k8s.io/v1beta1 | ||
kind: Kustomization | ||
# Include the following resources | ||
resources: | ||
- resources/routes/http.yaml | ||
- resources/routes/whip.yaml | ||
- resources/routes/rtp.yaml |
18 changes: 18 additions & 0 deletions
18
...clusters/main/apps/emipass/kustomize/emipass-traefik/kustomize/resources/routes/http.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
# Create HTTP ingress route for emipass | ||
apiVersion: traefik.io/v1alpha1 | ||
kind: IngressRoute | ||
metadata: | ||
name: emipass-http | ||
spec: | ||
entryPoints: | ||
# Use entrypoint for HTTPS traffic | ||
- https | ||
routes: | ||
# Match traffic with the Host header | ||
- match: HostRegexp(`emipass\..*`) | ||
kind: Rule | ||
services: | ||
# Route traffic to the emipass service | ||
- name: emipass | ||
# This is the name of the port in the service | ||
port: http |
15 changes: 15 additions & 0 deletions
15
src/clusters/main/apps/emipass/kustomize/emipass-traefik/kustomize/resources/routes/rtp.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
# Create RTP ingress route for emipass | ||
apiVersion: traefik.io/v1alpha1 | ||
kind: IngressRouteUDP | ||
metadata: | ||
name: emipass-rtp | ||
spec: | ||
entryPoints: | ||
# Use entrypoint for emipass RTP traffic | ||
- emipass-rtp | ||
routes: | ||
- services: | ||
# Route traffic to the emipass service | ||
- name: emipass | ||
# This is the name of the port in the service | ||
port: rtp |
18 changes: 18 additions & 0 deletions
18
...clusters/main/apps/emipass/kustomize/emipass-traefik/kustomize/resources/routes/whip.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
# Create WHIP ingress route for emipass | ||
apiVersion: traefik.io/v1alpha1 | ||
kind: IngressRoute | ||
metadata: | ||
name: emipass-whip | ||
spec: | ||
entryPoints: | ||
# Use entrypoint for HTTPS traffic | ||
- https | ||
routes: | ||
# Match traffic with the Host header | ||
- match: HostRegexp(`whip.emipass\..*`) | ||
kind: Rule | ||
services: | ||
# Route traffic to the emipass service | ||
- name: emipass | ||
# This is the name of the port in the service | ||
port: whip |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
# Create emipass Kustomization | ||
apiVersion: kustomize.config.k8s.io/v1beta1 | ||
kind: Kustomization | ||
# Include the following resources | ||
resources: | ||
- emipass-helm/emipass-helm.yaml | ||
- emipass-namespace/emipass-namespace.yaml | ||
- emipass-traefik/emipass-traefik.yaml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
# Create emipass Kustomization | ||
apiVersion: kustomize.toolkit.fluxcd.io/v1 | ||
kind: Kustomization | ||
metadata: | ||
name: emipass | ||
spec: | ||
# Path inside repository to a directory containing Kustomization files | ||
path: tests/clusters/ci/main/apps/emipass/kustomize | ||
dependsOn: | ||
# Deploy Traefik first | ||
- name: traefik | ||
# Apply patches for common configurations | ||
# This key always needs to be here for patching to work | ||
patches: | ||
# Set target namespace | ||
- target: | ||
group: kustomize.toolkit.fluxcd.io | ||
kind: Kustomization | ||
name: .* | ||
patch: | | ||
kind: . | ||
metadata: | ||
name: . | ||
spec: | ||
targetNamespace: emipass |
13 changes: 13 additions & 0 deletions
13
tests/clusters/ci/main/apps/emipass/kustomize/emipass-helm/emipass-helm.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
# Create emipass-helm Kustomization | ||
apiVersion: kustomize.toolkit.fluxcd.io/v1 | ||
kind: Kustomization | ||
metadata: | ||
name: emipass-helm | ||
spec: | ||
# Path inside repository to a directory containing Kustomization files | ||
path: tests/clusters/ci/main/apps/emipass/kustomize/emipass-helm/kustomize | ||
dependsOn: | ||
# Deploy namespace first | ||
- name: emipass-namespace | ||
# This key always needs to be here for patching to work | ||
patches: [] |
5 changes: 5 additions & 0 deletions
5
tests/clusters/ci/main/apps/emipass/kustomize/emipass-helm/kustomize/kustomization.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# Overlay emipass-helm Kustomization | ||
apiVersion: kustomize.config.k8s.io/v1beta1 | ||
kind: Kustomization | ||
resources: | ||
- ../../../../../../../../../src/clusters/main/apps/emipass/kustomize/emipass-helm/kustomize |
10 changes: 10 additions & 0 deletions
10
tests/clusters/ci/main/apps/emipass/kustomize/emipass-namespace/emipass-namespace.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
# Create emipass-namespace Kustomization | ||
apiVersion: kustomize.toolkit.fluxcd.io/v1 | ||
kind: Kustomization | ||
metadata: | ||
name: emipass-namespace | ||
spec: | ||
# Path inside repository to a directory containing Kustomization files | ||
path: tests/clusters/ci/main/apps/emipass/kustomize/emipass-namespace/kustomize | ||
# This key always needs to be here for patching to work | ||
patches: [] |
5 changes: 5 additions & 0 deletions
5
tests/clusters/ci/main/apps/emipass/kustomize/emipass-namespace/kustomize/kustomization.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# Overlay emipass-namespace Kustomization | ||
apiVersion: kustomize.config.k8s.io/v1beta1 | ||
kind: Kustomization | ||
resources: | ||
- ../../../../../../../../../src/clusters/main/apps/emipass/kustomize/emipass-namespace/kustomize |
13 changes: 13 additions & 0 deletions
13
tests/clusters/ci/main/apps/emipass/kustomize/emipass-traefik/emipass-traefik.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
# Create emipass-traefik Kustomization | ||
apiVersion: kustomize.toolkit.fluxcd.io/v1 | ||
kind: Kustomization | ||
metadata: | ||
name: emipass-traefik | ||
spec: | ||
# Path inside repository to a directory containing Kustomization files | ||
path: tests/clusters/ci/main/apps/emipass/kustomize/emipass-traefik/kustomize | ||
dependsOn: | ||
# Deploy Helm release first | ||
- name: emipass-helm | ||
# This key always needs to be here for patching to work | ||
patches: [] |
5 changes: 5 additions & 0 deletions
5
tests/clusters/ci/main/apps/emipass/kustomize/emipass-traefik/kustomize/kustomization.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# Overlay emipass-traefik Kustomization | ||
apiVersion: kustomize.config.k8s.io/v1beta1 | ||
kind: Kustomization | ||
resources: | ||
- ../../../../../../../../../src/clusters/main/apps/emipass/kustomize/emipass-traefik/kustomize |
8 changes: 8 additions & 0 deletions
8
tests/clusters/ci/main/apps/emipass/kustomize/kustomization.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
# Create emipass Kustomization | ||
apiVersion: kustomize.config.k8s.io/v1beta1 | ||
kind: Kustomization | ||
# Include the following resources | ||
resources: | ||
- emipass-helm/emipass-helm.yaml | ||
- emipass-namespace/emipass-namespace.yaml | ||
- emipass-traefik/emipass-traefik.yaml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters