Compare commits
4 Commits
Author | SHA1 | Date | |
---|---|---|---|
1b3429184a
|
|||
a7262d99cc
|
|||
6be68d4dee
|
|||
54eeb17e9b
|
@ -26,7 +26,45 @@ spec:
|
|||||||
value: mqtt://emqx01-anonymous-cluster-internal.broker.svc.cluster.local:1883
|
value: mqtt://emqx01-anonymous-cluster-internal.broker.svc.cluster.local:1883
|
||||||
- name: MQTT_TOPIC
|
- name: MQTT_TOPIC
|
||||||
value: locative/event
|
value: locative/event
|
||||||
|
- name: GIN_MODE
|
||||||
|
value: release
|
||||||
ports:
|
ports:
|
||||||
- containerPort: 8080
|
- containerPort: 8080
|
||||||
protocol: TCP
|
protocol: TCP
|
||||||
|
---
|
||||||
|
apiVersion: v1
|
||||||
|
kind: Service
|
||||||
|
metadata:
|
||||||
|
name: locative
|
||||||
|
spec:
|
||||||
|
type: ClusterIP
|
||||||
|
selector:
|
||||||
|
app: locsrv
|
||||||
|
ports:
|
||||||
|
- name: http
|
||||||
|
targetPort: 8080
|
||||||
|
port: 80
|
||||||
|
---
|
||||||
|
apiVersion: networking.k8s.io/v1
|
||||||
|
kind: Ingress
|
||||||
|
metadata:
|
||||||
|
name: locative
|
||||||
|
annotations:
|
||||||
|
cert-manager.io/cluster-issuer: letsencrypt-production-http
|
||||||
|
spec:
|
||||||
|
tls:
|
||||||
|
- hosts:
|
||||||
|
- locative.hottis.de
|
||||||
|
secretName: locative-cert
|
||||||
|
rules:
|
||||||
|
- host: locative.hottis.de
|
||||||
|
http:
|
||||||
|
paths:
|
||||||
|
- path: /
|
||||||
|
pathType: Prefix
|
||||||
|
backend:
|
||||||
|
service:
|
||||||
|
name: locative
|
||||||
|
port:
|
||||||
|
number: 80
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user