You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The default secret name is `mendix-operator-pclm`. If PCLM was previously configured manually, the existing secret name is used. Below is the yaml file format for the secret.
288
+
The default secret name is `mendix-operator-pclm`. If PCLM was previously configured manually, the existing secret name is used.
289
+
290
+
#### 7.1.1 Sample Yaml Files
291
+
292
+
Below are sample yaml files for the secrets, with the changes applied after running the above command. You do not need to make those changes manually; to configure the Mendix Operator and Agent, it is enough to run the above command.
293
+
294
+
##### 7.1.1.1 Mendix Operator
289
295
290
296
```yaml
291
297
apiVersion: v1
@@ -317,11 +323,31 @@ Where:
317
323
318
324
* `<secret-name>` – the default secret name is `mendix-operator-pclm`
319
325
* `<pclm-http-url>` – is the HTTP REST endpoint of the PCLM server
320
-
326
+
327
+
##### 7.1.1.2 Mendix Agent
328
+
329
+
```yaml
330
+
apiVersion: v1
331
+
kind: Secret
332
+
type: Opaque
333
+
metadata:
334
+
name: <secret-name>
335
+
data:
336
+
username: <base64-encoded username>
337
+
password: <base64-encoded password>
338
+
server-url: <base64-encoded PCLM URL>
339
+
```
340
+
341
+
Where:
342
+
343
+
* `<secret-name>` – the default secret name is `mendix-agent-pclm`
344
+
* `<username>` – is a user of *operator* or *admin* type
345
+
* `<password>` – is the password for the chosen username
346
+
* `<server-url>` – is the URL of the PCLM server
321
347
322
348
### 7.2 Applying Licenses
323
349
324
-
Once you have patched the Mendix Operator, all app environments which are controlled through the operator will have licenses applied automatically.
350
+
Once you have patched the Mendix Operator, restart your environment. All app environments which are controlled through the operator will have licenses applied automatically after the restart.
325
351
326
352
{{% alert color="info" %}}
327
353
You cannot choose which environments will be licensed. If you have more environments controlled through the operator than licenses, some environments will not be licensed. You can see which environments have been licensed using the instructions in [Verifying That the Licenses Are Applied](#verify), below.
0 commit comments