Skip to content

Commit

Permalink
fix: helm chart crds
Browse files Browse the repository at this point in the history
  • Loading branch information
katallaxie committed Jun 26, 2024
1 parent 491702b commit 78626cb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,11 +62,11 @@ jobs:
- run: |
go run internal/tools/updater/main.go --file charts/typhoon/Chart.yaml --version ${{ env.RELEASE_VERSION }}
- uses: helm/[email protected]
env:
CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
with:
charts_dir: helm/charts
config: ${{ github.workspace }}/.cr.yaml
env:
CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
- uses: actions/upload-artifact@v4
with:
name: manifests
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ release: ## Release the application.
@mkdir -p $(OUTPUT_DIR)
$(GO_KO) resolve -f $(BASE_DIR)/config/ -l 'typhoon.zeiss.com/crd-install' > $(OUTPUT_DIR)/typhoon-crds.yaml
@cp config/namespace/100-namespace.yaml $(OUTPUT_DIR)/typhoon.yaml
@cp $(OUTPUT_DIR)/*.yaml $(BASE_DIR)/charts/typhoon/crds
@cp $(OUTPUT_DIR)/*.yaml $(BASE_DIR)/helm/charts/typhoon/crds

ifeq ($(shell echo ${IMAGE_TAG} | egrep "${TAG_REGEX}"),${IMAGE_TAG})
$(GO_KO) resolve $(KOFLAGS) -B -t latest -f config/ -l '!typhoon.zeiss.com/crd-install' > /dev/null
Expand Down

0 comments on commit 78626cb

Please sign in to comment.