Skip to content

Conversation

@alexsoto-harness
Copy link

Following the example tutorial on: https://developer.harness.io/docs/continuous-delivery/get-started/cd-tutorials/helm-chart?deploymentui=bgui

Deployments were failing due to the deployment & service names being longer than 64 chars. Although the helpers file truncates them to 64 chars, when doing blue/green, Harness adds "-stage/green/blue" to the release name which makes it longer than 64 therefore failing.

By changing metadata.name from "helm-guestbook.fullname" to "helm-guestbook.name" this is avoided

* testing HAR artifact

* change metadata.name from fullname to name in deployment and service yamls

* restore helpers file

* back to fullname to test

* trunc to 55 to allow for blue/green/stage added after

* revert trunc to 63 and to using name instead of fullname for clarity
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant