Skip to content

Commit

Permalink
mk: generate tls certificate before running
Browse files Browse the repository at this point in the history
The dev.yaml configuration references a TLS certificate and key. Make
sure these are generated before starting the process.

Signed-off-by: Robin Jarry <[email protected]>
  • Loading branch information
rjarry committed Nov 20, 2024
1 parent 0a43b72 commit 14f2502
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ cert.pem key.pem:
-subj "/C=XX/ST=StateName/L=CityName/O=CompanyName/OU=CompanySectionName/CN=CommonNameOrHostname"

.PHONY: run
run: dataplane-node-exporter
run: dataplane-node-exporter cert.pem key.pem
DATAPLANE_NODE_EXPORTER_YAML=etc/dev.yaml ./$<

.PHONY: container
Expand Down

0 comments on commit 14f2502

Please sign in to comment.