Merge pull request #2 from acend/appofapps

App of apps
This commit is contained in:
Thomas Philipona 2021-10-06 15:48:24 +02:00 committed by GitHub
commit 2fcd00daac
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 108 additions and 0 deletions

View File

@ -0,0 +1,20 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: app-of-apps-1
spec:
replicas: 1
revisionHistoryLimit: 3
selector:
matchLabels:
app: app-of-apps-1
template:
metadata:
labels:
app: app-of-apps-1
spec:
containers:
- image: quay.io/acend/example-web-go
name: app-of-apps-1
ports:
- containerPort: 5000

View File

@ -0,0 +1,20 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: app-of-apps-2
spec:
replicas: 1
revisionHistoryLimit: 3
selector:
matchLabels:
app: app-of-apps-2
template:
metadata:
labels:
app: app-of-apps-2
spec:
containers:
- image: quay.io/acend/example-web-go
name: app-of-apps-2
ports:
- containerPort: 5000

View File

@ -0,0 +1,20 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: app-of-apps-3
spec:
replicas: 1
revisionHistoryLimit: 3
selector:
matchLabels:
app: app-of-apps-3
template:
metadata:
labels:
app: app-of-apps-3
spec:
containers:
- image: quay.io/acend/example-web-go
name: app-of-apps-3
ports:
- containerPort: 5000

View File

@ -0,0 +1,16 @@
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: app-of-apps-1
namespace: pitc-infra-argocd
finalizers:
- resources-finalizer.argocd.argoproj.io
spec:
destination:
namespace: default
name: in-cluster
project: default
source:
path: app-of-apps/app1
repoURL: https://github.com/acend/argocd-training
targetRevision: HEAD

View File

@ -0,0 +1,16 @@
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: app-of-apps-2
namespace: pitc-infra-argocd
finalizers:
- resources-finalizer.argocd.argoproj.io
spec:
destination:
namespace: default
name: in-cluster
project: default
source:
path: app-of-apps/app2
repoURL: https://github.com/acend/argocd-training
targetRevision: HEAD

View File

@ -0,0 +1,16 @@
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: app-of-apps-3
namespace: pitc-infra-argocd
finalizers:
- resources-finalizer.argocd.argoproj.io
spec:
destination:
namespace: default
name: in-cluster
project: default
source:
path: app-of-apps/app3
repoURL: https://github.com/acend/argocd-training
targetRevision: HEAD