Module deploy

Module deploy 

Source
Expand description

ยงWrite deployments merging image with configmap

Create a merged filesystem tree with the image and mounted configmaps.

Structsยง

ImageState ๐Ÿ”’
State of a locally fetched image
LayerProgressConfig ๐Ÿ”’
Configuration for layer progress printing
PreparedImportMeta ๐Ÿ”’
RequiredHostSpec ๐Ÿ”’
Variant of HostSpec but required to be filled out

Enumsยง

MergeState ๐Ÿ”’
The source of data for staging a new deployment
PreparedPullResult ๐Ÿ”’

Constantsยง

BASE_IMAGE_PREFIX ๐Ÿ”’
BOOTC_DERIVED_KEY ๐Ÿ”’
Set on an ostree commit if this is a derived commit

Functionsยง

check_bootc_label ๐Ÿ”’
cleanup ๐Ÿ”’
deploy ๐Ÿ”’
descriptor_of_progress ๐Ÿ”’
find_newest_deployment_name ๐Ÿ”’
fixup_etc_fstab ๐Ÿ”’
A workaround for https://github.com/ostreedev/ostree/issues/3193 as generated by anaconda.
get_base_commit ๐Ÿ”’
If commit is a bootc-derived commit (e.g. has configmaps), return its base.
handle_layer_progress_print ๐Ÿ”’
Write container fetch progress to standard output.
image_exists_in_unified_storage ๐Ÿ”’
Check whether the image exists in bootcโ€™s unified container storage.
new_importer ๐Ÿ”’
Wrapper for pulling a container image, wiring up status output.
new_importer_with_config ๐Ÿ”’
Wrapper for pulling a container image with a custom proxy config (e.g. for unified storage).
origin_from_imageref ๐Ÿ”’
prefix_of_progress ๐Ÿ”’
prepare_for_pull ๐Ÿ”’
prepare_for_pull_unified ๐Ÿ”’
Unified approach: Use bootcโ€™s CStorage to pull the image, then prepare from containers-storage. This reuses the same infrastructure as LBIs.
prune_container_store ๐Ÿ”’
Gather all bound images in all deployments, then prune the image store, using the gathered images as the roots (that will not be GCโ€™d).
pull ๐Ÿ”’
Wrapper for pulling a container image, wiring up status output.
pull_from_prepared ๐Ÿ”’
pull_unified ๐Ÿ”’
Unified pull: Use podman to pull to containers-storage, then read from there
rollback ๐Ÿ”’
Implementation of rollback functionality
stage ๐Ÿ”’
Stage (queue deployment of) a fetched container image.
switch_origin_inplace ๐Ÿ”’
wipe_ostree ๐Ÿ”’
write_reboot_required ๐Ÿ”’
Update the /run/reboot-required file with the image that will be active after a reboot.