chore: skip annoying images from pinning (#902)
Co-authored-by: okozachenko1203 <okozachenko1203@users.noreply.github.com>
diff --git a/build/pin-images.py b/build/pin-images.py
index 1c0bde5..7650d68 100755
--- a/build/pin-images.py
+++ b/build/pin-images.py
@@ -12,6 +12,7 @@
LOG = logging.getLogger(__name__)
CONF = cfg.CONF
+SKIP_IMAGE_LIST = ["secretgen_controller"]
def get_digest(image_ref, token=None):
headers = {}
@@ -114,6 +115,8 @@
data = yaml.load(args.src)
for image in data["_atmosphere_images"]:
+ if image in SKIP_IMAGE_LIST:
+ continue
image_src = data["_atmosphere_images"][image]
pinned_image = get_pinned_image(image_src)