mirror of
https://github.com/edgelesssys/constellation.git
synced 2024-12-25 15:39:37 -05:00
170a8bf5e0
* document how to publicly share images in gcloud * Write disclamer in debugd * Add disclamer about debug images to contributing file * Print debug banner on startup Signed-off-by: Fabian Kammel <fk@edgeless.systems> |
||
---|---|---|
.. | ||
bootstrapper | ||
cdbg | ||
debugd | ||
service | ||
README.md |
debug daemon (debugd)
Build cdbg
mkdir -p build
cmake ..
make cdbg
debugd & cdbg usage
With cdbg
and yq
installed in your path:
-
Write the configuration file for cdbg
cdbg-conf.yaml
:cdbg: authorizedKeys: - username: my-username publicKey: ssh-rsa AAAAB…LJuM= bootstrapperPath: "./bootstrapper" systemdUnits: - name: some-custom.service contents: |- [Unit] Description=…
-
Run
constellation config generate
to create a new default configuration -
Modify the
constellation-conf.yaml
to use an image with the debugd already included and add required firewall rules:# Set full reference of cloud provider image name export IMAGE_URI=
yq -i \ "(.provider | select(. | has(\"azure\")).azure.image) = \"${IMAGE_URI}\"" \ constellation-conf.yaml yq -i \ "(.provider | select(. | has(\"gcp\")).gcp.image) = \"${IMAGE_URI}\"" \ constellation-conf.yaml yq -i \ ".ingressFirewall += { \"name\": \"debugd\", \"description\": \"debugd default port\", \"protocol\": \"tcp\", \"iprange\": \"0.0.0.0/0\", \"fromport\": 4000, \"toport\": 0 }" \ constellation-conf.yaml
-
Run
constellation create […]
-
Run
./cdbg deploy
-
Run
constellation init […]
as usual
debugd images
For a full list of image naming conventions and how to retreive them check image version documentation