ingress: Proxy AMQP
Passing port 5671 through the ingress-nginx proxy to the `rabbitmq` service will allow clients outside the cluster to connect to it. While we're at it, we'll move the definition of the `tcp-services` ConfigMap to its own file to make it easier to maintain.etcd
parent
1a1d8ff27d
commit
54187176ba
|
@ -31,15 +31,6 @@ metadata:
|
||||||
name: ingress-nginx-admission
|
name: ingress-nginx-admission
|
||||||
namespace: ingress-nginx
|
namespace: ingress-nginx
|
||||||
---
|
---
|
||||||
apiVersion: v1
|
|
||||||
kind: ConfigMap
|
|
||||||
metadata:
|
|
||||||
name: tcp-services
|
|
||||||
namespace: ingress-nginx
|
|
||||||
data:
|
|
||||||
8883: home-assistant/mosquitto:8883
|
|
||||||
|
|
||||||
---
|
|
||||||
apiVersion: rbac.authorization.k8s.io/v1
|
apiVersion: rbac.authorization.k8s.io/v1
|
||||||
kind: Role
|
kind: Role
|
||||||
metadata:
|
metadata:
|
||||||
|
|
|
@ -0,0 +1,8 @@
|
||||||
|
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||||
|
kind: Kustomization
|
||||||
|
|
||||||
|
namespace: ingress-nginx
|
||||||
|
|
||||||
|
resources:
|
||||||
|
- ingress-nginx.yaml
|
||||||
|
- tcp-services.yaml
|
|
@ -0,0 +1,7 @@
|
||||||
|
apiVersion: v1
|
||||||
|
kind: ConfigMap
|
||||||
|
metadata:
|
||||||
|
name: tcp-services
|
||||||
|
data:
|
||||||
|
'8883': home-assistant/mosquitto:8883
|
||||||
|
'5671': rabbitmq/rabbitmq:5671
|
Loading…
Reference in New Issue