Skip to content

Commit 94e537e

Browse files
committed
Clarify that customers must build operator image
1 parent 0e0c628 commit 94e537e

File tree

2 files changed

+8
-11
lines changed

2 files changed

+8
-11
lines changed

kubernetes/create-weblogic-operator-inputs.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,9 @@ namespace: weblogic-operator
2020
targetNamespaces: default
2121

2222
# The docker image containing the operator code.
23-
weblogicOperatorImage: container-registry.oracle.com/middleware/weblogic-kubernetes-operator:latest
23+
# Ensure that the image is built or published to an appropriate registry
24+
# See https://github.com/oracle/weblogic-kubernetes-operator/blob/master/site/installation.md
25+
weblogicOperatorImage: weblogic-kubernetes-operator:1.0
2426

2527
# The image pull policy for the operator docker image.
2628
weblogicOperatorImagePullPolicy: IfNotPresent

site/installation.md

Lines changed: 5 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ Log in to the Docker Store so that you will be able to pull the base image and c
7575

7676
```
7777
docker login
78-
docker build -t weblogic-kubernetes-operator:developer --no-cache=true .
78+
docker build -t weblogic-kubernetes-operator:some-tag --no-cache=true .
7979
```
8080

8181
**Note**: If you have not used the base image (`store/oracle/serverjre:8`) before, you will need to visit the [Docker Store web interface](https://store.docker.com/images/oracle-serverjre-8) and accept the license agreement before the Docker Store will give you permission to pull that image.
@@ -86,18 +86,13 @@ Next, upload your image to your Kubernetes server as follows:
8686

8787
```
8888
# on your build machine:
89-
docker save weblogic-kubernetes-operator:developer > operator.tar
89+
docker save weblogic-kubernetes-operator:some-tag > operator.tar
9090
scp operator.tar YOUR_USER@YOUR_SERVER:/some/path/operator.tar
9191
# on each Kubernetes worker:
9292
docker load < /some/path/operator.tar
9393
```
9494

95-
Verify that you have the right image by running `docker images | grep webloogic-kubernetes-operator` on both machines and comparing the image IDs.
96-
97-
[comment]: # ( Pull the operator image )
98-
[comment]: # ( You can let Kubernetes pull the Docker image for you the first time you try to create a pod that uses the image, but we have found that you can generally avoid various common issues like putting the secret in the wrong namespace or getting the credentials wrong by just manually pulling the image by running these commands *on the Kubernetes master*: )
99-
[comment]: # ( docker login container-registry.oracle.com )
100-
[comment]: # ( docker pull container-registry.oracle.com/middleware/weblogic-kubernetes-operator:latest )
95+
Verify that you have the right image by running `docker images | grep weblogic-kubernetes-operator` on both machines and comparing the image IDs.
10196

10297
## Customizing the operator parameters file
10398

@@ -120,7 +115,7 @@ The operator is deployed with the provided installation script (`create-weblogic
120115
| `remoteDebugNodePortEnabled` | Controls whether or not the operator will start a Java remote debug server on the provided port and suspend execution until a remote debugger has attached. | `false` |
121116
| `serviceAccount`| The name of the service account that the operator will use to make requests to the Kubernetes API server. | `weblogic-operator` |
122117
| `targetNamespaces` | A list of the Kubernetes namespaces that may contain WebLogic domains that the operator will manage. The operator will not take any action against a domain that is in a namespace not listed here. | `default` |
123-
| `weblogicOperatorImage` | The Docker image containing the operator code. | `container-registry.oracle.com/middleware/weblogic-kubernetes-operator:latest` |
118+
| `weblogicOperatorImage` | The Docker image containing the operator code. | `weblogic-kubernetes-operator:1.0` |
124119
| `weblogicOperatorImagePullPolicy` | The image pull policy for the operator Docker image. Allowed values are: `Always`, `Never` and `IfNotPresent` | `IfNotPresent` |
125120
| `weblogicOperatorImagePullSecretName` | Name of the Kubernetes secret to access the Docker Store to pull the WebLogic Server Docker image. The presence of the secret will be validated when this parameter is enabled. | |
126121

@@ -218,7 +213,7 @@ The spec section provides details for the container that the operator will execu
218213
serviceAccountName: weblogic-operator
219214
containers:
220215
- name: weblogic-operator
221-
image: container-registry.oracle.com/middleware/weblogic-operator:latest
216+
image: weblogic-kubernetes-operator:1.0
222217
imagePullPolicy: IfNotPresent
223218
command: ["bash"]
224219
args: ["/operator/operator.sh"]

0 commit comments

Comments
 (0)