Skip to content

Commit

Permalink
add: missing mentric service
Browse files Browse the repository at this point in the history
Signed-off-by: Wen Zhou <[email protected]>
  • Loading branch information
zdtsw committed Nov 4, 2024
1 parent 92334f4 commit 88e999e
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,7 @@ bundle: prepare operator-sdk ## Generate bundle manifests and metadata, then val
$(KUSTOMIZE) build config/manifests | $(OPERATOR_SDK) generate bundle $(BUNDLE_GEN_FLAGS)
$(OPERATOR_SDK) bundle validate ./$(BUNDLE_DIR)
mv bundle.Dockerfile Dockerfiles/
rm -f bundle/manifests/rhods-operator-webhook-service_v1_service.yaml bundle/manifests/controller-manager-metrics-service_v1_service.yaml
rm -f bundle/manifests/rhods-operator-webhook-service_v1_service.yaml
.PHONY: bundle-build
bundle-build: bundle
$(IMAGE_BUILDER) build --no-cache -f Dockerfiles/bundle.Dockerfile -t $(BUNDLE_IMG) .
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
apiVersion: v1
kind: Service
metadata:
creationTimestamp: null
labels:
name: rhods-operator
name: redhat-ods-operator-controller-manager-metrics-service
spec:
ports:
- name: http
port: 8443
protocol: TCP
targetPort: http
selector:
name: rhods-operator
status:
loadBalancer: {}
2 changes: 1 addition & 1 deletion config/manager/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ kind: Kustomization
images:
- name: controller
newName: quay.io/wenzhou/rhods-operator
newTag: 2.16.0
newTag: 2.16.14768-2

resources:
- manager.yaml
Expand Down
2 changes: 1 addition & 1 deletion config/rbac/auth_proxy_service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ kind: Service
metadata:
labels:
name: rhods-operator
name: controller-manager-metrics-service
name: redhat-ods-operator-controller-manager-metrics-service
namespace: system
spec:
ports:
Expand Down

0 comments on commit 88e999e

Please sign in to comment.