Skip to content

Commit b7ac8d7

Browse files
committed
Change API version
1 parent ccf772a commit b7ac8d7

8 files changed

+15
-15
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ To configure authorization policies to MQTT broker, first you create a [BrokerAu
131131
1. Save the following yaml, which contains a BrokerAuthorization definition, to a file named `aio-dapr-authz.yaml`:
132132

133133
```yml
134-
apiVersion: mq.iotoperations.azure.com/v1beta1
134+
apiVersion: mqttbroker.iotoperations.azure.com/v1beta1
135135
kind: BrokerAuthorization
136136
metadata:
137137
name: my-dapr-authz-policies

articles/iot-operations/manage-mqtt-broker/howto-configure-authentication.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ kubectl get brokerauthentication authn -n azure-iot-operations -o yaml
2929
The output shows the default BrokerAuthentication resource, with metadata removed for brevity:
3030

3131
```yaml
32-
apiVersion: mq.iotoperations.azure.com/v1beta1
32+
apiVersion: mqttbroker.iotoperations.azure.com/v1beta1
3333
kind: BrokerAuthentication
3434
metadata:
3535
name: authn
@@ -70,7 +70,7 @@ The authentication flow ends when:
7070
With multiple authentication methods, MQTT broker has a fallback mechanism. For example:
7171

7272
```yaml
73-
apiVersion: mq.iotoperations.azure.com/v1beta1
73+
apiVersion: mqttbroker.iotoperations.azure.com/v1beta1
7474
kind: BrokerAuthentication
7575
metadata:
7676
name: authn
@@ -152,7 +152,7 @@ BinaryData
152152
X509 attributes can be specified in the *BrokerAuthentication* resource. For example, every client that has a certificate issued by the root CA `CN = Contoso Root CA Cert, OU = Engineering, C = US` or an intermediate CA `CN = Contoso Intermediate CA` receives the attributes listed.
153153

154154
```yaml
155-
apiVersion: mq.iotoperations.azure.com/v1beta1
155+
apiVersion: mqttbroker.iotoperations.azure.com/v1beta1
156156
kind: BrokerAuthentication
157157
metadata:
158158
name: authn

articles/iot-operations/manage-mqtt-broker/howto-configure-authorization.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ The specification of a *BrokerAuthorization* resource has the following fields:
4343
The following example shows how to create a *BrokerAuthorization* resource that defines the authorization policies for a listener named *my-listener*.
4444

4545
```yaml
46-
apiVersion: mq.iotoperations.azure.com/v1beta1
46+
apiVersion: mqttbroker.iotoperations.azure.com/v1beta1
4747
kind: BrokerAuthorization
4848
metadata:
4949
name: "my-authz-policies"
@@ -110,7 +110,7 @@ Attribute annotations must begin with `aio-mq-broker-auth/` to distinguish them
110110
As the application has an authorization attribute called `authz-sat`, there's no need to provide a `clientId` or `username`. The corresponding *BrokerAuthorization* resource uses this attribute as a principal, for example:
111111

112112
```yaml
113-
apiVersion: mq.iotoperations.azure.com/v1beta1
113+
apiVersion: mqttbroker.iotoperations.azure.com/v1beta1
114114
kind: BrokerAuthorization
115115
metadata:
116116
name: "my-authz-policies"
@@ -156,7 +156,7 @@ kubectl edit brokerauthorization my-authz-policies
156156
To disable authorization, set `authorizationEnabled: false` in the BrokerListener resource. When the policy is set to allow all clients, all [authenticated clients](./howto-configure-authentication.md) can access all operations.
157157

158158
```yaml
159-
apiVersion: mq.iotoperations.azure.com/v1beta1
159+
apiVersion: mqttbroker.iotoperations.azure.com/v1beta1
160160
kind: BrokerListener
161161
metadata:
162162
name: "my-listener"

articles/iot-operations/manage-mqtt-broker/howto-configure-availability-scale.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ kubectl delete broker broker -n azure-iot-operations
108108
Then, create a YAML file with desired settings. For example, the following YAML file configures the broker with name `broker` in namespace `azure-iot-operations` with `medium` memory profile and `distributed` mode with two frontend replicas and two backend chains with two partitions and two workers each. Also, the [encryption of internal traffic option](#configure-encryption-of-internal-traffic) is disabled.
109109

110110
```yaml
111-
apiVersion: mq.iotoperations.azure.com/v1beta1
111+
apiVersion: mqttbroker.iotoperations.azure.com/v1beta1
112112
kind: Broker
113113
metadata:
114114
name: broker
@@ -178,7 +178,7 @@ The following table lists the properties of the broker advanced settings that in
178178
Here's an example of a *Broker* with advanced settings:
179179

180180
```yml
181-
apiVersion: mq.iotoperations.azure.com/v1beta1
181+
apiVersion: mqttbroker.iotoperations.azure.com/v1beta1
182182
kind: Broker
183183
metadata:
184184
name: broker
@@ -243,7 +243,7 @@ You can configure diagnostics using the *Broker* custom resource definition (CRD
243243
Here's an example of a *Broker* custom resource with metrics and tracing enabled and self-check disabled:
244244

245245
```yaml
246-
apiVersion: mq.iotoperations.azure.com/v1beta1
246+
apiVersion: mqttbroker.iotoperations.azure.com/v1beta1
247247
kind: Broker
248248
metadata:
249249
name: broker

articles/iot-operations/manage-mqtt-broker/howto-configure-brokerlistener.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ kubectl get brokerlistener listener -n azure-iot-operations -o yaml
7575
The output should look similar to this, with most metadata removed for brevity:
7676

7777
```yaml
78-
apiVersion: mq.iotoperations.azure.com/v1beta1
78+
apiVersion: mqttbroker.iotoperations.azure.com/v1beta1
7979
kind: BrokerListener
8080
metadata:
8181
name: listener
@@ -117,7 +117,7 @@ This example shows how to create a new *BrokerListener* resource for a *Broker*
117117
To create these *BrokerListener* resources, apply this YAML manifest to your Kubernetes cluster:
118118

119119
```yaml
120-
apiVersion: mq.iotoperations.azure.com/v1beta1
120+
apiVersion: mqttbroker.iotoperations.azure.com/v1beta1
121121
kind: BrokerListener
122122
metadata:
123123
name: my-test-listener

articles/iot-operations/manage-mqtt-broker/howto-configure-tls-auto.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ For production, check cert-manager documentation to see which issuer works best
175175
Modify the `tls` setting in a BrokerListener resource to specify a TLS port and Issuer for the frontends. The following is an example of a BrokerListener resource that enables TLS on port 8884 with automatic certificate management.
176176
177177
```yaml
178-
apiVersion: mq.iotoperations.azure.com/v1beta1
178+
apiVersion: mqttbroker.iotoperations.azure.com/v1beta1
179179
kind: BrokerListener
180180
metadata:
181181
name: my-new-tls-listener

articles/iot-operations/manage-mqtt-broker/howto-configure-tls-manual.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ Both EC and RSA keys are supported, but all certificates in the chain must use t
7878
Modify the `tls` setting in a BrokerListener resource to specify manual TLS configuration referencing the Kubernetes secret. Note the name of the secret used for the TLS server certificate (`server-cert-secret` in the example previously).
7979

8080
```yaml
81-
apiVersion: mq.iotoperations.azure.com/v1beta1
81+
apiVersion: mqttbroker.iotoperations.azure.com/v1beta1
8282
kind: BrokerListener
8383
metadata:
8484
name: manual-tls-listener

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -283,7 +283,7 @@ If you understand the risks and need to use an insecure port in a well-controlle
283283
1. Create a new `BrokerListener` resource without TLS settings:
284284

285285
```yaml
286-
apiVersion: mq.iotoperations.azure.com/v1beta1
286+
apiVersion: mqttbroker.iotoperations.azure.com/v1beta1
287287
kind: BrokerListener
288288
metadata:
289289
name: non-tls-listener

0 commit comments

Comments
 (0)