Rework app-of-apps example

This commit is contained in:
Thomas Philipona
2022-10-29 17:06:17 +02:00
parent 9b25dbe886
commit 10b6d0b2cd
6 changed files with 3 additions and 3 deletions

View File

@@ -11,6 +11,6 @@ spec:
name: in-cluster
project: default
source:
path: app-of-apps/app1
path: app-of-apps-applications/app1
repoURL: https://github.com/acend/argocd-training-examples.git
targetRevision: HEAD

View File

@@ -1,20 +0,0 @@
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

@@ -11,6 +11,6 @@ spec:
name: in-cluster
project: default
source:
path: app-of-apps/app2
path: app-of-apps-applications/app2
repoURL: https://github.com/acend/argocd-training-examples.git
targetRevision: HEAD

View File

@@ -1,20 +0,0 @@
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

@@ -11,6 +11,6 @@ spec:
name: in-cluster
project: default
source:
path: app-of-apps/app3
path: app-of-apps-applications/app3
repoURL: https://github.com/acend/argocd-training-examples.git
targetRevision: HEAD

View File

@@ -1,20 +0,0 @@
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