From a017659a5c69ee207e5f3d5d1cc0c532eb667f7f Mon Sep 17 00:00:00 2001 From: Jack Ding Date: Wed, 4 Sep 2024 13:28:49 -0400 Subject: [PATCH] local test Signed-off-by: Jack Ding --- Makefile | 2 +- bindata/linuxptp/ptp-daemon.yaml | 4 ++-- bundle/manifests/ptp-operator.clusterserviceversion.yaml | 6 +++--- config/manager/env.yaml | 2 +- config/manager/kustomization.yaml | 2 +- config/manager/manager.yaml | 2 +- manifests/stable/ptp-operator.clusterserviceversion.yaml | 6 +++--- 7 files changed, 12 insertions(+), 12 deletions(-) diff --git a/Makefile b/Makefile index c4e4db195..52eabcf6f 100644 --- a/Makefile +++ b/Makefile @@ -43,7 +43,7 @@ BUNDLE_GEN_FLAGS ?= -q --overwrite --version $(VERSION).0 $(BUNDLE_METADATA_OPTS OPERATOR_SDK_VERSION ?= v1.22.0-ocp # Image URL to use all building/pushing image targets -IMG ?= quay.io/openshift/origin-ptp-operator:$(VERSION) +IMG ?= quay.io/jacding/ptp-operator:$(VERSION) # Get the currently used golang install path (in GOPATH/bin, unless GOBIN is set) ifeq (,$(shell go env GOBIN)) diff --git a/bindata/linuxptp/ptp-daemon.yaml b/bindata/linuxptp/ptp-daemon.yaml index 1fa9d003e..19404bf62 100644 --- a/bindata/linuxptp/ptp-daemon.yaml +++ b/bindata/linuxptp/ptp-daemon.yaml @@ -34,7 +34,7 @@ spec: {{ if (eq .EnableEventPublisher true) }} - name: cloud-event-proxy image: {{ .SideCar }} - imagePullPolicy: IfNotPresent + imagePullPolicy: Always args: - "--metrics-addr=127.0.0.1:9091" - "--store-path=/store" @@ -129,7 +129,7 @@ spec: name: ptp-configmap - name: leap-volume configMap: - name: leap-configmap + name: leap-configmap - name: linuxptp-certs secret: secretName: linuxptp-daemon-secret diff --git a/bundle/manifests/ptp-operator.clusterserviceversion.yaml b/bundle/manifests/ptp-operator.clusterserviceversion.yaml index 9a7e8fe0e..82beefd08 100644 --- a/bundle/manifests/ptp-operator.clusterserviceversion.yaml +++ b/bundle/manifests/ptp-operator.clusterserviceversion.yaml @@ -370,7 +370,7 @@ spec: - name: KUBE_RBAC_PROXY_IMAGE value: quay.io/openshift/origin-kube-rbac-proxy:4.16 - name: SIDECAR_EVENT_IMAGE - value: quay.io/openshift/origin-cloud-event-proxy:4.16 + value: quay.io/jacding/cloud-event-proxy:4.16 - name: WATCH_NAMESPACE valueFrom: fieldRef: @@ -379,8 +379,8 @@ spec: valueFrom: fieldRef: fieldPath: metadata.name - image: quay.io/openshift/origin-ptp-operator:4.16 - imagePullPolicy: IfNotPresent + image: quay.io/jacding/ptp-operator:4.16 + imagePullPolicy: Always name: ptp-operator ports: - containerPort: 9443 diff --git a/config/manager/env.yaml b/config/manager/env.yaml index 35701384c..fd4f506ae 100644 --- a/config/manager/env.yaml +++ b/config/manager/env.yaml @@ -18,4 +18,4 @@ spec: - name: KUBE_RBAC_PROXY_IMAGE value: "quay.io/openshift/origin-kube-rbac-proxy:4.16" - name: SIDECAR_EVENT_IMAGE - value: "quay.io/openshift/origin-cloud-event-proxy:4.16" + value: "quay.io/jacding/cloud-event-proxy:4.16" diff --git a/config/manager/kustomization.yaml b/config/manager/kustomization.yaml index 9eb7e51ee..1e110d068 100644 --- a/config/manager/kustomization.yaml +++ b/config/manager/kustomization.yaml @@ -12,7 +12,7 @@ apiVersion: kustomize.config.k8s.io/v1beta1 kind: Kustomization images: - name: controller - newName: quay.io/openshift/origin-ptp-operator + newName: quay.io/jacding/ptp-operator newTag: "4.16" patchesStrategicMerge: - env.yaml diff --git a/config/manager/manager.yaml b/config/manager/manager.yaml index 131eaa53e..6dcbb96b1 100644 --- a/config/manager/manager.yaml +++ b/config/manager/manager.yaml @@ -48,7 +48,7 @@ spec: - --enable-leader-election - --logtostderr - --stderrthreshold=INFO - imagePullPolicy: IfNotPresent + imagePullPolicy: Always resources: requests: cpu: 50m diff --git a/manifests/stable/ptp-operator.clusterserviceversion.yaml b/manifests/stable/ptp-operator.clusterserviceversion.yaml index 9a7e8fe0e..82beefd08 100644 --- a/manifests/stable/ptp-operator.clusterserviceversion.yaml +++ b/manifests/stable/ptp-operator.clusterserviceversion.yaml @@ -370,7 +370,7 @@ spec: - name: KUBE_RBAC_PROXY_IMAGE value: quay.io/openshift/origin-kube-rbac-proxy:4.16 - name: SIDECAR_EVENT_IMAGE - value: quay.io/openshift/origin-cloud-event-proxy:4.16 + value: quay.io/jacding/cloud-event-proxy:4.16 - name: WATCH_NAMESPACE valueFrom: fieldRef: @@ -379,8 +379,8 @@ spec: valueFrom: fieldRef: fieldPath: metadata.name - image: quay.io/openshift/origin-ptp-operator:4.16 - imagePullPolicy: IfNotPresent + image: quay.io/jacding/ptp-operator:4.16 + imagePullPolicy: Always name: ptp-operator ports: - containerPort: 9443