mirror of
https://github.com/fluxcd/flux2-hub-spoke-example.git
synced 2025-07-28 00:03:19 +00:00
Add staging layout
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
This commit is contained in:
parent
df51542b21
commit
85633b9f12
5 changed files with 48 additions and 0 deletions
23
hub/staging.yaml
Normal file
23
hub/staging.yaml
Normal file
|
@ -0,0 +1,23 @@
|
|||
apiVersion: v1
|
||||
kind: Namespace
|
||||
metadata:
|
||||
name: staging
|
||||
---
|
||||
apiVersion: kustomize.toolkit.fluxcd.io/v1
|
||||
kind: Kustomization
|
||||
metadata:
|
||||
name: cluster-sync
|
||||
namespace: staging
|
||||
spec:
|
||||
interval: 1h
|
||||
retryInterval: 3m
|
||||
timeout: 5m
|
||||
prune: true
|
||||
wait: true
|
||||
path: ./clusters/staging
|
||||
sourceRef:
|
||||
kind: GitRepository
|
||||
name: flux-system
|
||||
kubeConfig:
|
||||
secretRef:
|
||||
name: cluster-kubeconfig
|
Loading…
Add table
Add a link
Reference in a new issue