Skip to content

Commit

Permalink
link up to GH images
Browse files Browse the repository at this point in the history
  • Loading branch information
fredex42 committed Dec 20, 2023
1 parent 53f40bc commit 8b94aa0
Show file tree
Hide file tree
Showing 3 changed files with 62 additions and 3 deletions.
3 changes: 1 addition & 2 deletions deployment/concierge-graphql.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,11 +36,10 @@ spec:
spec:
containers:
- name: concierge-graphql
image: andyg42/concierge-graphql:DEV
image: ghcr.io/guardian/concierge-graphql/concierge-graphql:3
env:
- name: ELASTICSEARCH_HOST
value: capi-elasticsearch
imagePullPolicy: Always
ports:
- containerPort: 9000
readinessProbe:
Expand Down
53 changes: 53 additions & 0 deletions deployment/graphiql-explorer.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
apiVersion: v1
kind: Service
metadata:
labels:
service: graphiql-server
stack: graphiql-server
name: graphiql-server
spec:
ports:
- name: webapp
port: 9000
targetPort: 9000
selector:
service: graphiql-server
stack: graphiql-server
---
apiVersion: apps/v1
kind: Deployment
metadata:
labels:
service: graphiql-server
stack: graphiql-server
name: graphiql-server
spec:
replicas: 1
revisionHistoryLimit: 5
selector:
matchLabels:
service: graphiql-server
stack: graphiql-server
template:
metadata:
labels:
service: graphiql-server
stack: graphiql-server
spec:
containers:
- name: graphiql-server
image: ghcr.io/guardian/concierge-graphql/graphiql-server:3
ports:
- containerPort: 9000
readinessProbe:
httpGet:
path: /
port: 80
initialDelaySeconds: 2
periodSeconds: 10
livenessProbe:
httpGet:
path: /
port: 80
initialDelaySeconds: 5
periodSeconds: 3
9 changes: 8 additions & 1 deletion deployment/ingress.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,17 @@ spec:
- host: concierge-graphql.test
http:
paths:
- path: /
- path: /query
pathType: Prefix
backend:
service:
name: concierge-graphql
port:
number: 9000
- path: /
pathType: Prefix
backend:
service:
name: graphiql-explorer
port:
number: 80

0 comments on commit 8b94aa0

Please sign in to comment.