File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -110,4 +110,3 @@ edpm_container_signature_verification: false
110110edpm_container_signature_cosign_key_data : " "
111111edpm_container_signature_cosign_key_path : " /etc/pki/containers/cosign-redhat.pub"
112112edpm_container_signature_registry_mappings : []
113- edpm_container_signature_signed_prefix : " "
Original file line number Diff line number Diff line change @@ -192,12 +192,7 @@ argument_specs:
192192 List of source-to-mirror registry mappings for signature
193193 verification. Each entry is a dict with 'source' (original
194194 registry prefix, used as policy.json key) and 'mirror' (mirror
195- registry, used for sigstore attachment lookups). Auto-populated
196- by the openstack-operator from IDMS/ICSP and ClusterImagePolicy.
197- edpm_container_signature_signed_prefix :
198- type : str
199- default : " "
200- description : >
201- Optional original registry prefix where images were signed. When set,
202- edpm_podman writes a remapIdentity signedIdentity policy to map mirror
203- registry references back to the original signing identity.
195+ registry, used for sigstore attachment lookups). Entries may
196+ also include 'signedPrefix' for per-mapping remapIdentity
197+ configuration. Auto-populated by the openstack-operator from
198+ IDMS/ICSP and ClusterImagePolicy.
Original file line number Diff line number Diff line change 3131 edpm_container_signature_registry_mappings :
3232 - source : " registry.redhat.io/rhoso"
3333 mirror : " mirror.example.com:5000/rhoso"
34+ signedPrefix : " registry.redhat.io/rhoso"
3435 edpm_container_signature_cosign_key_data : " {{ test_cosign_key_data }}"
3536
3637 - name : Test podman network ls
4950 that :
5051 - policy.transports.docker["registry.redhat.io/rhoso"][0].type == "sigstoreSigned"
5152 - policy.transports.docker["registry.redhat.io/rhoso"][0].keyPath == "/etc/pki/containers/cosign-redhat.pub"
52- - " 'signedIdentity' not in policy.transports.docker['registry.redhat.io/rhoso'][0]"
53+ - policy.transports.docker["registry.redhat.io/rhoso"][0].signedIdentity.type == "remapIdentity"
54+ - policy.transports.docker["registry.redhat.io/rhoso"][0].signedIdentity.prefix == "registry.redhat.io/rhoso"
55+ - policy.transports.docker["registry.redhat.io/rhoso"][0].signedIdentity.signedPrefix == "registry.redhat.io/rhoso"
5356 - policy.transports.docker["registry.redhat.io"][0].type == "signedBy"
5457 - policy.transports.docker["registry.access.redhat.com"][0].type == "signedBy"
5558 vars :
Original file line number Diff line number Diff line change 204204 'type': 'sigstoreSigned',
205205 'keyPath': edpm_container_signature_cosign_key_path
206206 } | combine(
207- (edpm_container_signature_signed_prefix | length > 0)
207+ ((item.signedPrefix | default('')) | length > 0)
208208 | ternary(
209209 {
210210 'signedIdentity': {
211211 'type': 'remapIdentity',
212212 'prefix': item.source,
213- 'signedPrefix': edpm_container_signature_signed_prefix
213+ 'signedPrefix': item.signedPrefix
214214 }
215215 },
216216 {}
Original file line number Diff line number Diff line change 66 - podified-multinode-edpm-baremetal-bootc-pipeline
77 github-check :
88 jobs :
9+ # Keep the bootc container image explicit when the templated job resolves from ci-framework main.
10+ - cifmw-crc-podified-edpm-baremetal-bootc :
11+ vars :
12+ cifmw_update_containers_edpm_image_url : quay.io/openstack-k8s-operators/edpm-bootc:latest-qcow2
913 - noop
1014 - edpm-ansible-tempest-multinode
1115 - edpm-ansible-baremetal-minor-update
You can’t perform that action at this time.
0 commit comments