Skip to content

Commit

Permalink
local test
Browse files Browse the repository at this point in the history
Signed-off-by: Jack Ding <[email protected]>
  • Loading branch information
jzding committed Sep 26, 2024
1 parent 9177a93 commit a017659
Show file tree
Hide file tree
Showing 7 changed files with 12 additions and 12 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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))
Expand Down
4 changes: 2 additions & 2 deletions bindata/linuxptp/ptp-daemon.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -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
Expand Down
6 changes: 3 additions & 3 deletions bundle/manifests/ptp-operator.clusterserviceversion.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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
Expand Down
2 changes: 1 addition & 1 deletion config/manager/env.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
2 changes: 1 addition & 1 deletion config/manager/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion config/manager/manager.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ spec:
- --enable-leader-election
- --logtostderr
- --stderrthreshold=INFO
imagePullPolicy: IfNotPresent
imagePullPolicy: Always
resources:
requests:
cpu: 50m
Expand Down
6 changes: 3 additions & 3 deletions manifests/stable/ptp-operator.clusterserviceversion.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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
Expand Down

0 comments on commit a017659

Please sign in to comment.