feat(portfolio): add staging environment

This commit is contained in:
David Landry 2024-10-16 18:41:07 -04:00
parent 0dda9f282d
commit 13ea8de355
11 changed files with 339 additions and 0 deletions

View file

@ -0,0 +1,22 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: portfolio
spec:
replicas: 1
selector:
matchLabels:
app: portfolio
template:
metadata:
annotations:
labels:
app: portfolio
spec:
containers:
- image: registry.int.nc.landry.land/portfolio-site
name: portfolio-site
ports:
- containerPort: 8080
name: http
restartPolicy: Always

View file

@ -0,0 +1,6 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- ./deployment.yaml
- ./service.yaml

View file

@ -0,0 +1,13 @@
apiVersion: v1
kind: Service
metadata:
annotations:
labels:
name: syncthing
spec:
ports:
- name: http
port: 80
targetPort: http
selector:
app: syncthing