-
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
22 changed files
with
223 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
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 webfuse Kustomization | ||
apiVersion: kustomize.config.k8s.io/v1beta1 | ||
kind: Kustomization | ||
# Include the following resources | ||
resources: | ||
- webfuse-helm/webfuse-helm.yaml | ||
- webfuse-namespace/webfuse-namespace.yaml | ||
- webfuse-traefik/webfuse-traefik.yaml |
7 changes: 7 additions & 0 deletions
7
src/clusters/main/apps/webfuse/kustomize/webfuse-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 webfuse-helm Kustomization | ||
apiVersion: kustomize.config.k8s.io/v1beta1 | ||
kind: Kustomization | ||
# Include the following resources | ||
resources: | ||
- resources/release.yaml | ||
- resources/repository.yaml |
18 changes: 18 additions & 0 deletions
18
src/clusters/main/apps/webfuse/kustomize/webfuse-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,18 @@ | ||
# Create webfuse Helm release | ||
apiVersion: helm.toolkit.fluxcd.io/v2beta1 | ||
kind: HelmRelease | ||
metadata: | ||
name: webfuse | ||
spec: | ||
chart: | ||
spec: | ||
# Use this chart from the repository | ||
chart: webfuse | ||
# Pin version to major | ||
version: "0.x" | ||
# 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/webfuse/kustomize/webfuse-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 webfuse Helm repository | ||
apiVersion: source.toolkit.fluxcd.io/v1beta2 | ||
kind: HelmRepository | ||
metadata: | ||
name: radio-aktywne | ||
spec: | ||
type: oci | ||
url: oci://ghcr.io/radio-aktywne/charts |
13 changes: 13 additions & 0 deletions
13
src/clusters/main/apps/webfuse/kustomize/webfuse-helm/webfuse-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 webfuse-helm Kustomization | ||
apiVersion: kustomize.toolkit.fluxcd.io/v1 | ||
kind: Kustomization | ||
metadata: | ||
name: webfuse-helm | ||
spec: | ||
# Path inside repository to a directory containing Kustomization files | ||
path: src/clusters/main/apps/webfuse/kustomize/webfuse-helm/kustomize | ||
dependsOn: | ||
# Deploy namespace first | ||
- name: webfuse-namespace | ||
# This key always needs to be here for patching to work | ||
patches: [] |
6 changes: 6 additions & 0 deletions
6
src/clusters/main/apps/webfuse/kustomize/webfuse-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 webfuse-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/webfuse/kustomize/webfuse-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 webfuse namespace | ||
apiVersion: v1 | ||
kind: Namespace | ||
metadata: | ||
name: webfuse |
10 changes: 10 additions & 0 deletions
10
src/clusters/main/apps/webfuse/kustomize/webfuse-namespace/webfuse-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 webfuse-namespace Kustomization | ||
apiVersion: kustomize.toolkit.fluxcd.io/v1 | ||
kind: Kustomization | ||
metadata: | ||
name: webfuse-namespace | ||
spec: | ||
# Path inside repository to a directory containing Kustomization files | ||
path: src/clusters/main/apps/webfuse/kustomize/webfuse-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/webfuse/kustomize/webfuse-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,6 @@ | ||
# Create webfuse-traefik Kustomization | ||
apiVersion: kustomize.config.k8s.io/v1beta1 | ||
kind: Kustomization | ||
# Include the following resources | ||
resources: | ||
- resources/routes/http.yaml |
18 changes: 18 additions & 0 deletions
18
...clusters/main/apps/webfuse/kustomize/webfuse-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 webfuse | ||
apiVersion: traefik.io/v1alpha1 | ||
kind: IngressRoute | ||
metadata: | ||
name: webfuse-http | ||
spec: | ||
entryPoints: | ||
# Use entrypoint for HTTPS traffic | ||
- https | ||
routes: | ||
# Match traffic with the Host header | ||
- match: HostRegexp(`webfuse\..*`) | ||
kind: Rule | ||
services: | ||
# Route traffic to the webfuse service | ||
- name: webfuse | ||
# This is the name of the port in the service | ||
port: http |
13 changes: 13 additions & 0 deletions
13
src/clusters/main/apps/webfuse/kustomize/webfuse-traefik/webfuse-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 webfuse-traefik Kustomization | ||
apiVersion: kustomize.toolkit.fluxcd.io/v1 | ||
kind: Kustomization | ||
metadata: | ||
name: webfuse-traefik | ||
spec: | ||
# Path inside repository to a directory containing Kustomization files | ||
path: src/clusters/main/apps/webfuse/kustomize/webfuse-traefik/kustomize | ||
dependsOn: | ||
# Deploy Helm release first | ||
- name: webfuse-helm | ||
# This key always needs to be here for patching to work | ||
patches: [] |
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 webfuse Kustomization | ||
apiVersion: kustomize.toolkit.fluxcd.io/v1 | ||
kind: Kustomization | ||
metadata: | ||
name: webfuse | ||
spec: | ||
# Path inside repository to a directory containing Kustomization files | ||
path: src/clusters/main/apps/webfuse/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: webfuse |
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
8 changes: 8 additions & 0 deletions
8
tests/clusters/ci/main/apps/webfuse/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 webfuse Kustomization | ||
apiVersion: kustomize.config.k8s.io/v1beta1 | ||
kind: Kustomization | ||
# Include the following resources | ||
resources: | ||
- webfuse-helm/webfuse-helm.yaml | ||
- webfuse-namespace/webfuse-namespace.yaml | ||
- webfuse-traefik/webfuse-traefik.yaml |
5 changes: 5 additions & 0 deletions
5
tests/clusters/ci/main/apps/webfuse/kustomize/webfuse-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 webfuse-helm Kustomization | ||
apiVersion: kustomize.config.k8s.io/v1beta1 | ||
kind: Kustomization | ||
resources: | ||
- ../../../../../../../../../src/clusters/main/apps/webfuse/kustomize/webfuse-helm/kustomize |
13 changes: 13 additions & 0 deletions
13
tests/clusters/ci/main/apps/webfuse/kustomize/webfuse-helm/webfuse-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 webfuse-helm Kustomization | ||
apiVersion: kustomize.toolkit.fluxcd.io/v1 | ||
kind: Kustomization | ||
metadata: | ||
name: webfuse-helm | ||
spec: | ||
# Path inside repository to a directory containing Kustomization files | ||
path: tests/clusters/ci/main/apps/webfuse/kustomize/webfuse-helm/kustomize | ||
dependsOn: | ||
# Deploy namespace first | ||
- name: webfuse-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/webfuse/kustomize/webfuse-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 webfuse-namespace Kustomization | ||
apiVersion: kustomize.config.k8s.io/v1beta1 | ||
kind: Kustomization | ||
resources: | ||
- ../../../../../../../../../src/clusters/main/apps/webfuse/kustomize/webfuse-namespace/kustomize |
10 changes: 10 additions & 0 deletions
10
tests/clusters/ci/main/apps/webfuse/kustomize/webfuse-namespace/webfuse-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 webfuse-namespace Kustomization | ||
apiVersion: kustomize.toolkit.fluxcd.io/v1 | ||
kind: Kustomization | ||
metadata: | ||
name: webfuse-namespace | ||
spec: | ||
# Path inside repository to a directory containing Kustomization files | ||
path: tests/clusters/ci/main/apps/webfuse/kustomize/webfuse-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/webfuse/kustomize/webfuse-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 webfuse-traefik Kustomization | ||
apiVersion: kustomize.config.k8s.io/v1beta1 | ||
kind: Kustomization | ||
resources: | ||
- ../../../../../../../../../src/clusters/main/apps/webfuse/kustomize/webfuse-traefik/kustomize |
13 changes: 13 additions & 0 deletions
13
tests/clusters/ci/main/apps/webfuse/kustomize/webfuse-traefik/webfuse-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 webfuse-traefik Kustomization | ||
apiVersion: kustomize.toolkit.fluxcd.io/v1 | ||
kind: Kustomization | ||
metadata: | ||
name: webfuse-traefik | ||
spec: | ||
# Path inside repository to a directory containing Kustomization files | ||
path: tests/clusters/ci/main/apps/webfuse/kustomize/webfuse-traefik/kustomize | ||
dependsOn: | ||
# Deploy Helm release first | ||
- name: webfuse-helm | ||
# This key always needs to be here for patching to work | ||
patches: [] |
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 webfuse Kustomization | ||
apiVersion: kustomize.toolkit.fluxcd.io/v1 | ||
kind: Kustomization | ||
metadata: | ||
name: webfuse | ||
spec: | ||
# Path inside repository to a directory containing Kustomization files | ||
path: tests/clusters/ci/main/apps/webfuse/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: webfuse |