Initial upload
This commit is contained in:
parent
0c3f9a7072
commit
4b92302600
51 changed files with 348 additions and 220 deletions
|
|
@ -0,0 +1,23 @@
|
|||
apiVersion: argoproj.io/v1alpha1
|
||||
kind: Application
|
||||
metadata:
|
||||
name: create-new-cluster-guestbook
|
||||
namespace: argocd
|
||||
labels:
|
||||
env: dev
|
||||
finalizers:
|
||||
- resources-finalizer.argocd.argoproj.io
|
||||
spec:
|
||||
project: default
|
||||
syncPolicy:
|
||||
automated:
|
||||
selfHeal: true
|
||||
syncOptions:
|
||||
- CreateNamespace=true
|
||||
destination:
|
||||
name: in-cluster
|
||||
namespace: crossplane-system
|
||||
source:
|
||||
path: stacks/second-cluster/create-new-cluster-guestbook
|
||||
repoURL: https://gitea.factory.c-one-infra.de/giteaAdmin/edfbuilder
|
||||
targetRevision: HEAD
|
||||
|
|
@ -0,0 +1,16 @@
|
|||
apiVersion: cluster.argocd.crossplane.io/v1alpha1
|
||||
kind: Cluster
|
||||
metadata:
|
||||
name: argo-app-test
|
||||
labels:
|
||||
purpose: dev
|
||||
spec:
|
||||
forProvider:
|
||||
config:
|
||||
kubeconfigSecretRef:
|
||||
key: kubeconfig
|
||||
namespace: crossplane-system
|
||||
name: argo-app-test-kubeconf
|
||||
name: argo-app-test-cluster
|
||||
providerConfigRef:
|
||||
name: argocd-provider
|
||||
|
|
@ -0,0 +1,26 @@
|
|||
apiVersion: argoproj.io/v1alpha1
|
||||
kind: Application
|
||||
metadata:
|
||||
name: argo-second-cluster-demo
|
||||
namespace: argocd
|
||||
spec:
|
||||
destination:
|
||||
namespace: guestbook
|
||||
name: argo-app-test-cluster
|
||||
project: default
|
||||
source:
|
||||
path: guestbook
|
||||
repoURL: https://github.com/argoproj/argocd-example-apps.git
|
||||
targetRevision: HEAD
|
||||
syncPolicy:
|
||||
automated:
|
||||
prune: true
|
||||
selfHeal: true
|
||||
syncOptions:
|
||||
- CreateNamespace=true
|
||||
retry:
|
||||
limit: -1
|
||||
backoff:
|
||||
duration: 5s
|
||||
factor: 2
|
||||
maxDuration: 1m
|
||||
|
|
@ -0,0 +1,26 @@
|
|||
apiVersion: container.kind.crossplane.io/v1alpha1
|
||||
kind: KindCluster
|
||||
metadata:
|
||||
name: argo-app-test
|
||||
spec:
|
||||
forProvider:
|
||||
kindConfig: |
|
||||
kind: Cluster
|
||||
apiVersion: kind.x-k8s.io/v1alpha4
|
||||
nodes:
|
||||
- role: control-plane
|
||||
kubeadmConfigPatches:
|
||||
- |
|
||||
kind: InitConfiguration
|
||||
nodeRegistration:
|
||||
kubeletExtraArgs:
|
||||
node-labels: "ingress-ready=true"
|
||||
# TODO: RIRE used maybe for velero backup
|
||||
# extraMounts:
|
||||
# - hostPath: /tmp/backup # replace with your own path
|
||||
# containerPath: /backup
|
||||
providerConfigRef:
|
||||
name: kind-provider
|
||||
writeConnectionSecretToRef:
|
||||
namespace: crossplane-system
|
||||
name: argo-app-test-kubeconf
|
||||
Loading…
Add table
Add a link
Reference in a new issue