Compare commits

..

No commits in common. "main" and "patch-ingress" have entirely different histories.

15 changed files with 4 additions and 135 deletions

View File

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

View File

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

View File

@ -11,6 +11,6 @@ spec:
name: in-cluster
project: default
source:
path: app-of-apps-applications/app3
path: app-of-apps/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: matrix-application-1
spec:
replicas: 1
revisionHistoryLimit: 3
selector:
matchLabels:
app: matrix-application-1
template:
metadata:
labels:
app: matrix-application-1
spec:
containers:
- image: quay.io/acend/example-web-go
name: matrix-application-1
ports:
- containerPort: 5000

View File

@ -1,12 +0,0 @@
apiVersion: v1
kind: Service
metadata:
name: matrix-application-1
spec:
ports:
- port: 5000
protocol: TCP
targetPort: 5000
selector:
app: matrix-application-1
type: ClusterIP

View File

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

View File

@ -1,12 +0,0 @@
apiVersion: v1
kind: Service
metadata:
name: matrix-application-2
spec:
ports:
- port: 5000
protocol: TCP
targetPort: 5000
selector:
app: matrix-application-2
type: ClusterIP

View File

@ -23,6 +23,7 @@ spec:
{{- range .hosts }}
- {{ . | quote }}
{{- end }}
secretName: {{ .secretName }}
{{- end }}
{{- end }}
rules:

View File

@ -1,8 +0,0 @@
{
containerPort: 5000,
image: "quay.io/acend/example-web-go",
name: "argo-jsonnet-example-<username>",
replicas: 1,
servicePort: 5000,
type: "ClusterIP",
}

View File

@ -1,60 +0,0 @@
local params = import 'params.libsonnet';
[
{
"apiVersion": "v1",
"kind": "Service",
"metadata": {
"name": params.name
},
"spec": {
"ports": [
{
"port": params.servicePort,
"protocol": "TCP",
"targetPort": params.containerPort
}
],
"selector": {
"app": params.name
},
"type": params.type
}
},
{
"apiVersion": "apps/v1",
"kind": "Deployment",
"metadata": {
"name": params.name
},
"spec": {
"replicas": params.replicas,
"revisionHistoryLimit": 3,
"selector": {
"matchLabels": {
"app": params.name
},
},
"template": {
"metadata": {
"labels": {
"app": params.name
}
},
"spec": {
"containers": [
{
"image": params.image,
"name": params.name,
"ports": [
{
"containerPort": params.containerPort
}
]
}
]
}
}
}
}
]