Moving cnpg cluster to proper namespace/app folder.

This commit is contained in:
Joseph Hanson 2023-08-15 16:46:41 +00:00
parent 9e96dd9916
commit 389bbc3c70
6 changed files with 185 additions and 185 deletions

View file

@ -14,22 +14,3 @@ spec:
interval: 30m interval: 30m
retryInterval: 1m retryInterval: 1m
timeout: 5m timeout: 5m
---
apiVersion: kustomize.toolkit.fluxcd.io/v1
kind: Kustomization
metadata:
name: cluster-apps-cloudnative-pg-cluster
namespace: flux-system
spec:
dependsOn:
- name: cluster-apps-cloudnative-pg
- name: cluster-apps-external-secrets-stores
path: ./kubernetes/apps/database/cloudnative-pg/cluster
prune: true
sourceRef:
kind: GitRepository
name: valinor
wait: true
interval: 30m
retryInterval: 1m
timeout: 5m

View file

@ -1,166 +1,185 @@
# --- ---
# apiVersion: kustomize.toolkit.fluxcd.io/v1 apiVersion: kustomize.toolkit.fluxcd.io/v1
# kind: Kustomization kind: Kustomization
# metadata: metadata:
# name: cluster-apps-mastodon name: cluster-apps-mastodon
# namespace: flux-system namespace: flux-system
# labels: labels:
# substitution.flux.home.arpa/enabled: "true" substitution.flux.home.arpa/enabled: "true"
# spec: spec:
# interval: 10m interval: 10m
# path: "./kubernetes/apps/fediverse/mastodon/app" path: "./kubernetes/apps/fediverse/mastodon/app"
# prune: true prune: true
# sourceRef: sourceRef:
# kind: GitRepository kind: GitRepository
# name: valinor name: valinor
# wait: true wait: true
# dependsOn: dependsOn:
# - name: cluster-apps-external-secrets-stores - name: cluster-apps-external-secrets-stores
# --- ---
# apiVersion: kustomize.toolkit.fluxcd.io/v1 apiVersion: kustomize.toolkit.fluxcd.io/v1
# kind: Kustomization kind: Kustomization
# metadata: metadata:
# name: cluster-apps-mastodon-web name: cluster-apps-mastodon-web
# namespace: flux-system namespace: flux-system
# labels: labels:
# substitution.flux.home.arpa/enabled: "true" substitution.flux.home.arpa/enabled: "true"
# spec: spec:
# interval: 10m interval: 10m
# path: "./kubernetes/apps/fediverse/mastodon/app/mastodon-web" path: "./kubernetes/apps/fediverse/mastodon/app/mastodon-web"
# prune: true prune: true
# sourceRef: sourceRef:
# kind: GitRepository kind: GitRepository
# name: valinor name: valinor
# wait: true wait: true
# dependsOn: dependsOn:
# - name: cluster-apps-external-secrets-stores - name: cluster-apps-external-secrets-stores
# - name: cluster-apps-mastodon - name: cluster-apps-mastodon
# --- ---
# apiVersion: kustomize.toolkit.fluxcd.io/v1 apiVersion: kustomize.toolkit.fluxcd.io/v1
# kind: Kustomization kind: Kustomization
# metadata: metadata:
# name: cluster-apps-mastodon-streaming name: cluster-apps-mastodon-streaming
# namespace: flux-system namespace: flux-system
# labels: labels:
# substitution.flux.home.arpa/enabled: "true" substitution.flux.home.arpa/enabled: "true"
# spec: spec:
# interval: 10m interval: 10m
# path: "./kubernetes/apps/fediverse/mastodon/app/mastodon-streaming" path: "./kubernetes/apps/fediverse/mastodon/app/mastodon-streaming"
# prune: true prune: true
# sourceRef: sourceRef:
# kind: GitRepository kind: GitRepository
# name: valinor name: valinor
# wait: true wait: true
# dependsOn: dependsOn:
# - name: cluster-apps-external-secrets-stores - name: cluster-apps-external-secrets-stores
# - name: cluster-apps-mastodon - name: cluster-apps-mastodon
# --- ---
# apiVersion: kustomize.toolkit.fluxcd.io/v1 apiVersion: kustomize.toolkit.fluxcd.io/v1
# kind: Kustomization kind: Kustomization
# metadata: metadata:
# name: cluster-apps-mastodon-statsd name: cluster-apps-mastodon-statsd
# namespace: flux-system namespace: flux-system
# labels: labels:
# substitution.flux.home.arpa/enabled: "true" substitution.flux.home.arpa/enabled: "true"
# spec: spec:
# interval: 10m interval: 10m
# path: "./kubernetes/apps/fediverse/mastodon/app/statsd" path: "./kubernetes/apps/fediverse/mastodon/app/statsd"
# prune: true prune: true
# sourceRef: sourceRef:
# kind: GitRepository kind: GitRepository
# name: valinor name: valinor
# wait: true wait: true
# --- ---
# apiVersion: kustomize.toolkit.fluxcd.io/v1 apiVersion: kustomize.toolkit.fluxcd.io/v1
# kind: Kustomization kind: Kustomization
# metadata: metadata:
# name: cluster-apps-mastodon-addons name: cluster-apps-mastodon-addons
# namespace: flux-system namespace: flux-system
# labels: labels:
# substitution.flux.home.arpa/enabled: "true" substitution.flux.home.arpa/enabled: "true"
# spec: spec:
# interval: 10m interval: 10m
# path: "./kubernetes/apps/fediverse/mastodon/add-ons" path: "./kubernetes/apps/fediverse/mastodon/add-ons"
# prune: true prune: true
# sourceRef: sourceRef:
# kind: GitRepository kind: GitRepository
# name: valinor name: valinor
# wait: true wait: true
# dependsOn: dependsOn:
# - name: cluster-apps-mastodon - name: cluster-apps-mastodon
# --- ---
# apiVersion: kustomize.toolkit.fluxcd.io/v1 apiVersion: kustomize.toolkit.fluxcd.io/v1
# kind: Kustomization kind: Kustomization
# metadata: metadata:
# name: cluster-apps-mastodon-sidekiq-high-priority name: cluster-apps-mastodon-sidekiq-high-priority
# namespace: flux-system namespace: flux-system
# labels: labels:
# substitution.flux.home.arpa/enabled: "true" substitution.flux.home.arpa/enabled: "true"
# spec: spec:
# interval: 10m interval: 10m
# path: "./kubernetes/apps/fediverse/mastodon/app/mastodon-sidekiq/local/high-priority" path: "./kubernetes/apps/fediverse/mastodon/app/mastodon-sidekiq/local/high-priority"
# prune: true prune: true
# sourceRef: sourceRef:
# kind: GitRepository kind: GitRepository
# name: valinor name: valinor
# wait: false wait: false
# dependsOn: dependsOn:
# - name: cluster-apps-external-secrets-stores - name: cluster-apps-external-secrets-stores
# - name: cluster-apps-mastodon - name: cluster-apps-mastodon
# --- ---
# apiVersion: kustomize.toolkit.fluxcd.io/v1 apiVersion: kustomize.toolkit.fluxcd.io/v1
# kind: Kustomization kind: Kustomization
# metadata: metadata:
# name: cluster-apps-mastodon-sidekiq-low-volume name: cluster-apps-mastodon-sidekiq-low-volume
# namespace: flux-system namespace: flux-system
# labels: labels:
# substitution.flux.home.arpa/enabled: "true" substitution.flux.home.arpa/enabled: "true"
# spec: spec:
# interval: 10m interval: 10m
# path: "./kubernetes/apps/fediverse/mastodon/app/mastodon-sidekiq/local/low-volume" path: "./kubernetes/apps/fediverse/mastodon/app/mastodon-sidekiq/local/low-volume"
# prune: true prune: true
# sourceRef: sourceRef:
# kind: GitRepository kind: GitRepository
# name: valinor name: valinor
# wait: false wait: false
# dependsOn: dependsOn:
# - name: cluster-apps-external-secrets-stores - name: cluster-apps-external-secrets-stores
# - name: cluster-apps-mastodon - name: cluster-apps-mastodon
# --- ---
# apiVersion: kustomize.toolkit.fluxcd.io/v1 apiVersion: kustomize.toolkit.fluxcd.io/v1
# kind: Kustomization kind: Kustomization
# metadata: metadata:
# name: cluster-apps-mastodon-sidekiq-ingress name: cluster-apps-mastodon-sidekiq-ingress
# namespace: flux-system namespace: flux-system
# labels: labels:
# substitution.flux.home.arpa/enabled: "true" substitution.flux.home.arpa/enabled: "true"
# spec: spec:
# interval: 10m interval: 10m
# path: "./kubernetes/apps/fediverse/mastodon/app/mastodon-sidekiq/remote/ingress" path: "./kubernetes/apps/fediverse/mastodon/app/mastodon-sidekiq/remote/ingress"
# prune: true prune: true
# sourceRef: sourceRef:
# kind: GitRepository kind: GitRepository
# name: valinor name: valinor
# wait: false wait: false
# dependsOn: dependsOn:
# - name: cluster-apps-external-secrets-stores - name: cluster-apps-external-secrets-stores
# - name: cluster-apps-mastodon - name: cluster-apps-mastodon
# --- ---
# apiVersion: kustomize.toolkit.fluxcd.io/v1 apiVersion: kustomize.toolkit.fluxcd.io/v1
# kind: Kustomization kind: Kustomization
# metadata: metadata:
# name: cluster-apps-mastodon-sidekiq-pull name: cluster-apps-mastodon-sidekiq-pull
# namespace: flux-system namespace: flux-system
# labels: labels:
# substitution.flux.home.arpa/enabled: "true" substitution.flux.home.arpa/enabled: "true"
# spec: spec:
# interval: 10m interval: 10m
# path: "./kubernetes/apps/fediverse/mastodon/app/mastodon-sidekiq/remote/pull" path: "./kubernetes/apps/fediverse/mastodon/app/mastodon-sidekiq/remote/pull"
# prune: true prune: true
# sourceRef: sourceRef:
# kind: GitRepository kind: GitRepository
# name: valinor name: valinor
# wait: false wait: false
# dependsOn: dependsOn:
# - name: cluster-apps-external-secrets-stores - name: cluster-apps-external-secrets-stores
# - name: cluster-apps-mastodon - name: cluster-apps-mastodon
---
apiVersion: kustomize.toolkit.fluxcd.io/v1
kind: Kustomization
metadata:
name: cluster-apps-cloudnative-pg-cluster-mastodon
namespace: flux-system
spec:
dependsOn:
- name: cluster-apps-cloudnative-pg
- name: cluster-apps-external-secrets-stores
path: ./kubernetes/apps/database/cloudnative-pg/cluster
prune: true
sourceRef:
kind: GitRepository
name: valinor
wait: true
interval: 30m
retryInterval: 1m
timeout: 5m