Skip to content

Commit

Permalink
Add Flux sync manifests
Browse files Browse the repository at this point in the history
  • Loading branch information
Flux authored and SmaineTF1 committed Sep 18, 2024
1 parent 82be73e commit d1e1fe8
Show file tree
Hide file tree
Showing 4 changed files with 34 additions and 1 deletion.
27 changes: 27 additions & 0 deletions clusters/mycluster-0/flux-system/gotk-sync.yaml
Original file line number Diff line number Diff line change
@@ -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_zitadel
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
5 changes: 5 additions & 0 deletions clusters/mycluster-0/flux-system/kustomization.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- gotk-components.yaml
- gotk-sync.yaml
2 changes: 1 addition & 1 deletion security/base/cert-manager/vault-clusterissuer.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ spec:
auth:
appRole:
path: approle
roleId: ed0bc8bd-79ef-d06a-48da-744e9dd754c2 # !! This value changes each time I recreate the whole platform
roleId: 2bea8f5a-f9aa-b09e-c5b8-5bcd98c8fa22 # !! This value changes each time I recreate the whole platform
secretRef:
name: cert-manager-vault-approle
key: secret_id
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ spec:
name: clustersecretstore
target:
template:
engineVersion: v2
data:
password: "{{ .ZITADEL_DATABASE_POSTGRES_ADMIN_PASSWORD }}"
creationPolicy: Owner
Expand Down

0 comments on commit d1e1fe8

Please sign in to comment.