Skip to content

Commit

Permalink
More stuff until it works!
Browse files Browse the repository at this point in the history
  • Loading branch information
ranguard committed Aug 11, 2024
1 parent 0ac86bc commit dae01a2
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 14 deletions.
7 changes: 0 additions & 7 deletions apps/test-smoke/base/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,13 +41,6 @@ spec:
app: testsmoke-api
spec:
containers:
- name: web
image: metacpan/perl5-coresmokedb-api:latest
imagePullPolicy: Always
# command: [ "/uwsgi.sh" ]
# args: [ "--http-socket", ":5001" ]
ports:
- containerPort: 5555
- name: api
image: metacpan/perl5-coresmokedb-api:latest
imagePullPolicy: Always
Expand Down
4 changes: 2 additions & 2 deletions apps/test-smoke/base/service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ spec:
- port: 80
targetPort: 5555
selector:
app: web
app: testsmoke-web
---
apiVersion: v1
kind: Service
Expand All @@ -18,4 +18,4 @@ spec:
- port: 80
targetPort: 5050
selector:
app: api
app: testsmoke-api
23 changes: 18 additions & 5 deletions apps/test-smoke/environments/prod/ingress.yaml
Original file line number Diff line number Diff line change
@@ -1,15 +1,14 @@
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: testsmoke
name: testsmoke-web
annotations:
cert-manager.io/cluster-issuer: letsencrypt-production
spec:
ingressClassName: nginx
tls:
- hosts:
- testsmoke-web.do.metacpan.org
- testsmoke-api.do.metacpan.org
secretName: web-tls
rules:
- host: testsmoke-web.do.metacpan.org
Expand All @@ -19,17 +18,31 @@ spec:
path: "/"
backend:
service:
name: web
name: testsmoke-web
port:
number: 80
- host: testsmoke-api.metacpan.org
---
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: testsmoke-api
annotations:
cert-manager.io/cluster-issuer: letsencrypt-production
spec:
ingressClassName: nginx
tls:
- hosts:
- testsmoke-api.do.metacpan.org
secretName: api-tls
rules:
- host: testsmoke-api.do.metacpan.org
http:
paths:
- pathType: Prefix
path: "/"
backend:
service:
name: api
name: testsmoke-api
port:
number: 80

0 comments on commit dae01a2

Please sign in to comment.