-
Bug
-
Resolution: Done
-
Minor
-
1.8.3, 1.9.0
-
None
Description of problem:
After running './build/scripts/kfuxRelease.sh --stage ...', it generates 'release-rhdh-1-8-20260209-181200-000-stage-20260209-185547.yaml' which contains the release name longer than 64 chars. The release name longer than 64 chars is not accepted.
oc apply -f /tmp/release-rhdh-1-8-20260209-181200-000-stage-20260209-185547.yaml Error from server (Forbidden): error when creating "/tmp/release-rhdh-1-8-20260209-181200-000-stage-20260209-185547.yaml": admission webhook "vrelease.kb.io" denied the request: release name must be no more than 63 characters, got 64 characters
This issue is mainly caused by the recent change in Konflux by using the snapshot name containing timestamp which results in the existing file name.
e.g. old snapshot name: rhdh-1-8-2cv9m
new name: rhdh-1-8-20260209-155440-000
Shorten 'TS' (timestamp) by at least 2 chars as it would increase the number of chars for '1.10' from '1.9'