Skip to content

Commit aac30fc

Browse files
authored
Merge pull request #68 from jumpstarter-dev/demo-env-insecure-exporters
Setup demo exporters with grpc insecure
2 parents 14e8f0c + d68e29a commit aac30fc

File tree

2 files changed

+10
-4
lines changed

2 files changed

+10
-4
lines changed

hack/demoenv/exporters-statefulset.yaml

+5-2
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,11 @@ spec:
1818
- name: jumpstarter-exporter
1919
image: quay.io/jumpstarter-dev/jumpstarter:latest
2020
imagePullPolicy: IfNotPresent
21-
# note for some reason jmp exporter run $(cat /etc/hostname) won't find the config, neither does list
22-
command: ["/bin/sh", "-c", "echo running exporter $(cat /etc/hostname); jmp exporter run -c /etc/jumpstarter/exporters/$(cat /etc/hostname).yaml"]
21+
env:
22+
- name: JUMPSTARTER_GRPC_INSECURE
23+
value: "1"
24+
# note for some reason jmp-exporter run $(cat /etc/hostname) won't find the config, neither does list
25+
command: ["/bin/sh", "-c", "echo running exporter $(cat /etc/hostname); jmp-exporter run -c /etc/jumpstarter/exporters/$(cat /etc/hostname).yaml"]
2326
# map the exporter-configs ConfigMap to /etc/jumpstarter/exporters
2427
volumeMounts:
2528
- name: exporter-configs

hack/demoenv/vcan-exporters-statefulset.yaml

+5-2
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,11 @@ spec:
1818
- name: jumpstarter-exporter
1919
image: quay.io/jumpstarter-dev/jumpstarter:latest
2020
imagePullPolicy: IfNotPresent
21-
# note for some reason jmp exporter run $(cat /etc/hostname) won't find the config, neither does list
22-
command: ["/bin/sh", "-c", "echo running exporter $(cat /etc/hostname); jmp exporter run -c /etc/jumpstarter/exporters/$(cat /etc/hostname).yaml"]
21+
env:
22+
- name: JUMPSTARTER_GRPC_INSECURE
23+
value: "1"
24+
# note for some reason jmp-exporter run $(cat /etc/hostname) won't find the config, neither does list
25+
command: ["/bin/sh", "-c", "echo running exporter $(cat /etc/hostname); jmp-exporter run -c /etc/jumpstarter/exporters/$(cat /etc/hostname).yaml"]
2326
# map the exporter-configs ConfigMap to /etc/jumpstarter/exporters
2427
volumeMounts:
2528
- name: exporter-configs

0 commit comments

Comments
 (0)