Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion operators/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ OPERATOR_SDK_VERSION ?= v1.41.1
# renovate: datasource=github-tags depName=kubernetes-sigs/kustomize
KUSTOMIZE_VERSION ?= v5.6.0

IMAGE_TAG_BASE ?= nginx-gateway-fabric-operator
IMAGE_TAG_BASE ?= nginx-gateway-fabric/operator

IMG ?= $(IMAGE_TAG_BASE):v$(VERSION)

Expand Down
10 changes: 5 additions & 5 deletions operators/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,22 +64,22 @@ For complete configuration options, see the [Helm Chart Documentation](https://g

```bash
# Build the operator image. If building for deploying on a cluster with different architecture from your local machine, append ARCH=<targetarch> e.g. `ARCH=amd64` to the below command
make docker-build IMG=<your-registry>/nginx-gateway-fabric-operator:<tag>
make docker-build IMG=<your-registry>/nginx-gateway-fabric/operator:<tag>

# Push the image
make docker-push IMG=<your-registry>/nginx-gateway-fabric-operator:<tag>
make docker-push IMG=<your-registry>/nginx-gateway-fabric/operator:<tag>

# Optionally load the image if running on kind
make docker-load IMG=<your-registry>/nginx-gateway-fabric-operator:<tag>
make docker-load IMG=<your-registry>/nginx-gateway-fabric/operator:<tag>

# Generate and push bundle (must be publicly accessible remote registry, e.g. quay.io)
make bundle-build bundle-push IMG=<your-registry>/nginx-gateway-fabric-operator:<tag> BUNDLE_IMG=<your-registry>/nginx-gateway-fabric-operator-bundle:<tag>
make bundle-build bundle-push IMG=<your-registry>/nginx-gateway-fabric/operator:<tag> BUNDLE_IMG=<your-registry>/nginx-gateway-fabric/operator-bundle:<tag>

# Install olm on local cluster if required (e.g. if running on kind)
operator-sdk olm install

# Run your bundle image
operator-sdk run bundle <your-registry>/nginx-gateway-fabric-operator-bundle:<tag>
operator-sdk run bundle <your-registry>/nginx-gateway-fabric/operator-bundle:<tag>

# Deploy NGF operand (modify the manifest if required)
kubectl apply -f config/samples/gateway_v1alpha1_nginxgatewayfabric.yaml
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ metadata:
}
]
capabilities: Basic Install
createdAt: "2025-09-25T13:06:47Z"
createdAt: "2025-10-06T09:33:54Z"
operators.operatorframework.io/builder: operator-sdk-v1.41.1
operators.operatorframework.io/project_layout: helm.sdk.operatorframework.io/v1
name: nginx-gateway-fabric.v1.0.0
Expand Down Expand Up @@ -433,7 +433,7 @@ spec:
- --leader-elect
- --leader-election-id=nginx-gateway-fabric
- --health-probe-bind-address=:8081
image: nginx-gateway-fabric-operator:v1.0.0
image: ghcr.io/nginx/nginx-gateway-fabric/operator:v1.0.0
livenessProbe:
httpGet:
path: /healthz
Expand Down
3 changes: 3 additions & 0 deletions operators/bundle/metadata/annotations.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,6 @@ annotations:
# Annotations for testing.
operators.operatorframework.io.test.mediatype.v1: scorecard+v1
operators.operatorframework.io.test.config.v1: tests/scorecard/

# OpenShift annotations.
com.redhat.openshift.versions: v4.19
2 changes: 1 addition & 1 deletion operators/config/manager/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@ apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
images:
- name: controller
newName: ghcr.io/nginx/nginx-gateway-fabric
newName: ghcr.io/nginx/nginx-gateway-fabric/operator
newTag: v1.0.0
Loading