Compare commits
No commits in common. "main" and "patch-ingress" have entirely different histories.
main
...
patch-ingr
@ -11,6 +11,6 @@ spec:
|
|||||||
name: in-cluster
|
name: in-cluster
|
||||||
project: default
|
project: default
|
||||||
source:
|
source:
|
||||||
path: app-of-apps-applications/app1
|
path: app-of-apps/app1
|
||||||
repoURL: https://github.com/acend/argocd-training-examples.git
|
repoURL: https://github.com/acend/argocd-training-examples.git
|
||||||
targetRevision: HEAD
|
targetRevision: HEAD
|
@ -11,6 +11,6 @@ spec:
|
|||||||
name: in-cluster
|
name: in-cluster
|
||||||
project: default
|
project: default
|
||||||
source:
|
source:
|
||||||
path: app-of-apps-applications/app2
|
path: app-of-apps/app2
|
||||||
repoURL: https://github.com/acend/argocd-training-examples.git
|
repoURL: https://github.com/acend/argocd-training-examples.git
|
||||||
targetRevision: HEAD
|
targetRevision: HEAD
|
@ -11,6 +11,6 @@ spec:
|
|||||||
name: in-cluster
|
name: in-cluster
|
||||||
project: default
|
project: default
|
||||||
source:
|
source:
|
||||||
path: app-of-apps-applications/app3
|
path: app-of-apps/app3
|
||||||
repoURL: https://github.com/acend/argocd-training-examples.git
|
repoURL: https://github.com/acend/argocd-training-examples.git
|
||||||
targetRevision: HEAD
|
targetRevision: HEAD
|
@ -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
|
|
@ -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
|
|
@ -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
|
|
@ -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
|
|
@ -23,6 +23,7 @@ spec:
|
|||||||
{{- range .hosts }}
|
{{- range .hosts }}
|
||||||
- {{ . | quote }}
|
- {{ . | quote }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
secretName: {{ .secretName }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
rules:
|
rules:
|
||||||
|
@ -1,8 +0,0 @@
|
|||||||
{
|
|
||||||
containerPort: 5000,
|
|
||||||
image: "quay.io/acend/example-web-go",
|
|
||||||
name: "argo-jsonnet-example-<username>",
|
|
||||||
replicas: 1,
|
|
||||||
servicePort: 5000,
|
|
||||||
type: "ClusterIP",
|
|
||||||
}
|
|
@ -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
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
]
|
|
Loading…
x
Reference in New Issue
Block a user