Skip to content

Commit

Permalink
Merge pull request thijsvanloef#335 from Twinki14/move-helm-chart
Browse files Browse the repository at this point in the history
Move Helm Chart out of this repository
  • Loading branch information
thijsvanloef authored Feb 11, 2024
2 parents d46b58c + 7731334 commit bf5e728
Show file tree
Hide file tree
Showing 16 changed files with 3 additions and 727 deletions.
34 changes: 1 addition & 33 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
name: Release
on: # yamllint disable-line rule:truthy
on: # yamllint disable-line rule:truthy
release:
types: [published]

Expand Down Expand Up @@ -80,35 +80,3 @@ jobs:
platforms: linux/arm64
push: true
tags: ${{ steps.meta.outputs.tags }}

# Generates a new release specifically for the helm chart, using the helm charts version
# Only generates a new release if the helm charts version has changed since the last release
# Will then update the gh-pages branch & helm repository
release-helm:
name: Release - Helm chart
runs-on: ubuntu-latest
permissions:
contents: write
pages: write
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Git - Configure
run: |
git config user.name "$GITHUB_ACTOR"
git config user.email "[email protected]"
# Will push updates to a index.yaml file in the gh-pages branch
- name: Helm - chart-releaser
uses: helm/[email protected]
with:
charts_dir: charts
pages_branch: gh-pages
mark_as_latest: false
skip_existing: true
config: ./charts/cr.yaml
env:
CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
[![Discord](https://img.shields.io/discord/1200397673329594459?logo=discord&label=Discord&link=https%3A%2F%2Fdiscord.gg%2FUxBxStPAAE)](https://discord.com/invite/UxBxStPAAE)

[![Docker Hub](https://img.shields.io/badge/Docker_Hub-palworld-blue?logo=docker)](https://hub.docker.com/r/thijsvanloef/palworld-server-docker)
[![Artifact Hub](https://img.shields.io/endpoint?url=https://artifacthub.io/badge/repository/palworld)](https://artifacthub.io/packages/search?repo=palworld)
[![Artifact Hub](https://img.shields.io/endpoint?url=https://artifacthub.io/badge/repository/palworld-server-chart)](https://artifacthub.io/packages/search?repo=palworld-server-chart)

[Chat with the community on Discord](https://discord.gg/UxBxStPAAE)

Expand Down Expand Up @@ -161,7 +161,7 @@ Follow the steps in the [README.md here](k8s/readme.md) to deploy it.

#### Using helm chart

Follow up the docs on the [README.md for the helm chart](./charts/palworld/README.md) to deploy.
The official helm chart can be found in a seperate repository, [palworld-server-chart](https://github.com/Twinki14/palworld-server-chart)

### Environment variables

Expand Down
2 changes: 0 additions & 2 deletions charts/cr.yaml

This file was deleted.

37 changes: 0 additions & 37 deletions charts/palworld/Chart.yaml

This file was deleted.

32 changes: 0 additions & 32 deletions charts/palworld/README.md

This file was deleted.

80 changes: 0 additions & 80 deletions charts/palworld/VALUES_SUMMARY.md

This file was deleted.

77 changes: 0 additions & 77 deletions charts/palworld/templates/configmaps.yaml

This file was deleted.

37 changes: 0 additions & 37 deletions charts/palworld/templates/cronjob.yaml

This file was deleted.

Loading

0 comments on commit bf5e728

Please sign in to comment.