-
Bug
-
Resolution: Cannot Reproduce
-
Undefined
-
None
-
4.14
-
No
-
Sprint 244
-
1
-
False
-
Description of problem:
When creating a config-image, extra manifests can be added to 'openshift' dir. But, since the yamls files are being copied as-is, files with multiple objects are not splitted. Hence, these extra manifests are passed as-is to AI, which results with only the first object being applied. Note: this is a different behaviour from the full ignition creation which handles this scenario: https://github.com/openshift/installer/blob/8b1b6633dcd8342754f827698214a6a7ce240ade/pkg/asset/agent/image/ignition.go#L451
Version-Release number of selected component (if applicable):
4.14
How reproducible:
100%
Steps to Reproduce:
1. Add a yaml file with multiple objects to 'openshift' dir 2. Create the config-image (openshift-install agent create config-image)
Actual results:
The yaml file is added as-is to 'extra-manifests' dir in the config image.
Expected results:
The yaml file should be splitted to multiple yaml files. See: https://github.com/openshift/installer/blob/8b1b6633dcd8342754f827698214a6a7ce240ade/pkg/asset/agent/image/ignition.go#L451 I.e. Instead of being copied as-as: https://github.com/openshift/installer/blob/d1824d7eeb52c0f3530f2d9513ffaa4e8cda3273/pkg/asset/agent/image/unconfigured_ignition.go#L35
Additional info:
- relates to
-
OCPBUGS-22417 dev-scripts should include extra manifests when building the configImage
- Closed