Description of problem: When running the command 'oc create' the Image Labels from template doesn't go to the build config. It works on oscp 3.4 but not in 3.3. Version-Release number of selected component (if applicable): OpenShift Container Platform 3.3.1 How reproducible: Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info:
imagelabels for buildconfigs were not a supported field in 3.3.
our docs are incorrect, this feature should not have been described in the 3.3 docs, it was introduced in v3.4.1
Thank you Ben, can we transition the bug to the docs team to fix it? Thx
Hey Vladislav, it has already been transferred :)
Ben and Vladislav -- I removed the paragraph that starts with: "You can also use the BuildConfig.spec.output.imageLabels field" and the "Custom labels to be applied to built images" example. These were added here: https://github.com/openshift/openshift-docs/commit/b04413ba9390a64ccb3a1b887cb701fad379953f See PR: https://github.com/openshift/openshift-docs/pull/4654 Please let me know if the entire "Output Image Labels" section through "Using External Artifacts During a Build" section should come out. This Output Image Label section with table is present in 3.2,
Vladislav Please take a look,
Hello Michael, it is ok. Thank you
Merged. https://github.com/openshift/openshift-docs/pull/4654
Change to the 3.3 docs is live. https://docs.openshift.com/container-platform/3.3/dev_guide/builds.html