Skip to content

Commit 4ce02ea

Browse files
TheFrogPadrjeberhard
authored andcommitted
Update domain secret infro and add reference to config overrides
1 parent 46aef94 commit 4ce02ea

File tree

1 file changed

+27
-5
lines changed

1 file changed

+27
-5
lines changed

docs-source/content/security/secrets.md

Lines changed: 27 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,24 @@ description: "Kubernetes secrets for the WebLogic operator"
88
#### Contents
99
* [WebLogic domain credentials secret](#weblogic-domain-credentials-secret)
1010
* [WebLogic domain image pull secret](#weblogic-domain-image-pull-secret)
11+
* [WebLogic operator configuration override secrets](#weblogic-operator-configuration-override-secrets)
1112
* [WebLogic operator external REST interface secret](#weblogic-operator-external-rest-interface-secret)
1213
* [WebLogic operator internal REST interface secret](#weblogic-operator-internal-rest-interface-secret)
1314

1415
#### WebLogic domain credentials secret
1516

16-
The credential for the WebLogic domain is kept in a Kubernetes `Secret` that
17-
follows the pattern `<domainUID>-weblogic-credentials`, where `<domainUID>` is
17+
The credentials for the WebLogic domain are kept in a Kubernetes `Secret` where the name of
18+
the secret is specified using `webLogicCredentialsSecret` in the WebLogic `Domain` resource.
19+
Also, the domain credentials secret must be created in the namespace where the `Domain` will be running.
20+
21+
{{% notice note %}}
22+
For an example of a WebLogic domain resource using `webLogicCredentialsSecret`,
23+
see [Docker Image Protection]({{<relref "/security/domain-security/image-protection.md#1-use-imagepullsecrets-with-the-domain-resource">}}).
24+
{{% /notice %}}
25+
26+
The samples supplied with the WebLogic operator use a naming convention that follows
27+
the pattern `<domainUID>-weblogic-credentials`, where `<domainUID>` is
1828
the unique identifier of the domain, for example, `domain1-weblogic-credentials`.
19-
The `Secret` is created in the namespace where the `Domain` will be running.
2029

2130
If the WebLogic domain will be started in `domain1-ns` and the `<domainUID>` is `domain1`,
2231
an example of creating a Kubernetes `generic secret` is as follows:
@@ -67,7 +76,20 @@ Kubernetes `Secret` that holds the registry credentials.
6776

6877
{{% notice info %}}
6978
For more information, see [Docker Image Protection]({{<relref "/security/domain-security/image-protection.md#weblogic-domain-in-docker-image-protection">}})
70-
under **Domain Security**.
79+
under **Domain security**.
80+
{{% /notice %}}
81+
82+
#### WebLogic operator configuration override secrets
83+
84+
The WebLogic operator supports embedding macros within configuration override templates
85+
that reference Kubernetes secrets. These Kubernetes secrets can be created with any name in the
86+
namespace where the `Domain` will be running. The Kubernetes secret names are
87+
specified using `configOverrideSecrets` in the WebLogic `Domain` resource.
88+
89+
{{% notice info %}}
90+
For more information, see
91+
[Configuration overrides]({{<relref "/userguide/managing-domains/configoverrides/_index.md#how-do-you-specify-overrides">}})
92+
under **User Guide**.
7193
{{% /notice %}}
7294

7395
#### WebLogic operator external REST interface secret
@@ -84,7 +106,7 @@ under **Securty**.
84106
#### WebLogic operator internal REST interface secret
85107

86108
The operator exposes an internal REST HTTPS interface with a self-signed certificate.
87-
The certificate is kept in a Kubernetes `ConfigMap` with the name `weblogic-operator-cm ` using the key `internalOperatorCert`.
109+
The certificate is kept in a Kubernetes `ConfigMap` with the name `weblogic-operator-cm` using the key `internalOperatorCert`.
88110
The private key is kept in a Kubernetes `Secret` with the name `weblogic-operator-secrets` using the key `internalOperatorKey`.
89111
These Kubernetes objects are managed by the operator's Helm chart and are part of the
90112
namespace where the WebLogic operator is installed.

0 commit comments

Comments
 (0)