Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Changed project names #123

Merged
merged 1 commit into from
Oct 21, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
25 changes: 25 additions & 0 deletions src/clusters/main/apps/aster/aster.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# Create aster Kustomization
apiVersion: kustomize.toolkit.fluxcd.io/v1
kind: Kustomization
metadata:
name: aster
spec:
# Path inside repository to a directory containing Kustomization files
path: src/clusters/main/apps/aster/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: aster
13 changes: 13 additions & 0 deletions src/clusters/main/apps/aster/kustomize/aster-helm/aster-helm.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# Create aster-helm Kustomization
apiVersion: kustomize.toolkit.fluxcd.io/v1
kind: Kustomization
metadata:
name: aster-helm
spec:
# Path inside repository to a directory containing Kustomization files
path: src/clusters/main/apps/aster/kustomize/aster-helm/kustomize
dependsOn:
# Deploy namespace first
- name: aster-namespace
# 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,7 @@
# Create aster-helm Kustomization
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
# Include the following resources
resources:
- resources/release.yaml
- resources/repository.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# Create aster Helm release
apiVersion: helm.toolkit.fluxcd.io/v2beta1
kind: HelmRelease
metadata:
name: aster
spec:
chart:
spec:
# Use this chart from the repository
chart: aster
# 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: []
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# Create aster Helm repository
apiVersion: source.toolkit.fluxcd.io/v1beta2
kind: HelmRepository
metadata:
name: radio-aktywne
spec:
type: oci
url: oci://ghcr.io/radio-aktywne/charts
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# Create aster-namespace Kustomization
apiVersion: kustomize.toolkit.fluxcd.io/v1
kind: Kustomization
metadata:
name: aster-namespace
spec:
# Path inside repository to a directory containing Kustomization files
path: src/clusters/main/apps/aster/kustomize/aster-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,6 @@
# Create aster-namespace Kustomization
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
# Include the following resources
resources:
- resources/namespace.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# Create aster namespace
apiVersion: v1
kind: Namespace
metadata:
name: aster
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# Create aster-traefik Kustomization
apiVersion: kustomize.toolkit.fluxcd.io/v1
kind: Kustomization
metadata:
name: aster-traefik
spec:
# Path inside repository to a directory containing Kustomization files
path: src/clusters/main/apps/aster/kustomize/aster-traefik/kustomize
dependsOn:
# Deploy Helm release first
- name: aster-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,6 @@
# Create aster-traefik Kustomization
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
# Include the following resources
resources:
- resources/routes/http.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# Create HTTP ingress route for aster
apiVersion: traefik.io/v1alpha1
kind: IngressRoute
metadata:
name: aster-http
spec:
entryPoints:
# Use entrypoint for HTTPS traffic
- https
routes:
# Match traffic with the Host header
- match: HostRegexp(`aster\..*`)
kind: Rule
services:
# Route traffic to the aster service
- name: aster
# This is the name of the port in the service
port: http
8 changes: 8 additions & 0 deletions src/clusters/main/apps/aster/kustomize/kustomization.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# Create aster Kustomization
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
# Include the following resources
resources:
- aster-helm/aster-helm.yaml
- aster-namespace/aster-namespace.yaml
- aster-traefik/aster-traefik.yaml
25 changes: 25 additions & 0 deletions src/clusters/main/apps/daisy/daisy.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# Create daisy Kustomization
apiVersion: kustomize.toolkit.fluxcd.io/v1
kind: Kustomization
metadata:
name: daisy
spec:
# Path inside repository to a directory containing Kustomization files
path: src/clusters/main/apps/daisy/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: daisy
13 changes: 13 additions & 0 deletions src/clusters/main/apps/daisy/kustomize/daisy-helm/daisy-helm.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# Create daisy-helm Kustomization
apiVersion: kustomize.toolkit.fluxcd.io/v1
kind: Kustomization
metadata:
name: daisy-helm
spec:
# Path inside repository to a directory containing Kustomization files
path: src/clusters/main/apps/daisy/kustomize/daisy-helm/kustomize
dependsOn:
# Deploy namespace first
- name: daisy-namespace
# 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,7 @@
# Create daisy-helm Kustomization
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
# Include the following resources
resources:
- resources/release.yaml
- resources/repository.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# Create daisy Helm release
apiVersion: helm.toolkit.fluxcd.io/v2beta1
kind: HelmRelease
metadata:
name: daisy
spec:
chart:
spec:
# Use this chart from the repository
chart: daisy
# 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: []
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# Create daisy Helm repository
apiVersion: source.toolkit.fluxcd.io/v1beta2
kind: HelmRepository
metadata:
name: radio-aktywne
spec:
type: oci
url: oci://ghcr.io/radio-aktywne/charts
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# Create daisy-namespace Kustomization
apiVersion: kustomize.toolkit.fluxcd.io/v1
kind: Kustomization
metadata:
name: daisy-namespace
spec:
# Path inside repository to a directory containing Kustomization files
path: src/clusters/main/apps/daisy/kustomize/daisy-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,6 @@
# Create daisy-namespace Kustomization
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
# Include the following resources
resources:
- resources/namespace.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# Create daisy namespace
apiVersion: v1
kind: Namespace
metadata:
name: daisy
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# Create daisy-traefik Kustomization
apiVersion: kustomize.toolkit.fluxcd.io/v1
kind: Kustomization
metadata:
name: daisy-traefik
spec:
# Path inside repository to a directory containing Kustomization files
path: src/clusters/main/apps/daisy/kustomize/daisy-traefik/kustomize
dependsOn:
# Deploy Helm release first
- name: daisy-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,6 @@
# Create daisy-traefik Kustomization
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
# Include the following resources
resources:
- resources/routes/http.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# Create HTTP ingress route for daisy
apiVersion: traefik.io/v1alpha1
kind: IngressRoute
metadata:
name: daisy-http
spec:
entryPoints:
# Use entrypoint for HTTPS traffic
- https
routes:
# Match traffic with the Host header
- match: HostRegexp(`daisy\..*`)
kind: Rule
services:
# Route traffic to the daisy service
- name: daisy
# This is the name of the port in the service
port: http
8 changes: 8 additions & 0 deletions src/clusters/main/apps/daisy/kustomize/kustomization.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# Create daisy Kustomization
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
# Include the following resources
resources:
- daisy-helm/daisy-helm.yaml
- daisy-namespace/daisy-namespace.yaml
- daisy-traefik/daisy-traefik.yaml
25 changes: 0 additions & 25 deletions src/clusters/main/apps/emicast/emicast.yaml

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Loading