Files
deploy/test/remote/manifests/e2e-repositories.yaml
jannfisandGitHub f50e491b8b chore: Make e2e tests runnable against remote cluster (#5895)
* chore: Make e2e tests runnable against remote cluster

Signed-off-by: jannfis <[email protected]>

* Fix linter complaint

Signed-off-by: jannfis <[email protected]>

* Revert

Signed-off-by: jannfis <[email protected]>

* Address reviewer comments

Signed-off-by: jannfis <[email protected]>

* Compat with Mac

Signed-off-by: jannfis <[email protected]>

* Revert test setting

Signed-off-by: jannfis <[email protected]>
2021-04-07 14:49:17 +02:00

64 lines
1.3 KiB
YAML

---
apiVersion: apps/v1
kind: Deployment
metadata:
name: argocd-e2e-cluster
labels:
app.kubernetes.io/name: argocd-e2e-server
spec:
selector:
matchLabels:
app.kubernetes.io/name: argocd-e2e-server
template:
metadata:
labels:
app.kubernetes.io/name: argocd-e2e-server
spec:
containers:
- name: argocd-e2e-server
image: argocd-e2e-cluster:latest
imagePullPolicy: Always
command:
- goreman
- start
ports:
- containerPort: 2222
- containerPort: 9080
- containerPort: 9081
- containerPort: 9443
- containerPort: 9444
securityContext:
capabilities:
add: ["SYS_CHROOT"]
---
apiVersion: v1
kind: Service
metadata:
labels:
app.kubernetes.io/name: argocd-e2e-server
name: argocd-e2e-server
spec:
ports:
- name: helm-https
protocol: TCP
port: 9080
targetPort: 9080
- name: git-http-noauth
protocol: TCP
port: 9081
targetPort: 9081
- name: git-https-auth
protocol: TCP
port: 9443
targetPort: 9443
- name: git-https-ccert
protocol: TCP
port: 9444
targetPort: 9444
- name: git-ssh
protocol: TCP
port: 2222
targetPort: 2222
selector:
app.kubernetes.io/name: argocd-e2e-server