Skip to content

Commit 4737772

Browse files
SME review comments
1 parent fd756de commit 4737772

1 file changed

Lines changed: 29 additions & 3 deletions

File tree

content/en/docs/developerportal/deploy/private-cloud/private-cloud-license-manager.md

Lines changed: 29 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -285,7 +285,13 @@ mx-pclm-cli config-namespace -n <operator-ns> \
285285
-u <admin-user> \
286286
-p <admin-password>
287287
```
288-
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
289295

290296
```yaml
291297
apiVersion: v1
@@ -317,11 +323,31 @@ Where:
317323

318324
* `<secret-name>` – the default secret name is `mendix-operator-pclm`
319325
* `<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
321347

322348
### 7.2 Applying Licenses
323349

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.
325351

326352
{{% alert color="info" %}}
327353
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

Comments
 (0)