Skip to content

Commit

Permalink
Fix default configs
Browse files Browse the repository at this point in the history
  • Loading branch information
araslanix committed Oct 10, 2024
1 parent 77b7f60 commit d62000f
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion redfish-exporter/.env
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
UPDATED="2024-09-24"
DESCRIPTION="Redfish Event Listener/Exporter"
LISTENER_IP="127.0.0.1"
LISTENER_IP="0.0.0.0"
LISTENER_PORT="8080"
METRICS_PORT="2112"
USE_SSL="false"
Expand Down
2 changes: 1 addition & 1 deletion redfish-exporter/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ FROM busybox

ENV UPDATED="2024-09-24"
ENV DESCRIPTION="Redfish Event Listener/Exporter"
ENV LISTENER_IP="127.0.0.1"
ENV LISTENER_IP="0.0.0.0"
ENV LISTENER_PORT="8080"
ENV USE_SSL="false"
ENV CERTFILE="path/to/certfile"
Expand Down
2 changes: 1 addition & 1 deletion redfish-exporter/integration_test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ check_metric() {
fi
}

check_metric "RedFishEvents_recieved"
check_metric "RedFishEvents_received"
check_metric "RedFishEvents_processing_time"
check_metric "SlurmAPI_failure"
check_metric "SlurmAPI_success"
Expand Down
2 changes: 1 addition & 1 deletion redfish-exporter/k8s/exporter-configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ kind: ConfigMap
metadata:
name: redfish-exporter-configmap
data:
redfish-servers: '[{"ip": "http://redfish-mock.silo.svc.cluster.local:8000", "username": "Username1", "password": "Password1", "loginType": "Session"}]'
redfish-servers: '[{"ip": "http://redfish-mock.silo.svc.cluster.local:8000", "username": "Username1", "password": "Password1", "loginType": "Session", "slurmNode": "Node1"}]'
subscription-payload: |
{
"Destination": "http://redfish-exporter.silo.svc.cluster.local:8080",
Expand Down
1 change: 1 addition & 0 deletions redfish-exporter/k8s/exporter.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ spec:
containers:
- name: redfish-exporter
image: harbor.local/silo/redfish-exporter:latest
imagePullPolicy: Always
ports:
- containerPort: 8080
name: events
Expand Down

0 comments on commit d62000f

Please sign in to comment.