Skip to content

Commit

Permalink
Renamed datatunes to mediatunes
Browse files Browse the repository at this point in the history
  • Loading branch information
spietras committed Jul 12, 2024
1 parent 655a973 commit 92718bb
Show file tree
Hide file tree
Showing 33 changed files with 89 additions and 89 deletions.

This file was deleted.

This file was deleted.

2 changes: 1 addition & 1 deletion src/clusters/main/databases/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ resources:
- datarecords/datarecords.yaml
- datashows/datashows.yaml
- datatimes/datatimes.yaml
- datatunes/datatunes.yaml
- mediatunes/mediatunes.yaml
# Apply patches for common configurations
patches:
# Set patch to add labels to all resources in nested Kustomizations
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# Create mediatunes Kustomization
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
# Include the following resources
resources:
- mediatunes-helm/mediatunes-helm.yaml
- mediatunes-namespace/mediatunes-namespace.yaml
- mediatunes-traefik/mediatunes-traefik.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Create datatunes-helm Kustomization
# Create mediatunes-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: datatunes-helm-secrets-values
name: mediatunes-helm-secrets-values
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
# Create datatunes Helm release
# Create mediatunes Helm release
apiVersion: helm.toolkit.fluxcd.io/v2beta1
kind: HelmRelease
metadata:
name: datatunes
name: mediatunes
spec:
chart:
spec:
# Use this chart from the repository
chart: datatunes
chart: mediatunes
# Pin version to major
version: "0.x"
# Use this Helm repository
Expand All @@ -19,7 +19,7 @@ spec:
values:
database:
urls:
web: https://web.datatunes.k8s.spietras.dev
web: https://web.mediatunes.k8s.spietras.dev
volume:
# Use ReadWriteOnce access mode
access: ReadWriteOnce
Expand All @@ -29,5 +29,5 @@ spec:
size: 1Gi
valuesFrom:
- kind: Secret
name: datatunes-helm-secrets-values
name: mediatunes-helm-secrets-values
valuesKey: values.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Create datatunes Helm repository
# Create mediatunes Helm repository
apiVersion: source.toolkit.fluxcd.io/v1beta2
kind: HelmRepository
metadata:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
# Create datatunes-helm Kustomization
# Create mediatunes-helm Kustomization
apiVersion: kustomize.toolkit.fluxcd.io/v1
kind: Kustomization
metadata:
name: datatunes-helm
name: mediatunes-helm
spec:
# Path inside repository to a directory containing Kustomization files
path: tests/clusters/ci/main/databases/datatunes/kustomize/datatunes-helm/kustomize
path: src/clusters/main/databases/mediatunes/kustomize/mediatunes-helm/kustomize
dependsOn:
# Deploy namespace first
- name: datatunes-namespace
- name: mediatunes-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 datatunes-namespace Kustomization
# Create mediatunes-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 mediatunes namespace
apiVersion: v1
kind: Namespace
metadata:
name: mediatunes
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
# Create datatunes-namespace Kustomization
# Create mediatunes-namespace Kustomization
apiVersion: kustomize.toolkit.fluxcd.io/v1
kind: Kustomization
metadata:
name: datatunes-namespace
name: mediatunes-namespace
spec:
# Path inside repository to a directory containing Kustomization files
path: src/clusters/main/databases/datatunes/kustomize/datatunes-namespace/kustomize
path: src/clusters/main/databases/mediatunes/kustomize/mediatunes-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 datatunes-traefik Kustomization
# Create mediatunes-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 S3 ingress route for datatunes
# Create S3 ingress route for mediatunes
apiVersion: traefik.io/v1alpha1
kind: IngressRoute
metadata:
name: datatunes-s3
name: mediatunes-s3
spec:
entryPoints:
# Use entrypoint for HTTPS traffic
- https
routes:
# Match traffic with the Host header
- match: HostRegexp(`datatunes\..*`)
- match: HostRegexp(`mediatunes\..*`)
kind: Rule
services:
# Route traffic to the datatunes service
- name: datatunes
# Route traffic to the mediatunes service
- name: mediatunes
# This is the name of the port in the service
port: s3
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
# Create web ingress route for datatunes
# Create web ingress route for mediatunes
apiVersion: traefik.io/v1alpha1
kind: IngressRoute
metadata:
name: datatunes-web
name: mediatunes-web
spec:
entryPoints:
# Use entrypoint for HTTPS traffic
- https
routes:
# Match traffic with the Host header
- match: HostRegexp(`web\.datatunes\..*`)
- match: HostRegexp(`web\.mediatunes\..*`)
kind: Rule
services:
# Route traffic to the datatunes service
- name: datatunes
# Route traffic to the mediatunes service
- name: mediatunes
# This is the name of the port in the service
port: web
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
# Create datatunes-traefik Kustomization
# Create mediatunes-traefik Kustomization
apiVersion: kustomize.toolkit.fluxcd.io/v1
kind: Kustomization
metadata:
name: datatunes-traefik
name: mediatunes-traefik
spec:
# Path inside repository to a directory containing Kustomization files
path: tests/clusters/ci/main/databases/datatunes/kustomize/datatunes-traefik/kustomize
path: src/clusters/main/databases/mediatunes/kustomize/mediatunes-traefik/kustomize
dependsOn:
# Deploy Helm release first
- name: datatunes-helm
- name: mediatunes-helm
# This key always needs to be here for patching to work
patches: []
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
# Create datatunes Kustomization
# Create mediatunes Kustomization
apiVersion: kustomize.toolkit.fluxcd.io/v1
kind: Kustomization
metadata:
name: datatunes
name: mediatunes
spec:
# Path inside repository to a directory containing Kustomization files
path: src/clusters/main/databases/datatunes/kustomize
path: src/clusters/main/databases/mediatunes/kustomize
dependsOn:
# Deploy Longhorn first
- name: longhorn
Expand All @@ -24,4 +24,4 @@ spec:
metadata:
name: .
spec:
targetNamespace: datatunes
targetNamespace: mediatunes
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ spec:
dnsNames:
- "*.k8s.spietras.dev"
- "*.datarecords.k8s.spietras.dev"
- "*.datatunes.k8s.spietras.dev"
- "*.emipass.k8s.spietras.dev"
- "*.mediatunes.k8s.spietras.dev"
# Use Let's Encrypt to issue the certificate
issuerRef:
name: letsencrypt
Expand Down

This file was deleted.

This file was deleted.

This file was deleted.

2 changes: 1 addition & 1 deletion tests/clusters/ci/main/databases/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ resources:
- datarecords/datarecords.yaml
- datashows/datashows.yaml
- datatimes/datatimes.yaml
- datatunes/datatunes.yaml
- mediatunes/mediatunes.yaml
# Apply patches for common configurations
patches:
# Set patch to add labels to all resources in nested Kustomizations
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# Create mediatunes Kustomization
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
# Include the following resources
resources:
- mediatunes-helm/mediatunes-helm.yaml
- mediatunes-namespace/mediatunes-namespace.yaml
- mediatunes-traefik/mediatunes-traefik.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Create datatunes-helm Kustomization
# Create mediatunes-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 datatunes Helm release
# Create mediatunes Helm release
apiVersion: helm.toolkit.fluxcd.io/v2beta1
kind: HelmRelease
metadata:
name: datatunes
name: mediatunes
spec:
chart:
spec:
# Use this chart from the repository
chart: datatunes
chart: mediatunes
# 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 datatunes Helm repository
# Create mediatunes Helm repository
apiVersion: source.toolkit.fluxcd.io/v1beta2
kind: HelmRepository
metadata:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
# Create datatunes-helm Kustomization
# Create mediatunes-helm Kustomization
apiVersion: kustomize.toolkit.fluxcd.io/v1
kind: Kustomization
metadata:
name: datatunes-helm
name: mediatunes-helm
spec:
# Path inside repository to a directory containing Kustomization files
path: src/clusters/main/databases/datatunes/kustomize/datatunes-helm/kustomize
path: tests/clusters/ci/main/databases/mediatunes/kustomize/mediatunes-helm/kustomize
dependsOn:
# Deploy namespace first
- name: datatunes-namespace
- name: mediatunes-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,5 @@
# Overlay mediatunes-namespace Kustomization
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- ../../../../../../../../../src/clusters/main/databases/mediatunes/kustomize/mediatunes-namespace/kustomize
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
# Create datatunes-namespace Kustomization
# Create mediatunes-namespace Kustomization
apiVersion: kustomize.toolkit.fluxcd.io/v1
kind: Kustomization
metadata:
name: datatunes-namespace
name: mediatunes-namespace
spec:
# Path inside repository to a directory containing Kustomization files
path: tests/clusters/ci/main/databases/datatunes/kustomize/datatunes-namespace/kustomize
path: tests/clusters/ci/main/databases/mediatunes/kustomize/mediatunes-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 mediatunes-traefik Kustomization
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- ../../../../../../../../../src/clusters/main/databases/mediatunes/kustomize/mediatunes-traefik/kustomize
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
# Create datatunes-traefik Kustomization
# Create mediatunes-traefik Kustomization
apiVersion: kustomize.toolkit.fluxcd.io/v1
kind: Kustomization
metadata:
name: datatunes-traefik
name: mediatunes-traefik
spec:
# Path inside repository to a directory containing Kustomization files
path: src/clusters/main/databases/datatunes/kustomize/datatunes-traefik/kustomize
path: tests/clusters/ci/main/databases/mediatunes/kustomize/mediatunes-traefik/kustomize
dependsOn:
# Deploy Helm release first
- name: datatunes-helm
- name: mediatunes-helm
# This key always needs to be here for patching to work
patches: []
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
# Create datatunes Kustomization
# Create mediatunes Kustomization
apiVersion: kustomize.toolkit.fluxcd.io/v1
kind: Kustomization
metadata:
name: datatunes
name: mediatunes
spec:
# Path inside repository to a directory containing Kustomization files
path: tests/clusters/ci/main/databases/datatunes/kustomize
path: tests/clusters/ci/main/databases/mediatunes/kustomize
dependsOn:
# Deploy Traefik first
- name: traefik
Expand All @@ -22,4 +22,4 @@ spec:
metadata:
name: .
spec:
targetNamespace: datatunes
targetNamespace: mediatunes

0 comments on commit 92718bb

Please sign in to comment.