airshipctl/krm-functions/cloud-init
Alexander Hughes 9105c6bcd0 Fix openssl in krm-functions images
Users behind firewalls may be unable to build all the airshipctl
images as a result of OpenSSL errors stemming from certificates used
with the proxy. To address this, the images impacted have been
updated to copy the proxy certificate from airshipctl/certs into
the image and run update-ca-certificates command. This is the same
behavior that already exists in the base airshipctl image and is
simply being extended to the images in krm-functions.

Change-Id: I436d1e25fb0726ab7576fec44a7ef2f9fd20f2bd
Signed-off-by: Alexander Hughes <Alexander.Hughes@pm.me>
2021-04-09 10:52:38 -04:00
..
image Build ephemeral iso using generic container 2021-02-25 13:08:31 +00:00
local-resource Build ephemeral iso using generic container 2021-02-25 13:08:31 +00:00
Dockerfile.sample Fix openssl in krm-functions images 2021-04-09 10:52:38 -04:00
main.go Build ephemeral iso using generic container 2021-02-25 13:08:31 +00:00
Makefile Build ephemeral iso using generic container 2021-02-25 13:08:31 +00:00
README.md Build ephemeral iso using generic container 2021-02-25 13:08:31 +00:00

Cloud-init

This function generates yaml files (user-data and network-data) needed for building the bootstrap ISO image. It assumes a ResourceList is passed to its input where items field is a phase executor document bundle that contains necessary data. To get the data from the bundle the functionConfig field must contain IsoConfiguration document that defines document selector parameters.