Skip to content
This repository has been archived by the owner on Apr 2, 2024. It is now read-only.

Commit

Permalink
Make helm publish use relative URLs
Browse files Browse the repository at this point in the history
Add the --relative flag. This makes the url set in the index.yaml
use relative urls instead of s3://chart.timescale.com/* which doesn't
work since the charts are accessed using https.
  • Loading branch information
cevian authored and paulfantom committed Jan 19, 2022
1 parent 6ea3bf2 commit 8de1b04
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/helm.yml
Expand Up @@ -83,12 +83,12 @@ jobs:
helm package deploy/helm-chart -d chart_release/
helm plugin install https://github.com/hypnoglow/helm-s3.git
helm repo add tscharts s3://charts.timescale.com
helm s3 push chart_release/* tscharts --acl public-read --dry-run
helm s3 push chart_release/* tscharts --acl public-read --relative --dry-run
- name: push package
env:
AWS_REGION: 'us-east-1'
AWS_ACCESS_KEY_ID: ${{ secrets.ORG_AWS_HELM_CHART_BUCKET_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.ORG_AWS_HELM_CHART_BUCKET_SECRET_ACCESS_KEY }}
run: |
helm s3 push chart_release/* tscharts --acl public-read
helm s3 push chart_release/* tscharts --acl public-read --relative

0 comments on commit 8de1b04

Please sign in to comment.