From bd8f48782089c68eadc3105165e059a594e7d33b Mon Sep 17 00:00:00 2001 From: Flux <> Date: Wed, 9 Oct 2024 20:09:24 +0000 Subject: [PATCH] Add Flux sync manifests --- .../mycluster-0/flux-system/gotk-sync.yaml | 27 +++++++++++++++++++ .../flux-system/kustomization.yaml | 5 ++++ observability/mycluster-0/kustomization.yaml | 1 + .../cert-manager/vault-clusterissuer.yaml | 2 +- 4 files changed, 34 insertions(+), 1 deletion(-) create mode 100644 clusters/mycluster-0/flux-system/gotk-sync.yaml create mode 100644 clusters/mycluster-0/flux-system/kustomization.yaml diff --git a/clusters/mycluster-0/flux-system/gotk-sync.yaml b/clusters/mycluster-0/flux-system/gotk-sync.yaml new file mode 100644 index 00000000..a28a3530 --- /dev/null +++ b/clusters/mycluster-0/flux-system/gotk-sync.yaml @@ -0,0 +1,27 @@ +# This manifest was generated by flux. DO NOT EDIT. +--- +apiVersion: source.toolkit.fluxcd.io/v1 +kind: GitRepository +metadata: + name: flux-system + namespace: flux-system +spec: + interval: 1m0s + ref: + branch: feat/oncall + secretRef: + name: flux-system + url: https://github.com/Smana/cloud-native-ref.git +--- +apiVersion: kustomize.toolkit.fluxcd.io/v1 +kind: Kustomization +metadata: + name: flux-system + namespace: flux-system +spec: + interval: 10m0s + path: ./clusters/mycluster-0 + prune: true + sourceRef: + kind: GitRepository + name: flux-system diff --git a/clusters/mycluster-0/flux-system/kustomization.yaml b/clusters/mycluster-0/flux-system/kustomization.yaml new file mode 100644 index 00000000..3842229e --- /dev/null +++ b/clusters/mycluster-0/flux-system/kustomization.yaml @@ -0,0 +1,5 @@ +apiVersion: kustomize.config.k8s.io/v1beta1 +kind: Kustomization +resources: +- gotk-components.yaml +- gotk-sync.yaml diff --git a/observability/mycluster-0/kustomization.yaml b/observability/mycluster-0/kustomization.yaml index f5a9450e..3cef87c7 100644 --- a/observability/mycluster-0/kustomization.yaml +++ b/observability/mycluster-0/kustomization.yaml @@ -2,6 +2,7 @@ apiVersion: kustomize.config.k8s.io/v1beta1 kind: Kustomization resources: + - ../base/grafana-oncall - ../base/grafana-operator - ../base/victoria-metrics-k8s-stack # Uncomment the following lines to include Loki and Vector Agent diff --git a/security/base/cert-manager/vault-clusterissuer.yaml b/security/base/cert-manager/vault-clusterissuer.yaml index b30dbeb7..de6fcab7 100644 --- a/security/base/cert-manager/vault-clusterissuer.yaml +++ b/security/base/cert-manager/vault-clusterissuer.yaml @@ -11,7 +11,7 @@ spec: auth: appRole: path: approle - roleId: 900b636c-988c-4d2a-1bcb-2a1a961ed468 # !! This value changes each time I recreate the whole platform + roleId: cee12a22-1f78-94b7-0b51-c84fe2ae454e # !! This value changes each time I recreate the whole platform secretRef: name: cert-manager-vault-approle key: secret_id