-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
20 changed files
with
1,358 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
apiVersion: argoproj.io/v1alpha1 | ||
kind: AppProject | ||
metadata: | ||
name: rook-ceph-cluser | ||
namespace: argocd | ||
# Finalizer that ensures that project is not deleted until it is not referenced by any application | ||
finalizers: | ||
- resources-finalizer.argocd.argoproj.io | ||
spec: | ||
description: rook-ceph-cluster project | ||
# Allow manifests to deploy from any Git repos | ||
sourceRepos: | ||
- '*' | ||
# Only permit applications to deploy to the namespace in the same cluster | ||
destinations: | ||
- namespace: rook-ceph-cluser | ||
server: https://kubernetes.default.svc | ||
|
||
namespaceResourceWhitelist: | ||
- kind: '*' | ||
group: '*' | ||
|
||
clusterResourceWhitelist: | ||
- kind: '*' | ||
group: '*' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
apiVersion: argoproj.io/v1alpha1 | ||
kind: Application | ||
metadata: | ||
name: rook-ceph-cluster-app | ||
namespace: argocd | ||
finalizers: | ||
- resources-finalizer.argocd.argoproj.io | ||
spec: | ||
project: rook-ceph-cluster | ||
source: | ||
# You should have forked this repo. Change the URL to your fork. | ||
repoURL: [email protected]:deepsquare-io/ClusterFactory.git | ||
# You should use your branch too. | ||
targetRevision: HEAD | ||
path: helm/rook-ceph-cluster | ||
helm: | ||
releaseName: rook-ceph-cluster | ||
|
||
# Create a values file inside your fork and change the values. | ||
valueFiles: | ||
[] | ||
# - values-example.yaml | ||
|
||
destination: | ||
server: 'https://kubernetes.default.svc' | ||
namespace: rook-ceph-cluster | ||
|
||
syncPolicy: | ||
automated: | ||
prune: true # Specifies if resources should be pruned during auto-syncing ( false by default ). | ||
selfHeal: true # Specifies if partial app sync should be executed when resources are changed only in target Kubernetes cluster and no git change detected ( false by default ). | ||
allowEmpty: false # Allows deleting all application resources during automatic syncing ( false by default ). | ||
syncOptions: [] | ||
retry: | ||
limit: 5 # number of failed sync attempt retries; unlimited number of attempts if less than 0 | ||
backoff: | ||
duration: 5s # the amount to back off. Default unit is seconds, but could also be a duration (e.g. "2m", "1h") | ||
factor: 2 # a factor to multiply the base duration after each failed retry | ||
maxDuration: 3m # the maximum amount of time allowed for the backoff strategy |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
apiVersion: v1 | ||
kind: Namespace | ||
metadata: | ||
name: rook-ceph-cluster | ||
labels: | ||
app.kubernetes.io/name: rook-ceph-cluster |
16 changes: 16 additions & 0 deletions
16
argo.example/rook-ceph-cluster/network/rook-cluster-net.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
apiVersion: 'k8s.cni.cncf.io/v1' | ||
kind: NetworkAttachmentDefinition | ||
metadata: | ||
name: rook-cluster-net | ||
namespace: rook-ceph-cluster | ||
spec: | ||
config: | | ||
{ | ||
"cniVersion": "0.3.0", | ||
"type": "ipvlan", | ||
"master": "eth0", | ||
"ipam":{ | ||
"type":"whereabouts", | ||
"range": "10.11.0.0/24" | ||
} | ||
} |
19 changes: 19 additions & 0 deletions
19
argo.example/rook-ceph-cluster/network/rook-public-net.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
apiVersion: 'k8s.cni.cncf.io/v1' | ||
kind: NetworkAttachmentDefinition | ||
metadata: | ||
name: rook-public-net | ||
namespace: rook-ceph-cluster | ||
spec: | ||
config: | | ||
{ | ||
"cniVersion": "0.3.0", | ||
"type": "ipvlan", | ||
"master": "eth0", | ||
"ipam":{ | ||
"type":"whereabouts", | ||
"range": "192.168.0.0/24", | ||
"exclude": [ | ||
"192.168.0.0/30" | ||
] | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
apiVersion: argoproj.io/v1alpha1 | ||
kind: AppProject | ||
metadata: | ||
name: rook-ceph | ||
namespace: argocd | ||
# Finalizer that ensures that project is not deleted until it is not referenced by any application | ||
finalizers: | ||
- resources-finalizer.argocd.argoproj.io | ||
spec: | ||
description: rook-ceph project | ||
# Allow manifests to deploy from any Git repos | ||
sourceRepos: | ||
- '*' | ||
# Only permit applications to deploy to the namespace in the same cluster | ||
destinations: | ||
- namespace: rook-ceph | ||
server: https://kubernetes.default.svc | ||
|
||
namespaceResourceWhitelist: | ||
- kind: '*' | ||
group: '*' | ||
|
||
clusterResourceWhitelist: | ||
- kind: '*' | ||
group: '*' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
apiVersion: argoproj.io/v1alpha1 | ||
kind: Application | ||
metadata: | ||
name: rook-ceph-app | ||
namespace: argocd | ||
finalizers: | ||
- resources-finalizer.argocd.argoproj.io | ||
spec: | ||
project: rook-ceph | ||
source: | ||
# You should have forked this repo. Change the URL to your fork. | ||
repoURL: [email protected]:deepsquare-io/ClusterFactory.git | ||
# You should use your branch too. | ||
targetRevision: HEAD | ||
path: helm-subcharts/rook-ceph | ||
helm: | ||
releaseName: rook-ceph | ||
|
||
# Create a values file inside your fork and change the values. | ||
valueFiles: | ||
[] | ||
# - values-example.yaml | ||
|
||
destination: | ||
server: 'https://kubernetes.default.svc' | ||
namespace: rook-ceph | ||
|
||
syncPolicy: | ||
automated: | ||
prune: true # Specifies if resources should be pruned during auto-syncing ( false by default ). | ||
selfHeal: true # Specifies if partial app sync should be executed when resources are changed only in target Kubernetes cluster and no git change detected ( false by default ). | ||
allowEmpty: false # Allows deleting all application resources during automatic syncing ( false by default ). | ||
syncOptions: [] | ||
retry: | ||
limit: 5 # number of failed sync attempt retries; unlimited number of attempts if less than 0 | ||
backoff: | ||
duration: 5s # the amount to back off. Default unit is seconds, but could also be a duration (e.g. "2m", "1h") | ||
factor: 2 # a factor to multiply the base duration after each failed retry | ||
maxDuration: 3m # the maximum amount of time allowed for the backoff strategy |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
apiVersion: v1 | ||
kind: Namespace | ||
metadata: | ||
name: rook-ceph | ||
labels: | ||
app.kubernetes.io/name: rook-ceph |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
resources: | ||
- https://raw.githubusercontent.com/k8snetworkplumbingwg/whereabouts/master/doc/crds/daemonset-install.yaml | ||
- https://raw.githubusercontent.com/k8snetworkplumbingwg/whereabouts/master/doc/crds/whereabouts.cni.cncf.io_ippools.yaml | ||
- https://raw.githubusercontent.com/k8snetworkplumbingwg/whereabouts/master/doc/crds/whereabouts.cni.cncf.io_overlappingrangeipreservations.yaml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
apiVersion: v2 | ||
name: rook-ceph-cluster-subchart | ||
description: rook-ceph-cluster subchart | ||
type: application | ||
version: 1.11.8 | ||
appVersion: '1.11.8' | ||
|
||
dependencies: | ||
- name: rook-ceph-cluster | ||
version: 1.11.8 | ||
repository: https://charts.bitnami.com/bitnami |
Oops, something went wrong.