add: configmap, ingress + update deployment with env refs
This commit is contained in:
20
k8s/moj-servis/ingress.yaml
Normal file
20
k8s/moj-servis/ingress.yaml
Normal file
@@ -0,0 +1,20 @@
|
||||
# k8s/moj-servis/ingress.yaml
|
||||
apiVersion: networking.k8s.io/v1
|
||||
kind: Ingress
|
||||
metadata:
|
||||
name: moj-servis-svc
|
||||
namespace: student-marijanela218
|
||||
annotations:
|
||||
traefik.ingress.kubernetes.io/router.entrypoints: web
|
||||
spec:
|
||||
rules:
|
||||
- host: marijanela218.argocd.fpmoz.sum.ba
|
||||
http:
|
||||
paths:
|
||||
- path: /
|
||||
pathType: Prefix
|
||||
backend:
|
||||
service:
|
||||
name: moj-servis-svc
|
||||
port:
|
||||
number: 80
|
||||
Reference in New Issue
Block a user