Skip to content

Commit

Permalink
place operator-sdk configurations in correct place
Browse files Browse the repository at this point in the history
Signed-off-by: Scott Trent <[email protected]>
  • Loading branch information
trent-s committed Apr 23, 2024
1 parent 7c7979a commit 8adb220
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 1 deletion.
5 changes: 5 additions & 0 deletions config/default/manager_auth_proxy_patch.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,3 +37,8 @@ spec:
- "--health-probe-bind-address=:8081"
- "--metrics-bind-address=127.0.0.1:8080"
- "--leader-elect"
- "--kepler-prometheus-url=$(KEPLER-PROMETHEUS-URL)"
- "--kepler-metric-name=$(KEPLER-METRIC-NAME)"
- "--susql-prometheus-database-url=$(SUSQL-PROMETHEUS-DATABASE-URL)"
- "--susql-prometheus-metrics-url=$(SUSQL-PROMETHEUS-METRICS-URL)"
- "--sampling-rate=$(SAMPLING-RATE)"
3 changes: 2 additions & 1 deletion config/manager/manager.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,8 @@ spec:
- name: KEPLER-METRIC-NAME
value: "kepler_container_joules_total"
- name: SUSQL-PROMETHEUS-DATABASE-URL
value: "http://prometheus-susql.default.svc.cluster.local:9090"
# value: http://prometheus-susql.default.svc.cluster.local:9090
value: https://thanos-querier.openshift-monitoring.svc.cluster.local:9091
- name: SUSQL-PROMETHEUS-METRICS-URL
value: "http://0.0.0.0:8082"
- name: SAMPLING-RATE
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,7 @@ spec:
- email: [email protected]
name: Mohammed Abdi
maturity: alpha
minKubeVersion: 1.12.0
provider:
name: SusQL Operator Contributors
url: https://github.com/sustainable-computing-io/susql-operator
Expand Down
9 changes: 9 additions & 0 deletions config/rbac/auth_proxy_role.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,12 @@ rules:
- subjectaccessreviews
verbs:
- create
- apiGroups:
- ''
resources:
- pods
- pods/status
verbs:
- get
- list
- watch

0 comments on commit 8adb220

Please sign in to comment.