Skip to content
This repository was archived by the owner on Apr 17, 2024. It is now read-only.

Commit 576d1a6

Browse files
author
Deepika Upadhyay
committed
demo: add initial fluxCD scripts
Signed-off-by: Deepika Upadhyay <[email protected]>
1 parent 16f0691 commit 576d1a6

File tree

11 files changed

+8157
-0
lines changed

11 files changed

+8157
-0
lines changed

flux/helmrepositories/bitnami.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
apiVersion: source.toolkit.fluxcd.io/v1beta1
2+
kind: HelmRepository
3+
metadata:
4+
name: bitnami
5+
namespace: ngnix-ingress
6+
spec:
7+
interval: 15m
8+
url: https://charts.bitnami.com/bitnami
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
apiVersion: helm.toolkit.fluxcd.io/v2beta1
2+
kind: HelmRelease
3+
metadata:
4+
name: nginx-ingress-controller
5+
namespace: nginx-ingress
6+
spec:
7+
chart:
8+
spec:
9+
chart: nginx-ingress-controller
10+
version: 9.x
11+
sourceRef:
12+
kind: HelmRepository
13+
name: bitnami
14+
namespace: flux-system
15+
interval: 15m
16+
timeout: 5m
17+
releaseName: nginx-ingress-controller
18+
valuesFrom:
19+
- kind: ConfigMap
20+
name: nginx-ingress-controller-helm-chart-value-overrides
21+
valuesKey: values.yaml # This is the default, but best to be explicit for clarity

flux/koor-ceph-cluster-helm.yaml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
apiVersion: helm.toolkit.fluxcd.io/v2beta1
2+
kind: HelmRelease
3+
metadata:
4+
name: cluster
5+
namespace: koor-ceph
6+
spec:
7+
chart:
8+
spec:
9+
chart: rook-ceph-cluster
10+
reconcileStrategy: ChartVersion
11+
sourceRef:
12+
kind: HelmRepository
13+
name: koor-release
14+
version: '*'
15+
interval: 1m0s

flux/koor-ceph-helm-release.yaml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
apiVersion: helm.toolkit.fluxcd.io/v2beta1
2+
kind: HelmRelease
3+
metadata:
4+
name: koor-release
5+
namespace: flux-system
6+
spec:
7+
chart:
8+
spec:
9+
chart: koor-release
10+
reconcileStrategy: ChartVersion
11+
sourceRef:
12+
kind: HelmRepository
13+
name: koor-release
14+
version: v1.12.0
15+
interval: 1m0s

flux/koor-ceph-helm-repo.yaml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
apiVersion: source.toolkit.fluxcd.io/v1beta2
2+
kind: HelmRepository
3+
metadata:
4+
name: koor-release
5+
namespace: flux-system
6+
spec:
7+
interval: 1m0s
8+
provider: generic
9+
timeout: 1m0s
10+
url: https://charts.koor.tech/release
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
apiVersion: kustomize.toolkit.fluxcd.io/v1beta1
2+
kind: Kustomization
3+
metadata:
4+
name: nginx-ingress-controller
5+
namespace: flux-system
6+
spec:
7+
interval: 15m
8+
path: ./nginx-ingress-controller
9+
prune: true # remove any elements later removed from the above path
10+
timeout: 2m # if not set, this defaults to interval duration, which is 1h
11+
sourceRef:
12+
kind: GitRepository
13+
name: flux-system
14+
validation: server
15+
healthChecks:
16+
- apiVersion: apps/v1
17+
kind: Deployment
18+
name: nginx-ingress-controller
19+
namespace: nginx-ingress-controller

0 commit comments

Comments
 (0)