From 6fc5d078a296c5d6b3b319ab19b8048fe84795c8 Mon Sep 17 00:00:00 2001 From: Joseph Hanson Date: Thu, 28 Nov 2024 07:24:10 -0600 Subject: [PATCH] lets try this again --- kubernetes/apps/database/mariadb/ks.yaml | 44 ++++++++++++------------ 1 file changed, 22 insertions(+), 22 deletions(-) diff --git a/kubernetes/apps/database/mariadb/ks.yaml b/kubernetes/apps/database/mariadb/ks.yaml index 45e8e923..e5764c3f 100644 --- a/kubernetes/apps/database/mariadb/ks.yaml +++ b/kubernetes/apps/database/mariadb/ks.yaml @@ -40,25 +40,25 @@ spec: wait: true interval: 30m timeout: 5m -# --- -# # yaml-language-server: $schema=https://ks.hsn.dev/kustomize.toolkit.fluxcd.io/kustomization_v1.json -# apiVersion: kustomize.toolkit.fluxcd.io/v1 -# kind: Kustomization -# metadata: -# name: &app mariadb-cluster -# namespace: flux-system -# spec: -# targetNamespace: database -# commonMetadata: -# labels: -# app.kubernetes.io/name: *app -# dependsOn: -# - name: external-secrets-stores -# path: ./kubernetes/apps/database/mariadb/cluster -# prune: true -# sourceRef: -# kind: GitRepository -# name: theshire -# wait: true -# interval: 30m -# timeout: 5m +--- +# yaml-language-server: $schema=https://ks.hsn.dev/kustomize.toolkit.fluxcd.io/kustomization_v1.json +apiVersion: kustomize.toolkit.fluxcd.io/v1 +kind: Kustomization +metadata: + name: &app mariadb-cluster + namespace: flux-system +spec: + targetNamespace: database + commonMetadata: + labels: + app.kubernetes.io/name: *app + dependsOn: + - name: external-secrets-stores + path: ./kubernetes/apps/database/mariadb/cluster + prune: true + sourceRef: + kind: GitRepository + name: theshire + wait: true + interval: 30m + timeout: 5m