Compare commits
2 Commits
master
...
build-with
Author | SHA1 | Date | |
---|---|---|---|
ad88757058 | |||
93f0e00b8d |
56
k8s/staging/deployment.yaml
Normal file
56
k8s/staging/deployment.yaml
Normal file
@ -0,0 +1,56 @@
|
||||
---
|
||||
apiVersion: networking.k8s.io/v1
|
||||
kind: Ingress
|
||||
metadata:
|
||||
name: logmower-frontend
|
||||
annotations:
|
||||
kubernetes.io/ingress.class: traefik
|
||||
traefik.ingress.kubernetes.io/router.entrypoints: websecure
|
||||
traefik.ingress.kubernetes.io/router.tls: "true"
|
||||
external-dns.alpha.kubernetes.io/target: traefik-veebkolm.codemowers.ee
|
||||
spec:
|
||||
rules:
|
||||
- host: playground-veebkolm.codemowers.ee
|
||||
http:
|
||||
paths:
|
||||
- pathType: Prefix
|
||||
path: "/"
|
||||
backend:
|
||||
service:
|
||||
name: logmower-frontend
|
||||
port:
|
||||
number: 8080
|
||||
tls:
|
||||
- hosts:
|
||||
- "*.playground-veebkolm.codemowers.ee"
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: logmower-frontend
|
||||
spec:
|
||||
type: ClusterIP
|
||||
selector:
|
||||
app: logmower-frontend
|
||||
ports:
|
||||
- protocol: TCP
|
||||
port: 8080
|
||||
---
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: logmower-frontend
|
||||
spec:
|
||||
selector:
|
||||
matchLabels:
|
||||
app: logmower-frontend
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
app: logmower-frontend
|
||||
spec:
|
||||
containers:
|
||||
- name: logmower-frontend
|
||||
image: harbor.k-space.ee/playground/log-viewer-frontend
|
||||
ports:
|
||||
- containerPort: 8080
|
@ -4,6 +4,7 @@ metadata:
|
||||
name: log-viewer-backend
|
||||
|
||||
build:
|
||||
cluster: {}
|
||||
artifacts:
|
||||
- image: harbor.k-space.ee/playground/log-viewer-frontend
|
||||
docker:
|
||||
@ -23,7 +24,7 @@ profiles:
|
||||
build:
|
||||
artifacts:
|
||||
- image: harbor.k-space.ee/playground/log-viewer-frontend
|
||||
docker:
|
||||
kaniko:
|
||||
target: dev
|
||||
sync:
|
||||
manual:
|
||||
|
Loading…
Reference in New Issue
Block a user