Skip to content

Commit f4bb947

Browse files
authored
Merge pull request #808 from oracle/quickstart-add-imagePullSecretName
Add a step in quick start doc to set imagePullSecretName
2 parents 62c5df2 + 6afecca commit f4bb947

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

site/quickstart.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,10 +189,10 @@ script will just generate the YAML files, but will not take any action on your c
189189

190190
If you run the sample from a machine that is remote to the Kubernetes cluster, and you need to push the new image to a registry that is local to the cluster, you need to do the following:
191191
* Set the `image` property in the inputs file to the target image name (including the registry hostname/port, and the tag if needed).
192+
* If you want Kubernetes to pull the image from a private registry, create a Kubernetes secret to hold your credentials and set the `imagePullSecretName` property in the inputs file to the name of the secret. Note that the secret needs to be in the same namespace as where you want to run the domain.
192193
* Run the `create-domain.sh` script without the `-e` option.
193194
* Push the `image` to the registry.
194195
* Run the following command to create the domain.
195-
196196
```
197197
$ kubectl apply -f /some/output/directory/weblogic-domains/sample-domain1/domain.yaml
198198
```

0 commit comments

Comments
 (0)