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
Copy file name to clipboardExpand all lines: site/install.md
+27-7Lines changed: 27 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -67,21 +67,20 @@ The operator can expose an external REST HTTPS interface which can be accessed f
67
67
To enable the external REST interface, configure these values in a custom configuration file, or on the Helm command line:
68
68
69
69
* Set `externalRestEnabled` to `true`.
70
-
* Set `externalOperatorCert` to the certificate's Base64 encoded PEM.
71
-
* Set `externalOperatorKey` to the keys Base64 encoded PEM.
70
+
* Set `externalRestIdentitySecret` to the name of the Kubernetes secret that contains the certificate and private key.
72
71
* Optionally, set `externalRestHttpsPort` to the external port number for the operator REST interface (defaults to `31001`).
73
72
74
73
More detailed information about configuration values can be found in [Operator Helm configuration values](#operator-helm-configuration-values).
75
74
76
75
### SSL certificate and private key for the REST interface
77
76
78
-
For testing purposes, the WebLogic Kubernetes Operator project provides a sample script that generates a self-signed certificate and private key for the operator REST interfaceand outputs them in YAML format. These values can be added to your custom YAML configuration file, for use when the operator's Helm chart is installed.
77
+
For testing purposes, the WebLogic Kubernetes Operator project provides a sample script that generates a self-signed certificate and private key for the operator REST interface, store them in a Kubernetes tls secret and outputs the corresponding configuration values in YAML format. These values can be added to your custom YAML configuration file, for use when the operator's Helm chart is installed.
79
78
80
79
___This script should not be used in a production environment (because self-signed certificates are not typically considered safe).___
81
80
82
-
The script takes the subject alternative names that should be added to the certificate, for example, the list of hostnames that clients can use to access the external REST interface. In this example, the output is directly appended to your custom YAML configuration:
81
+
The script takes the subject alternative names that should be added to the certificate, for example, the list of hostnames that clients can use to access the external REST interface, the optional secret name to store the certificate (defaults to weblogic-operator-external-rest-identity) and the namespace where the operator will be installed. In this example, the output is directly appended to your custom YAML configuration:
## Optional: Elastic Stack (Elasticsearch, Logstash, and Kibana) integration
@@ -348,7 +347,7 @@ Example:
348
347
externalRestHttpsPort: 32009
349
348
```
350
349
351
-
#### externalOperatorCert
350
+
#### externalOperatorCert (Deprecated, use externalRestIdentitySecret instead)
352
351
353
352
Specifies the user supplied certificate to use for the external operator REST HTTPS interface. The value must be a string containing a Base64 encoded PEM certificate. This parameter is required if `externalRestEnabled` is `true`, otherwise, it is ignored.
#### externalOperatorKey (Deprecated, use externalRestIdentitySecret instead)
371
370
372
371
Specifies user supplied private key to use for the external operator REST HTTPS interface. The value must be a string containing a Base64 encoded PEM key. This parameter is required if `externalRestEnabled` is `true`, otherwise, it is ignored.
Specifies the user supplied secret that contains the tls certificate and private key for the external operator REST HTTPS interface. The value must be the name of the Kubernetes tls secret previously created. This parameter is required if `externalRestEnabled` is `true`, otherwise, it is ignored. In order to create the Kubernetes tls secret you can use the following command:
The Helm installation will produce an error, similar to the following, if `externalRestIdentitySecret` is not specified (left blank) and `externalRestEnabled` is `true`:
395
+
```
396
+
Error: render error in "weblogic-operator/templates/main.yaml": template: weblogic-operator/templates/main.yaml:9:3: executing "weblogic-operator/templates/main.yaml"
397
+
at <include "operator.va...>: error calling include: template: weblogic-operator/templates/_validate-inputs.tpl:42:14: executing "operator.validateInputs"
398
+
at <include "utils.endVa...>: error calling include: template: weblogic-operator/templates/_utils.tpl:22:6: executing "utils.endValidation"
399
+
at <fail $scope.validati...>: error calling fail:
400
+
string externalRestIdentitySecret must be specified
0 commit comments