Skip to content

Commit

Permalink
Add k8s resources
Browse files Browse the repository at this point in the history
  • Loading branch information
gunndabad committed Nov 14, 2024
1 parent 000645e commit 59a545b
Show file tree
Hide file tree
Showing 2 changed files with 40 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
secret.yml
39 changes: 39 additions & 0 deletions k8s.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: backstage
namespace: tra-development
spec:
replicas: 1
selector:
matchLabels:
app: backstage
template:
metadata:
labels:
app: backstage
spec:
containers:
- name: backstage
image: ghcr.io/dfe-digital/tra-backstage-poc:000645ee10c4eb804653038950ceee842c64b28e
imagePullPolicy: IfNotPresent
ports:
- name: http
containerPort: 7007
envFrom:
- secretRef:
name: backstage-secrets
---
# kubernetes/backstage-service.yaml
apiVersion: v1
kind: Service
metadata:
name: backstage
namespace: tra-development
spec:
selector:
app: backstage
ports:
- name: http
port: 80
targetPort: http

0 comments on commit 59a545b

Please sign in to comment.