Skip to content

Commit

Permalink
Expose operator metrics service port without a patch
Browse files Browse the repository at this point in the history
  • Loading branch information
guicassolato committed Jun 28, 2024
1 parent 9100e31 commit ecaca48
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 17 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ metadata:
capabilities: Basic Install
categories: Integration & Delivery
containerImage: quay.io/kuadrant/authorino-operator:latest
createdAt: "2024-06-28T13:37:26Z"
createdAt: "2024-06-28T16:24:15Z"
operators.operatorframework.io/builder: operator-sdk-v1.32.0
operators.operatorframework.io/project_layout: go.kubebuilder.io/v3
repository: https://github.com/Kuadrant/authorino-operator
Expand Down
3 changes: 0 additions & 3 deletions config/default/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,6 @@ bases:
#- ../prometheus

patchesStrategicMerge:
# Patches the controller Deployment to expose the metrics port
- manager_metrics_patch.yaml

# Mount the controller config file for loading manager configurations
# through a ComponentConfig type
#- manager_config_patch.yaml
Expand Down
13 changes: 0 additions & 13 deletions config/default/manager_metrics_patch.yaml

This file was deleted.

3 changes: 3 additions & 0 deletions config/manager/manager.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,9 @@ spec:
name: manager
securityContext:
allowPrivilegeEscalation: false
ports:
- name: metrics
containerPort: 8080
livenessProbe:
httpGet:
path: /healthz
Expand Down

0 comments on commit ecaca48

Please sign in to comment.