Update ingress.yaml

5 jobs from master in 28 seconds (queued for 3 seconds)
Status Job ID Name Coverage
  Build
passed #24593
Build

00:23

 
  Release Cleanup
failed #24594
allowed to fail
ReleaseCleanup

00:01

 
  Release Deploy
failed #24595
ReleaseDeploy

00:03

 
  Validation
skipped #24596
Validation
 
  Delete Project
skipped #24597
allowed to fail manual
DeleteProject
 
Name Stage Failure
failed
ReleaseCleanup Release Cleanup
HEAD is now at 05ce00e Update ingress.yaml
Checking out 05ce00e8 as master...
Skipping Git submodules setup
$ echo `pwd`
/home/gitlab-runner/builds/d52de24b/0/aray1609744957267/testprojectdevenv01
$ DNS_VALUE=`kubectl get ingress $SERVICE_NAME -o jsonpath="{.status.loadBalancer.ingress[0].hostname}"`
Warning: extensions/v1beta1 Ingress is deprecated in v1.14+, unavailable in v1.22+; use networking.k8s.io/v1 Ingress
Error from server (NotFound): ingresses.extensions "project1400" not found
ERROR: Job failed: exit status 1
failed
ReleaseDeploy Release Deploy
$ sed -i s/SERVICE_PORT/$SERVICE_PORT/g ./helm/service/values.yaml
$ sed -i s/PROJECT_NAME/$SERVICE_NAME/g ./helm/service/values.yaml
$ sed -i s/PROJECT_NAME/$SERVICE_NAME/g ./helm/service/Chart.yaml
$ sed -i s#CERTIFICATE_ARN#${CERTIFICATE_ARN}#g ./helm/service/values.yaml
$ sed -i s/SUBNETS/"$SUBNETS"/g ./helm/service/values.yaml
$ sed -i s#HEALTHCHECKPATH#$HEALTHCHECKPATH#g ./helm/service/values.yaml
$ cd ./helm && /usr/local/bin/helm install $SERVICE_NAME service
Error: INSTALLATION FAILED: Ingress.extensions "project1400" is invalid: [spec.rules[0].host: Invalid value: "map[host:SERVICE_NAME.pg-sandbox.altimetrik.com serviceName:SERVICE_NAME servicePort:1099]": a DNS-1123 subdomain must consist of lower case alphanumeric characters, '-' or '.', and must start and end with an alphanumeric character (e.g. 'example.com', regex used for validation is '[a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*'), spec.rules[0].http.paths[0].pathType: Required value: pathType must be specified, spec.tls[0].hosts[0]: Invalid value: "SERVICE_NAME.pg-sandbox.altimetrik.com": a DNS-1123 subdomain must consist of lower case alphanumeric characters, '-' or '.', and must start and end with an alphanumeric character (e.g. 'example.com', regex used for validation is '[a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*')]
ERROR: Job failed: exit status 1