mirror of
https://github.com/fluxcd/flux2-hub-spoke-example.git
synced 2025-07-28 08:12:53 +00:00
Sync apps on staging
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
This commit is contained in:
parent
e9b6d5192f
commit
17a9dcae6d
10 changed files with 83 additions and 0 deletions
5
apps/base/podinfo/kustomization.yaml
Normal file
5
apps/base/podinfo/kustomization.yaml
Normal file
|
@ -0,0 +1,5 @@
|
|||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
resources:
|
||||
- repository.yaml
|
||||
- release.yaml
|
21
apps/base/podinfo/release.yaml
Normal file
21
apps/base/podinfo/release.yaml
Normal file
|
@ -0,0 +1,21 @@
|
|||
apiVersion: helm.toolkit.fluxcd.io/v2beta2
|
||||
kind: HelmRelease
|
||||
metadata:
|
||||
name: podinfo
|
||||
spec:
|
||||
targetNamespace: podinfo
|
||||
releaseName: podinfo
|
||||
chart:
|
||||
spec:
|
||||
chart: podinfo
|
||||
sourceRef:
|
||||
kind: HelmRepository
|
||||
name: podinfo
|
||||
interval: 50m
|
||||
install:
|
||||
remediation:
|
||||
retries: 3
|
||||
# Default values
|
||||
# https://github.com/stefanprodan/podinfo/blob/master/charts/podinfo/values.yaml
|
||||
values:
|
||||
replicaCount: 1
|
8
apps/base/podinfo/repository.yaml
Normal file
8
apps/base/podinfo/repository.yaml
Normal file
|
@ -0,0 +1,8 @@
|
|||
apiVersion: source.toolkit.fluxcd.io/v1beta2
|
||||
kind: HelmRepository
|
||||
metadata:
|
||||
name: podinfo
|
||||
spec:
|
||||
interval: 12h
|
||||
type: oci
|
||||
url: oci://ghcr.io/stefanprodan/charts
|
Loading…
Add table
Add a link
Reference in a new issue