Skip to content

Commit 5a3fef4

Browse files
authored
Use Oracle Container Registry as the default image registry (#706)
1 parent 40f5c2a commit 5a3fef4

File tree

21 files changed

+114
-87
lines changed

21 files changed

+114
-87
lines changed

Makefile

Lines changed: 65 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -35,18 +35,34 @@ PROJECT_URL = https://github.com/oracle/coherence-operator
3535

3636
KUBERNETES_DOC_VERSION=v1.30
3737

38+
# ----------------------------------------------------------------------------------------------------------------------
39+
# Operator image names
40+
# ----------------------------------------------------------------------------------------------------------------------
41+
ORACLE_REGISTRY := container-registry.oracle.com/middleware
42+
GITHUB_REGISTRY := ghcr.io/oracle
43+
OPERATOR_IMAGE_NAME := coherence-operator
44+
OPERATOR_IMAGE_REGISTRY ?= $(ORACLE_REGISTRY)
45+
OPERATOR_IMAGE_ARM := $(OPERATOR_IMAGE_REGISTRY)/$(OPERATOR_IMAGE_NAME):$(VERSION)-arm64
46+
OPERATOR_IMAGE_AMD := $(OPERATOR_IMAGE_REGISTRY)/$(OPERATOR_IMAGE_NAME):$(VERSION)-amd64
47+
OPERATOR_IMAGE := $(OPERATOR_IMAGE_REGISTRY)/$(OPERATOR_IMAGE_NAME):$(VERSION)
48+
OPERATOR_IMAGE_DELVE := $(OPERATOR_IMAGE_REGISTRY)/$(OPERATOR_IMAGE_NAME):delve
49+
OPERATOR_IMAGE_DEBUG := $(OPERATOR_IMAGE_REGISTRY)/$(OPERATOR_IMAGE_NAME):debug
50+
OPERATOR_BASE_IMAGE ?= scratch
51+
3852
# ----------------------------------------------------------------------------------------------------------------------
3953
# The Coherence image to use for deployments that do not specify an image
4054
# ----------------------------------------------------------------------------------------------------------------------
4155
# The Coherence version to build against - must be a Java 8 compatible version
4256
COHERENCE_VERSION ?= 21.12.5
4357
COHERENCE_VERSION_LTS ?= 14.1.2-0-1
4458
COHERENCE_CE_LATEST ?= 24.09.2
59+
4560
# The default Coherence image the Operator will run if no image is specified
46-
COHERENCE_IMAGE_REGISTRY ?= ghcr.io/oracle
61+
COHERENCE_IMAGE_REGISTRY ?= $(ORACLE_REGISTRY)
4762
COHERENCE_IMAGE_NAME ?= coherence-ce
4863
COHERENCE_IMAGE_TAG ?= $(COHERENCE_VERSION_LTS)
4964
COHERENCE_IMAGE ?= $(COHERENCE_IMAGE_REGISTRY)/$(COHERENCE_IMAGE_NAME):$(COHERENCE_IMAGE_TAG)
65+
5066
COHERENCE_GROUP_ID ?= com.oracle.coherence.ce
5167
# The Java version that tests will be compiled to.
5268
# This should match the version required by the COHERENCE_IMAGE version
@@ -57,9 +73,9 @@ COHERENCE_TEST_BASE_IMAGE_21 ?= gcr.io/distroless/java21-debian12
5773
# This is the Coherence image that will be used in tests.
5874
# Changing this variable will allow test builds to be run against different Coherence versions
5975
# without altering the default image name.
60-
TEST_COHERENCE_IMAGE ?= $(COHERENCE_IMAGE)
76+
TEST_COHERENCE_IMAGE ?= $(COHERENCE_IMAGE)
6177
TEST_COHERENCE_VERSION ?= $(COHERENCE_VERSION)
62-
TEST_COHERENCE_GID ?= com.oracle.coherence.ce
78+
TEST_COHERENCE_GID ?= $(COHERENCE_GROUP_ID)
6379

6480
# The minimum certified OpenShift version the Operator runs on
6581
OPENSHIFT_MIN_VERSION := v4.15
@@ -110,24 +126,15 @@ MAVEN_OPTIONS ?= -Dmaven.wagon.httpconnectionManager.ttlSeconds=25 -Dmaven.wagon
110126
MAVEN_BUILD_OPTS :=$(USE_MAVEN_SETTINGS) -Drevision=$(MVN_VERSION) -Dcoherence.version=$(COHERENCE_VERSION) -Dcoherence.version=$(COHERENCE_VERSION_LTS) -Dcoherence.groupId=$(COHERENCE_GROUP_ID) -Dcoherence.test.base.image=$(COHERENCE_TEST_BASE_IMAGE_17) -Dcoherence.test.base.image.21=$(COHERENCE_TEST_BASE_IMAGE_21) -Dbuild.java.version=$(BUILD_JAVA_VERSION) $(MAVEN_OPTIONS)
111127

112128
# ----------------------------------------------------------------------------------------------------------------------
113-
# Operator image names
129+
# Test image names
114130
# ----------------------------------------------------------------------------------------------------------------------
115-
GITHUB_REGISTRY := ghcr.io/oracle
116-
OPERATOR_IMAGE_REGISTRY ?= $(GITHUB_REGISTRY)
117-
OPERATOR_BASE_IMAGE ?= scratch
118-
OPERATOR_IMAGE_NAME := coherence-operator
119-
OPERATOR_IMAGE_ARM := $(OPERATOR_IMAGE_REGISTRY)/$(OPERATOR_IMAGE_NAME):$(VERSION)-arm64
120-
OPERATOR_IMAGE_AMD := $(OPERATOR_IMAGE_REGISTRY)/$(OPERATOR_IMAGE_NAME):$(VERSION)-amd64
121-
OPERATOR_IMAGE := $(OPERATOR_IMAGE_REGISTRY)/$(OPERATOR_IMAGE_NAME):$(VERSION)
122-
OPERATOR_IMAGE_DELVE := $(OPERATOR_IMAGE_REGISTRY)/$(OPERATOR_IMAGE_NAME):delve
123-
OPERATOR_IMAGE_DEBUG := $(OPERATOR_IMAGE_REGISTRY)/$(OPERATOR_IMAGE_NAME):debug
124-
125-
TEST_BASE_IMAGE := $(OPERATOR_IMAGE_REGISTRY)/$(OPERATOR_IMAGE_NAME)-test-base:$(VERSION)
131+
TEST_BASE_IMAGE := $(OPERATOR_IMAGE_REGISTRY)/$(OPERATOR_IMAGE_NAME)-test-base:$(VERSION)
126132

127133
# Tanzu packages
128-
OPERATOR_PACKAGE_PREFIX := $(OPERATOR_IMAGE_REGISTRY)/$(OPERATOR_IMAGE_NAME)-package
134+
TANZU_REGISTRY := $(GITHUB_REGISTRY)
135+
OPERATOR_PACKAGE_PREFIX := $(TANZU_REGISTRY)/$(OPERATOR_IMAGE_NAME)-package
129136
OPERATOR_PACKAGE_IMAGE := $(OPERATOR_PACKAGE_PREFIX):$(VERSION)
130-
OPERATOR_REPO_PREFIX := $(OPERATOR_IMAGE_REGISTRY)/$(OPERATOR_IMAGE_NAME)-repo
137+
OPERATOR_REPO_PREFIX := $(TANZU_REGISTRY)/$(OPERATOR_IMAGE_NAME)-repo
131138
OPERATOR_REPO_IMAGE := $(OPERATOR_REPO_PREFIX):$(VERSION)
132139

133140
# ----------------------------------------------------------------------------------------------------------------------
@@ -922,29 +929,38 @@ stop: ## kill any locally running operator process
922929
# ----------------------------------------------------------------------------------------------------------------------
923930
# Generate bundle manifests and metadata, then validate generated files.
924931
# ----------------------------------------------------------------------------------------------------------------------
932+
BUNDLE_DIRECTORY := ./bundle
933+
BUNDLE_BUILD := $(BUILD_OUTPUT)/bundle
934+
935+
.PHONY: bundle-clean
936+
bundle-clean:
937+
rm -rf $(BUNDLE_DIRECTORY) || true
938+
rm -rf $(BUNDLE_BUILD) || true
939+
rm $(BUILD_OUTPUT)/coherence-operator-bundle.tar.gz
940+
925941
.PHONY: bundle
926942
bundle: $(BUILD_PROPS) ensure-sdk $(TOOLS_BIN)/kustomize $(BUILD_TARGETS)/manifests $(MANIFEST_FILES) ## Generate OLM bundle manifests and metadata, then validate generated files.
927943
$(OPERATOR_SDK) generate kustomize manifests
928944
cd config/manager && $(KUSTOMIZE) edit set image controller=$(OPERATOR_IMAGE)
929945
$(KUSTOMIZE) build config/manifests | $(OPERATOR_SDK) generate bundle --verbose --overwrite --version $(VERSION) $(BUNDLE_METADATA_OPTS)
930-
@echo "" >> ./bundle/metadata/annotations.yaml
931-
@echo " # OpenShift annotations" >> ./bundle/metadata/annotations.yaml
932-
@echo " com.redhat.openshift.versions: $(OPENSHIFT_MIN_VERSION)" >> ./bundle/metadata/annotations.yaml
946+
@echo "" >> $(BUNDLE_DIRECTORY)/metadata/annotations.yaml
947+
@echo " # OpenShift annotations" >> $(BUNDLE_DIRECTORY)/metadata/annotations.yaml
948+
@echo " com.redhat.openshift.versions: $(OPENSHIFT_MIN_VERSION)" >> $(BUNDLE_DIRECTORY)/metadata/annotations.yaml
933949
@echo "" >> bundle.Dockerfile
934950
@echo "# OpenShift labels" >> bundle.Dockerfile
935951
@echo "LABEL com.redhat.openshift.versions=$(OPENSHIFT_MIN_VERSION)" >> bundle.Dockerfile
936952
@echo "LABEL org.opencontainers.image.description=\"This is the Operator Lifecycle Manager bundle for the Coherence Kubernetes Operator\"" >> bundle.Dockerfile
937953
@echo "cert_project_id: $(OPENSHIFT_COMPONENT_PID)" > bundle/ci.yaml
938-
$(OPERATOR_SDK) bundle validate ./bundle
939-
$(OPERATOR_SDK) bundle validate ./bundle --select-optional suite=operatorframework --optional-values=k8s-version=1.26
940-
$(OPERATOR_SDK) bundle validate ./bundle --select-optional name=operatorhubv2 --optional-values=k8s-version=1.26
941-
$(OPERATOR_SDK) bundle validate ./bundle --select-optional name=capabilities --optional-values=k8s-version=1.26
942-
$(OPERATOR_SDK) bundle validate ./bundle --select-optional name=categories --optional-values=k8s-version=1.26
943-
rm -rf $(BUILD_OUTPUT)/bundle || true
944-
mkdir -p $(BUILD_OUTPUT)/bundle/coherence-operator/$(VERSION) || true
945-
cp -R ./bundle/. $(BUILD_OUTPUT)/bundle/coherence-operator/$(VERSION)
946-
rm $(BUILD_OUTPUT)/bundle/coherence-operator/$(VERSION)/ci.yaml || true
947-
tar -C $(BUILD_OUTPUT)/bundle -czf $(BUILD_OUTPUT)/coherence-operator-bundle.tar.gz .
954+
$(OPERATOR_SDK) bundle validate $(BUNDLE_DIRECTORY)
955+
$(OPERATOR_SDK) bundle validate $(BUNDLE_DIRECTORY) --select-optional suite=operatorframework --optional-values=k8s-version=1.26
956+
$(OPERATOR_SDK) bundle validate $(BUNDLE_DIRECTORY) --select-optional name=operatorhubv2 --optional-values=k8s-version=1.26
957+
$(OPERATOR_SDK) bundle validate $(BUNDLE_DIRECTORY) --select-optional name=capabilities --optional-values=k8s-version=1.26
958+
$(OPERATOR_SDK) bundle validate $(BUNDLE_DIRECTORY) --select-optional name=categories --optional-values=k8s-version=1.26
959+
rm -rf $(BUNDLE_BUILD) || true
960+
mkdir -p $(BUNDLE_BUILD)/coherence-operator/$(VERSION) || true
961+
cp -R $(BUNDLE_DIRECTORY)/. $(BUNDLE_BUILD)/coherence-operator/$(VERSION)
962+
rm $(BUNDLE_BUILD)/coherence-operator/$(VERSION)/ci.yaml || true
963+
tar -C $(BUNDLE_BUILD) -czf $(BUILD_OUTPUT)/coherence-operator-bundle.tar.gz .
948964
rm -rf bundle_tmp*
949965

950966
# ----------------------------------------------------------------------------------------------------------------------
@@ -998,7 +1014,7 @@ catalog-push: catalog-build ## Push a catalog image.
9981014

9991015
.PHONY: scorecard
10001016
scorecard: $(BUILD_PROPS) ensure-sdk bundle ## Run the Operator SDK scorecard tests.
1001-
$(OPERATOR_SDK) scorecard --verbose ./bundle
1017+
$(OPERATOR_SDK) scorecard --verbose $(BUNDLE_DIRECTORY)
10021018

10031019
.PHONY: install-olm
10041020
install-olm: ensure-sdk ## Install the Operator Lifecycle Manage into the K8s cluster
@@ -1711,7 +1727,7 @@ ifeq (false,$(OPERATOR_HA))
17111727
cd $(BUILD_DEPLOY)/manager && $(KUSTOMIZE) edit add patch --kind Deployment --name controller-manager --path single-replica-patch.yaml
17121728
endif
17131729
kubectl -n $(OPERATOR_NAMESPACE) create secret generic coherence-webhook-server-cert || true
1714-
ifeq ("$(OPERATOR_IMAGE_REGISTRY)","$(GITHUB_REGISTRY)")
1730+
ifeq ("$(OPERATOR_IMAGE_REGISTRY)","$(ORACLE_REGISTRY)")
17151731
$(KUSTOMIZE) build $(BUILD_DEPLOY)/default | kubectl apply -f -
17161732
else
17171733
$(KUSTOMIZE) build $(BUILD_DEPLOY)/overlays/ci | kubectl apply -f -
@@ -1722,7 +1738,7 @@ endif
17221738
.PHONY: just-deploy
17231739
just-deploy: ensure-pull-secret ## Deploy the Coherence Operator without rebuilding anything
17241740
$(call prepare_deploy,$(OPERATOR_IMAGE),$(OPERATOR_NAMESPACE))
1725-
ifeq ("$(OPERATOR_IMAGE_REGISTRY)","$(GITHUB_REGISTRY)")
1741+
ifeq ("$(OPERATOR_IMAGE_REGISTRY)","$(ORACLE_REGISTRY)")
17261742
$(KUSTOMIZE) build $(BUILD_DEPLOY)/default | kubectl apply -f -
17271743
else
17281744
$(KUSTOMIZE) build $(BUILD_DEPLOY)/overlays/ci | kubectl apply -f -
@@ -2427,13 +2443,24 @@ test-examples: build-examples
24272443
# ----------------------------------------------------------------------------------------------------------------------
24282444
PUSH_ARGS ?=
24292445

2446+
# The registry we release (push) the operator images to, which can be different to the registry
2447+
# used to build and test the operator.
2448+
OPERATOR_RELEASE_REGISTRY ?= $(OPERATOR_IMAGE_REGISTRY)
2449+
OPERATOR_RELEASE_IMAGE := $(OPERATOR_RELEASE_REGISTRY)/$(OPERATOR_IMAGE_NAME):$(VERSION)
2450+
OPERATOR_RELEASE_ARM := $(OPERATOR_RELEASE_REGISTRY)/$(OPERATOR_IMAGE_NAME):$(VERSION)-arm64
2451+
OPERATOR_RELEASE_AMD := $(OPERATOR_RELEASE_REGISTRY)/$(OPERATOR_IMAGE_NAME):$(VERSION)-amd64
2452+
24302453
.PHONY: push-operator-image
24312454
push-operator-image: $(BUILD_TARGETS)/build-operator
2455+
ifneq ("$(OPERATOR_RELEASE_REGISTRY)","$(OPERATOR_IMAGE_REGISTRY)")
2456+
$(DOCKER_CMD) tag $(OPERATOR_IMAGE_ARM) $(OPERATOR_RELEASE_ARM)
2457+
$(DOCKER_CMD) tag $(OPERATOR_IMAGE_AMD) $(OPERATOR_RELEASE_AMD)
2458+
endif
24322459
chmod +x $(CURRDIR)/hack/run-buildah.sh
2433-
export OPERATOR_IMAGE=$(OPERATOR_IMAGE) \
2434-
&& export OPERATOR_IMAGE_AMD=$(OPERATOR_IMAGE_AMD) \
2435-
&& export OPERATOR_IMAGE_ARM=$(OPERATOR_IMAGE_ARM) \
2436-
&& export OPERATOR_IMAGE_REGISTRY=$(OPERATOR_IMAGE_REGISTRY) \
2460+
export OPERATOR_IMAGE=$(OPERATOR_RELEASE_IMAGE) \
2461+
&& export OPERATOR_IMAGE_AMD=$(OPERATOR_RELEASE_AMD) \
2462+
&& export OPERATOR_IMAGE_ARM=$(OPERATOR_RELEASE_ARM) \
2463+
&& export OPERATOR_IMAGE_REGISTRY=$(OPERATOR_RELEASE_REGISTRY) \
24372464
&& export VERSION=$(VERSION) \
24382465
&& export REVISION=$(GITCOMMIT) \
24392466
&& export NO_DOCKER_DAEMON=$(NO_DOCKER_DAEMON) \
@@ -2538,7 +2565,7 @@ push-all-ttl-images: push-ttl-operator-images push-ttl-test-images
25382565
# Push all of the images that are released
25392566
# ----------------------------------------------------------------------------------------------------------------------
25402567
.PHONY: push-release-images
2541-
push-release-images: push-operator-image bundle-push catalog-push tanzu-repo
2568+
push-release-images: push-operator-image bundle-clean bundle bundle-push catalog-push tanzu-repo
25422569

25432570
# ----------------------------------------------------------------------------------------------------------------------
25442571
# Install Prometheus

config/manager/kustomization.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,5 @@ resources:
88

99
images:
1010
- name: controller
11-
newName: ghcr.io/oracle/coherence-operator
11+
newName: container-registry.oracle.com/middleware/coherence-operator
1212
newTag: 3.5.0

config/manifests/bases/coherence-operator.clusterserviceversion.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ metadata:
88
capabilities: Full Lifecycle
99
categories: Database
1010
certified: "false"
11-
containerImage: ghcr.io/oracle/coherence-operator:3.5.0
11+
containerImage: container-registry.oracle.com/middleware/coherence-operator:3.5.0
1212
description: The Oracle Coherence Kubernetes Operator enables easy management
1313
of Coherence clusters in a Kubernetes environment.
1414
features.operators.openshift.io/cnf: "false"

debug/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# Licensed under the Universal Permissive License v 1.0 as shown at
44
# http://oss.oracle.com/licenses/upl.
55
#
6-
FROM ghcr.io/oracle/coherence-operator:delve
6+
FROM container-registry.oracle.com/middleware/coherence-operator:delve
77

88
ARG target
99
ARG version

docs/installation/01_installation.adoc

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
99
= Coherence Operator Installation
1010
11-
The Coherence Operator is available as an image from the GitHub container registry `ghcr.io/oracle/coherence-operator:{operator-version}` that can
11+
The Coherence Operator is available as an image from the GitHub container registry `container-registry.oracle.com/middleware/coherence-operator:{operator-version}` that can
1212
easily be installed into a Kubernetes cluster.
1313
1414
== Coherence Operator Installation
@@ -315,7 +315,7 @@ helm install \
315315
[#helm-operator-image]
316316
=== Set the Operator Image
317317
318-
The Helm chart uses a default Operator image from `ghcr.io/oracle/coherence-operator:{operator-version}`.
318+
The Helm chart uses a default Operator image from `container-registry.oracle.com/middleware/coherence-operator:{operator-version}`.
319319
If the image needs to be pulled from a different location (for example an internal registry) then there are two ways to override the default.
320320
Either set the individual `image.registry`, `image.name` and `image.tag` values, or set the whole image name by setting the `image` value.
321321
@@ -897,8 +897,8 @@ using a standalone Carvel https://carvel.dev/kapp-controller/[kapp-controller].
897897
898898
The Coherence Operator release published two images required to deploy the Operator as a Tanzu package.
899899
900-
* `ghcr.io/oracle/coherence-operator-package:{operator-version}` - the Coherence Operator package
901-
* `ghcr.io/oracle/coherence-operator-repo:{operator-version}` - the Coherence Operator repository
900+
* `container-registry.oracle.com/middleware/coherence-operator-package:{operator-version}` - the Coherence Operator package
901+
* `container-registry.oracle.com/middleware/coherence-operator-repo:{operator-version}` - the Coherence Operator repository
902902
903903
=== Install the Coherence Repository
904904
@@ -908,7 +908,7 @@ This can be done using the Tanzu CLI.
908908
[source,bash]
909909
----
910910
tanzu package repository add coherence-repo \
911-
--url ghcr.io/oracle/coherence-operator-repo:3.5.0 \
911+
--url container-registry.oracle.com/middleware/coherence-operator-repo:3.5.0 \
912912
--namespace coherence \
913913
--create-namespace
914914
----
@@ -923,8 +923,8 @@ tanzu package repository list --namespace coherence
923923
which should display something like the following
924924
[source,bash]
925925
----
926-
NAME REPOSITORY TAG STATUS DETAILS
927-
coherence-repo ghcr.io/oracle/coherence-operator-repo 1h Reconcile succeeded
926+
NAME REPOSITORY TAG STATUS DETAILS
927+
coherence-repo container-registry.oracle.com/middleware/coherence-operator-repo 1h Reconcile succeeded
928928
----
929929
930930
The available packages in the Coherence repository can also be displayed using the CLI

docs/management/100_tmb_test.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ spec:
5454
restartPolicy: Never
5555
containers:
5656
- name: coherence
57-
image: ghcr.io/oracle/coherence-ce:22.06.10 # <1>
57+
image: container-registry.oracle.com/middleware/coherence-ce:14.1.2-0-1 # <1>
5858
ports:
5959
- name: mbus
6060
containerPort: 8000
@@ -101,7 +101,7 @@ spec:
101101
restartPolicy: Never
102102
containers:
103103
- name: coherence
104-
image: ghcr.io/oracle/coherence-ce:22.06.10
104+
image: container-registry.oracle.com/middleware/coherence-ce:14.1.2-0-1
105105
command:
106106
- java # <1>
107107
- -cp

examples/095_network_policies/README.adoc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -414,12 +414,12 @@ If Coherence Extend is being used, then first the Extend Proxy must be configure
414414
The default behaviour of Coherence is to bind the Extend proxy to an ephemeral port and clients use the Coherence
415415
NameService to look up the port to use.
416416
417-
When using the default Coherence images, for example `ghcr.io/oracle/coherence-ce:22.06` the Extend proxy is already
417+
When using the default Coherence images, for example `container-registry.oracle.com/middleware/coherence-ce:22.06` the Extend proxy is already
418418
configured to run on a fixed port `20000`. When using this image, or any image that uses the default Coherence cache
419419
configuration file, this port can be changed by setting the `COHERENCE_EXTEND_PORT` environment variable.
420420
421421
When using the Coherence Concurrent extensions over Extend, the Concurrent Extend proxy also needs to be configured with a fixed port.
422-
When using the default Coherence images, for example `ghcr.io/oracle/coherence-ce:22.06` the Concurrent Extend proxy is already
422+
When using the default Coherence images, for example `container-registry.oracle.com/middleware/coherence-ce:22.06` the Concurrent Extend proxy is already
423423
configured to run on a fixed port `20001`. When using this image, or any image that uses the default Coherence cache
424424
configuration file, this port can be changed by setting the `COHERENCE_CONCURRENT_EXTEND_PORT` environment variable.
425425
@@ -491,7 +491,7 @@ This policy must be applied to the namespace _where the client Pods will be depl
491491
492492
If Coherence gRPC is being used, then first the gRPC Proxy must be configured to use a fixed port.
493493
494-
When using the default Coherence images, for example `ghcr.io/oracle/coherence-ce:22.06` the gRPC proxy is already
494+
When using the default Coherence images, for example `container-registry.oracle.com/middleware/coherence-ce:22.06` the gRPC proxy is already
495495
configured to run on a fixed port `1408`. The gRPC proxy port can be changed by setting the `COHERENCE_GRPC_PORT` environment variable.
496496
497497
The ingress policy below will allow ingress into the Coherence Pods gRPC port.

examples/095_network_policies/manifests/net-test-client.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ spec:
1414
spec:
1515
containers:
1616
- name: net-test
17-
image: ghcr.io/oracle/coherence-operator:3.5.0
17+
image: container-registry.oracle.com/middleware/coherence-operator:3.5.0
1818
env:
1919
- name: HOST
2020
value: net-test-coherence-server.coh-test.svc

examples/095_network_policies/manifests/net-test-coherence-server.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ metadata:
4343
spec:
4444
containers:
4545
- name: net-test
46-
image: ghcr.io/oracle/coherence-operator:3.5.0
46+
image: container-registry.oracle.com/middleware/coherence-operator:3.5.0
4747
ports:
4848
- containerPort: 9612
4949
name: metrics

examples/095_network_policies/manifests/net-test-coherence.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ spec:
2020
spec:
2121
containers:
2222
- name: net-test
23-
image: ghcr.io/oracle/coherence-operator:3.5.0
23+
image: container-registry.oracle.com/middleware/coherence-operator:3.5.0
2424
env:
2525
- name: CLUSTER_HOST
2626
value: net-test-coherence-server.coh-test.svc

0 commit comments

Comments
 (0)