gha: shorten conformance-externalworkloads cluster name#33939
gha: shorten conformance-externalworkloads cluster name#33939joamaki merged 1 commit intocilium:mainfrom
Conversation
The cluster name is used both for the GKE cluster and in the Cilium's
context. However, since [1] Cilium imposes a maximum cluster name
length of 32 characters. Given the recent increase in the length of
the run_id, the generated cluster name is dangerously close to the
limit, and can easily exceed it in case of forks if the repository
owner name is slightly longer. Hence, let's trim the final suffix
to get back a few more characters.
[1]: 3ba429d0f2f6 ("options: formalize and validate cluster name format")
Signed-off-by: Marco Iorio <[email protected]>
|
/test |
|
Hey, not here to hijack Viktor's reviewer role, but do we really need the |
Not totally sure on the background there, honestly, but all the other workflows also follow a similar pattern for the name. Another possibility could be just explicitly configuring a shorter cluster name for Cilium, but it didn't seem necessary at the moment (also to keep the workflow consistent with the others). |
Shorten cluster names to avoid getting this error:
Error: Unable to install Cilium: execution error at (cilium/templates/validate.yaml:100:5):
The cluster name is invalid: must not be more than 32 characters.
Configure 'upgradeCompatibility' to 1.15 or earlier to temporarily
skip this check at your own risk
Ref: cilium/cilium#33939
Signed-off-by: Michi Mutsuzaki <[email protected]>
Shorten cluster names to avoid getting this error:
Error: Unable to install Cilium: execution error at (cilium/templates/validate.yaml:100:5):
The cluster name is invalid: must not be more than 32 characters.
Configure 'upgradeCompatibility' to 1.15 or earlier to temporarily
skip this check at your own risk
Ref: cilium/cilium#33939
Signed-off-by: Michi Mutsuzaki <[email protected]>
[ cherry-picked from cilium/cilium-cli repository ]
Shorten cluster names to avoid getting this error:
Error: Unable to install Cilium: execution error at (cilium/templates/validate.yaml:100:5):
The cluster name is invalid: must not be more than 32 characters.
Configure 'upgradeCompatibility' to 1.15 or earlier to temporarily
skip this check at your own risk
Ref: #33939
Signed-off-by: Michi Mutsuzaki <[email protected]>
[ cherry-picked from cilium/cilium-cli repository ]
Shorten cluster names to avoid getting this error:
Error: Unable to install Cilium: execution error at (cilium/templates/validate.yaml:100:5):
The cluster name is invalid: must not be more than 32 characters.
Configure 'upgradeCompatibility' to 1.15 or earlier to temporarily
skip this check at your own risk
Ref: #33939
Signed-off-by: Michi Mutsuzaki <[email protected]>
The cluster name is used both for the GKE cluster and in the Cilium's context. However, since [1] Cilium imposes a maximum cluster name length of 32 characters. Given the recent increase in the length of the run_id, the generated cluster name is dangerously close to the limit, and can easily exceed it in case of forks if the repository owner name is slightly longer. Hence, let's trim the final suffix to get back a few more characters.
[1]: 3ba429d0f2f6 ("options: formalize and validate cluster name format")