Skip to content

Commit

Permalink
fix helm namespace
Browse files Browse the repository at this point in the history
  • Loading branch information
pauldambra committed Oct 13, 2023
1 parent 6309687 commit a9670a2
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/pr-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,10 @@ jobs:
export PR_NUM=${{ github.event.number }}
export BRANCH_NAME=${{ github.head_ref }}
export RELEASE_NAME=posthog
# branch name but with no forward slashes
export NAMESPACE=pr-$PR_NUM-${BRANCH_NAME//\//-}
# and no full stops
export NAMESPACE=${NAMESPACE//./-}
export NAMESPACE=${NAMESPACE:0:38}
export NAMESPACE=${NAMESPACE%%-}
export HOSTNAME=$NAMESPACE
Expand Down

0 comments on commit a9670a2

Please sign in to comment.