diff --git a/base/agent/kerberos-agent-deployment.yaml b/base/agent/kerberos-agent-deployment.yaml index 5087b47..a4bec07 100644 --- a/base/agent/kerberos-agent-deployment.yaml +++ b/base/agent/kerberos-agent-deployment.yaml @@ -58,7 +58,7 @@ spec: - name: AGENT_HUB_PRIVATE_KEY value: K6rRLBI1xxxCk3C1H - name: AGENT_MQTT_URI - value: tcp://vernemq:1883 + value: tcp://localhost:31883 - name: AGENT_MQTT_USERNAME value: yourusername - name: AGENT_MQTT_PASSWORD diff --git a/overlays/microk8s/kustomization.yaml b/overlays/microk8s/kustomization.yaml index fe18f2a..aa31599 100644 --- a/overlays/microk8s/kustomization.yaml +++ b/overlays/microk8s/kustomization.yaml @@ -11,6 +11,13 @@ patches: - op: replace path: /parameters/pvDir value: /media/Storage + - target: + kind: Deployment + name: agent1 + patch: |- + - op: replace + path: /spec/template/spec/containers/0/env/15/value + value: tcp://localhost:31883 helmCharts: - name: hub releaseName: hub