|
@@ -53,8 +53,10 @@ spec:
|
|
|
automated:
|
|
automated:
|
|
|
enabled: true
|
|
enabled: true
|
|
|
---
|
|
---
|
|
|
-# If rook ever needs a full re-provisioning, the operator must complete before
|
|
|
|
|
-# the cluster deployment starts.
|
|
|
|
|
|
|
+# Should rook ever need full re-provisioning, applications must be deployed in this order:
|
|
|
|
|
+# - operator
|
|
|
|
|
+# - manifests (to configure the .mgr pool)
|
|
|
|
|
+# - cluster
|
|
|
apiVersion: argoproj.io/v1alpha1
|
|
apiVersion: argoproj.io/v1alpha1
|
|
|
kind: Application
|
|
kind: Application
|
|
|
metadata:
|
|
metadata:
|
|
@@ -84,6 +86,25 @@ spec:
|
|
|
---
|
|
---
|
|
|
apiVersion: argoproj.io/v1alpha1
|
|
apiVersion: argoproj.io/v1alpha1
|
|
|
kind: Application
|
|
kind: Application
|
|
|
|
|
+metadata:
|
|
|
|
|
+ name: rook-manifest
|
|
|
|
|
+ namespace: argocd
|
|
|
|
|
+spec:
|
|
|
|
|
+ destination:
|
|
|
|
|
+ server: https://kubernetes.default.svc
|
|
|
|
|
+ project: default
|
|
|
|
|
+ source:
|
|
|
|
|
+ path: backup/rook-manifest
|
|
|
|
|
+ repoURL: https://gogs.jibby.org/jhb2345/server
|
|
|
|
|
+ targetRevision: HEAD
|
|
|
|
|
+ directory:
|
|
|
|
|
+ recurse: true
|
|
|
|
|
+ syncPolicy:
|
|
|
|
|
+ automated:
|
|
|
|
|
+ enabled: true
|
|
|
|
|
+---
|
|
|
|
|
+apiVersion: argoproj.io/v1alpha1
|
|
|
|
|
+kind: Application
|
|
|
metadata:
|
|
metadata:
|
|
|
name: rook-ceph-cluster
|
|
name: rook-ceph-cluster
|
|
|
namespace: argocd
|
|
namespace: argocd
|
|
@@ -114,25 +135,6 @@ spec:
|
|
|
---
|
|
---
|
|
|
apiVersion: argoproj.io/v1alpha1
|
|
apiVersion: argoproj.io/v1alpha1
|
|
|
kind: Application
|
|
kind: Application
|
|
|
-metadata:
|
|
|
|
|
- name: rook-manifest
|
|
|
|
|
- namespace: argocd
|
|
|
|
|
-spec:
|
|
|
|
|
- destination:
|
|
|
|
|
- server: https://kubernetes.default.svc
|
|
|
|
|
- project: default
|
|
|
|
|
- source:
|
|
|
|
|
- path: backup/rook-manifest
|
|
|
|
|
- repoURL: https://gogs.jibby.org/jhb2345/server
|
|
|
|
|
- targetRevision: HEAD
|
|
|
|
|
- directory:
|
|
|
|
|
- recurse: true
|
|
|
|
|
- syncPolicy:
|
|
|
|
|
- automated:
|
|
|
|
|
- enabled: true
|
|
|
|
|
----
|
|
|
|
|
-apiVersion: argoproj.io/v1alpha1
|
|
|
|
|
-kind: Application
|
|
|
|
|
metadata:
|
|
metadata:
|
|
|
name: external-secrets
|
|
name: external-secrets
|
|
|
namespace: argocd
|
|
namespace: argocd
|