Currently, the APIC configure script does not work well when the length of the release name is greater than 10 characters. This is because APIC restricts the name to something smaller than 10 characters. For instance, the release name cp4i-apic-apic gets concatenated into cp4i-apic- followed by a random hash. This results in this script not functioning, since it does not account for the concatenation.
Example if release name = ademo:
Example if release name is = cp4i-apic-apic:
As is evident above, the name of the routes change depending on the length. This PR therefore changes the regex to take this into account.
Currently, the APIC configure script does not work well when the length of the release name is greater than 10 characters. This is because APIC restricts the name to something smaller than 10 characters. For instance, the release name
cp4i-apic-apic
gets concatenated intocp4i-apic-
followed by a random hash. This results in this script not functioning, since it does not account for the concatenation.Example if release name =
ademo
:Example if release name is =
cp4i-apic-apic
:As is evident above, the name of the routes change depending on the length. This PR therefore changes the regex to take this into account.