Skip to content

Commit 96e7d9c

Browse files
add components
1 parent e0ec193 commit 96e7d9c

File tree

6 files changed

+58
-1
lines changed

6 files changed

+58
-1
lines changed

clusters/argo-svc.dd.soeren.cloud/k8s-infra/cloudnative-pg/kustomization.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,5 @@ apiVersion: "kustomize.config.k8s.io/v1beta1"
33
kind: "Kustomization"
44
resources:
55
- ../../../../infra/cloudnative-pg
6+
components:
7+
- ../../../../infra/cloudnative-pg/components/argo
Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
---
2+
apiVersion: argoproj.io/v1alpha1
3+
kind: Application
4+
metadata:
5+
name: cloudnative-pg
6+
namespace: argocd
7+
finalizers:
8+
- resources-finalizer.argocd.argoproj.io
9+
spec:
10+
project: default
11+
source:
12+
repoURL: https://cloudnative-pg.github.io/charts
13+
chart: cloudnative-pg
14+
targetRevision: 1.27.0
15+
# helm:
16+
# values: |
17+
# installCRDs: true
18+
19+
destination:
20+
server: https://kubernetes.default.svc
21+
namespace: cnpg-system
22+
syncPolicy:
23+
automated:
24+
prune: true
25+
selfHeal: true
26+
syncOptions:
27+
- CreateNamespace=true
28+
- PrunePropagationPolicy=foreground
29+
- PruneLast=true
30+
- RespectIgnoreDifferences=true
31+
- ApplyOutOfSyncOnly=true
32+
retry:
33+
limit: 5
34+
backoff:
35+
duration: 5s
36+
factor: 2
37+
maxDuration: 3m
38+
revisionHistoryLimit: 10
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
apiVersion: kustomize.config.k8s.io/v1alpha1
3+
kind: Component
4+
resources:
5+
- application.yaml
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
apiVersion: kustomize.config.k8s.io/v1alpha1
3+
kind: Component
4+
resources:
5+
- https://raw.githubusercontent.com/cloudnative-pg/cloudnative-pg/release-1.27/releases/cnpg-1.27.0.yaml

infra/cloudnative-pg/kustomization.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22
apiVersion: "kustomize.config.k8s.io/v1beta1"
33
kind: "Kustomization"
44
resources:
5-
- https://raw.githubusercontent.com/cloudnative-pg/cloudnative-pg/release-1.27/releases/cnpg-1.27.0.yaml
5+
- namespace.yaml
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
---
2+
kind: "Namespace"
3+
apiVersion: "v1"
4+
metadata:
5+
name: "cnpg-system"
6+
labels:
7+
name: "cnpg-system"

0 commit comments

Comments
 (0)