From e13934a66fb4f2b526c67df970057e0cab721b7b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?p=C3=BDrus?= Date: Fri, 12 Dec 2025 15:17:14 +0100 Subject: [PATCH] image: add more reserved image attributes --- pkg/image.go | 20 +++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) diff --git a/pkg/image.go b/pkg/image.go index 7660cf97..fb114da3 100644 --- a/pkg/image.go +++ b/pkg/image.go @@ -206,10 +206,28 @@ func waitForImage(ctx context.Context, client, swiftClient *gophercloud.ServiceC } var skipImageAttributes = []string{ + // disallowed properties "direct_url", - "boot_roles", + "self", + "file", + "schema", + "stores", + // readonly properties + "created_at", + "updated_at", + "status", + "checksum", + "size", + "virtual_size", + "direct_url", + "self", + "file", + "schema", + "id", "os_hash_algo", "os_hash_value", + // other + "boot_roles", } func expandImageProperties(v map[string]interface{}) map[string]string {