You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I used validateReleaseName method from org.microbean.helm.ReleaseManager for validate releaseName.
But even the validate passed, I still get the error below:
ReleaseName:34abfbaea5a54ce2a59223bc9efd3895 deploy failed,
cause:io.grpc.StatusRuntimeException: UNKNOWN: release 34abfbaea5a54ce2a59223bc9efd3895 failed:
Service "34abfbaea5a54ce2a59223bc9efd3895-access-test" is invalid:
metadata.name: Invalid value: "34abfbaea5a54ce2a59223bc9efd3895-access-test":
a DNS-1035 label must consist of lower case alphanumeric characters or '-', start with an alphabetic character, and end with an alphanumeric character (e.g. 'my-name', or 'abc-123', regex used for validation is '[a-z]([-a-z0-9]*[a-z0-9])?')
So,if the pattern below should be modify to '[a-z]([-a-z0-9]*[a-z0-9])?' ?
public static final Pattern DNS_SUBDOMAIN_PATTERN = Pattern.compile("^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$");
I'm not so sure...
The text was updated successfully, but these errors were encountered:
I used
validateReleaseName
method from org.microbean.helm.ReleaseManager for validate releaseName.But even the validate passed, I still get the error below:
So,if the pattern below should be modify to
'[a-z]([-a-z0-9]*[a-z0-9])?'
?I'm not so sure...
The text was updated successfully, but these errors were encountered: