Skip to content

Commit 0327f6e

Browse files
committed
Update trust bundle name
1 parent e3bb4fa commit 0327f6e

File tree

5 files changed

+14
-8
lines changed

5 files changed

+14
-8
lines changed

articles/iot-operations/connect-to-cloud/tutorial-mqtt-bridge.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -420,7 +420,7 @@ spec:
420420
expirationSeconds: 86400
421421
- name: trust-bundle
422422
configMap:
423-
name: aio-ca-trust-bundle-test-only # Default root CA cert
423+
name: azure-iot-operations-aio-ca-trust-bundle # Default root CA cert
424424
```
425425
426426
Apply the deployment file with kubectl.

articles/iot-operations/create-edge-apps/howto-develop-dapr-apps.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ The following definition components might require customization to your specific
113113
# Certificate chain for Dapr to validate the MQTT broker
114114
- name: aio-ca-trust-bundle
115115
configMap:
116-
name: aio-ca-trust-bundle-test-only
116+
name: azure-iot-operations-aio-ca-trust-bundle
117117
118118
containers:
119119
# Container for the Dapr application

articles/iot-operations/create-edge-apps/howto-develop-mqttnet-apps.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ spec:
100100
# Certificate chain for the application to validate the MQTT broker
101101
- name: aio-ca-trust-bundle
102102
configMap:
103-
name: aio-ca-trust-bundle-test-only
103+
name: azure-iot-operations-aio-ca-trust-bundle
104104

105105
containers:
106106
- name: mqtt-client-dotnet

articles/iot-operations/create-edge-apps/tutorial-event-driven-with-dapr.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ To start, create a yaml file that uses the following definitions:
9191
# Certificate chain for Dapr to validate the MQTT broker
9292
- name: aio-ca-trust-bundle
9393
configMap:
94-
name: aio-ca-trust-bundle-test-only
94+
name: azure-iot-operations-aio-ca-trust-bundle
9595

9696
containers:
9797
- name: mq-event-driven-dapr
@@ -189,7 +189,7 @@ To verify the MQTT bridge is working, deploy an MQTT client to the cluster.
189189
expirationSeconds: 86400
190190
- name: aio-ca-trust-bundle
191191
configMap:
192-
name: aio-ca-trust-bundle-test-only
192+
name: azure-iot-operations-aio-ca-trust-bundle
193193
```
194194

195195
1. Apply the deployment file with kubectl:

articles/iot-operations/manage-mqtt-broker/howto-test-connection.md

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,14 +41,20 @@ The first option is to connect from within the cluster. This option uses the def
4141

4242
```yaml
4343
apiVersion: v1
44+
kind: ServiceAccount
45+
metadata:
46+
name: mqtt-client
47+
namespace: azure-iot-operations
48+
---
49+
apiVersion: v1
4450
kind: Pod
4551
metadata:
4652
name: mqtt-client
4753
# Namespace must match MQTT broker BrokerListener's namespace
4854
# Otherwise use the long hostname: aio-broker.azure-iot-operations.svc.cluster.local
4955
namespace: azure-iot-operations
5056
spec:
51-
# Use the "mqtt-client" service account which comes with default deployment
57+
# Use the "mqtt-client" service account created from above
5258
# Otherwise create it with `kubectl create serviceaccount mqtt-client -n azure-iot-operations`
5359
serviceAccountName: mqtt-client
5460
containers:
@@ -128,10 +134,10 @@ The first option is to connect from within the cluster. This option uses the def
128134

129135
Since the broker uses TLS, the client must trust the broker's TLS certificate chain. You need to configure the client to trust the root CA certificate used by the broker.
130136

131-
To use the default root CA certificate, download it from the `aio-ca-trust-bundle-test-only` ConfigMap:
137+
To use the default root CA certificate, download it from the `azure-iot-operations-aio-ca-trust-bundle` ConfigMap:
132138

133139
```bash
134-
kubectl get configmap aio-ca-trust-bundle-test-only -n azure-iot-operations -o jsonpath='{.data.ca\.crt}' > ca.crt
140+
kubectl get configmap azure-iot-operations-aio-ca-trust-bundle -n azure-iot-operations -o jsonpath='{.data.ca\.crt}' > ca.crt
135141
```
136142

137143
Use the downloaded `ca.crt` file to configure your client to trust the broker's TLS certificate chain.

0 commit comments

Comments
 (0)