Skip to content

Commit

Permalink
Disable HTTP messaging
Browse files Browse the repository at this point in the history
 * Disables HTTP protocol adapters

Signed-off-by: Nindemic <[email protected]>
  • Loading branch information
Nindemic committed Aug 3, 2021
1 parent 77bf2c9 commit 9d64d39
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 13 deletions.
10 changes: 1 addition & 9 deletions ambassador_mappings.yaml
Original file line number Diff line number Diff line change
@@ -1,13 +1,5 @@
apiVersion: getambassador.io/v2
kind: TCPMapping
metadata:
name: hono-http-adapter
spec:
port: 18080
service: hono-adapter-http-vertx:8080
---
apiVersion: getambassador.io/v2
kind: TCPMapping
metadata:
name: hono-mqtt-adapter
spec:
Expand Down Expand Up @@ -99,4 +91,4 @@ spec:
- port: 80
targetPort: 8089
selector:
acme.cert-manager.io/http01-solver: "true"
acme.cert-manager.io/http01-solver: "true"
5 changes: 1 addition & 4 deletions modules/container_deployment/ambassador_values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,6 @@ service:
- name: mqtt-adapter
port: 1883
targetPort: 1883
- name: http-adapter
port: 18080
targetPort: 18080
- name: device-registry
port: 28080
targetPort: 28080
Expand All @@ -28,4 +25,4 @@ service:
targetPort: 16686
- name: prometheus
port: 9090
targetPort: 9090
targetPort: 9090
3 changes: 3 additions & 0 deletions modules/container_deployment/hono_values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,6 @@ deviceRegistryExample:
host: "mongodb"
port: 27017
dbName: "honodb"
adapters:
http:
enabled: false

0 comments on commit 9d64d39

Please sign in to comment.