-
Notifications
You must be signed in to change notification settings - Fork 36
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Add initial helm chart * Added support for Prometheus ServiceMonitor and Grafana Dashboard * Allow disabling probes
- Loading branch information
1 parent
d5019b2
commit 2c29dac
Showing
14 changed files
with
2,145 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,74 @@ | ||
name: Release Charts | ||
|
||
on: | ||
push: | ||
branches: | ||
- master | ||
tags: | ||
- 'v*.*.*' | ||
|
||
jobs: | ||
release: | ||
permissions: | ||
contents: write | ||
runs-on: ubuntu-22.04 | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
with: | ||
path: "src" | ||
fetch-depth: 0 | ||
|
||
- name: Checkout gh-pages branch | ||
uses: actions/checkout@v3 | ||
with: | ||
path: "dest" | ||
ref: "gh-pages" | ||
fetch-depth: 0 | ||
|
||
- name: Install Helm | ||
uses: azure/setup-helm@v3 | ||
with: | ||
version: 3.12.0 | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
|
||
- name: Install Helm Docs | ||
run: | | ||
cd /tmp | ||
wget https://github.com/norwoodj/helm-docs/releases/download/v1.11.0/helm-docs_1.11.0_Linux_x86_64.tar.gz | ||
tar -xvf helm-docs_1.11.0_Linux_x86_64.tar.gz | ||
sudo mv helm-docs /usr/local/sbin | ||
- name: Generate Helm Docs | ||
shell: bash | ||
run: | | ||
helm-docs --chart-search-root=src/charts/clusterplex --sort-values-order=file | ||
cp -f src/charts/clusterplex/README.md dest/README.md | ||
- name: Package Helm Chart | ||
shell: bash | ||
run: | | ||
helm package src/charts/clusterplex --dependency-update --destination dest/ | ||
- name: Update Chart Index | ||
shell: bash | ||
working-directory: dest | ||
run: | | ||
helm repo index . --url https://pabloromeo.github.io/clusterplex | ||
- name: Commit changes | ||
uses: stefanzweifel/git-auto-commit-action@v4 | ||
id: auto-commit | ||
with: | ||
repository: dest | ||
branch: gh-pages | ||
file_pattern: "index.yaml *.tgz *.md" | ||
|
||
- name: Wait for deploy | ||
uses: fountainhead/action-wait-for-check@v1.1.0 | ||
if: ${{ steps.auto-commit.outputs.changes_detected }} | ||
id: wait-for-deploy | ||
with: | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
ref: ${{ steps.auto-commit.outputs.commit_hash }} | ||
checkName: deploy |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -61,3 +61,6 @@ typings/ | |
.next | ||
|
||
docker-compose.yml | ||
|
||
# macOS | ||
**/.DS_STORE |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
# Patterns to ignore when building packages. | ||
# This supports shell glob matching, relative path matching, and | ||
# negation (prefixed with !). Only one pattern per line. | ||
.DS_Store | ||
README.md.gotmpl | ||
# Common VCS dirs | ||
.git/ | ||
.gitignore | ||
.bzr/ | ||
.bzrignore | ||
.hg/ | ||
.hgignore | ||
.svn/ | ||
# Common backup files | ||
*.swp | ||
*.bak | ||
*.tmp | ||
*.orig | ||
*~ | ||
# Various IDEs | ||
.project | ||
.idea/ | ||
*.tmproj | ||
.vscode/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
dependencies: | ||
- name: common | ||
repository: https://bjw-s.github.io/helm-charts | ||
version: 1.5.1 | ||
digest: sha256:3588c89621170f198d4938664d3ea4c469bd91fd78183c83cfcf63f474d348c4 | ||
generated: "2023-06-06T20:59:49.839068-05:00" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
apiVersion: v2 | ||
name: clusterplex | ||
description: ClusterPlex is basically an extended version of Plex, which supports distributed Workers across a cluster to handle transcoding requests. | ||
type: application | ||
kubeVersion: ">=1.24.0-0" | ||
dependencies: | ||
- name: common | ||
repository: https://bjw-s.github.io/helm-charts | ||
version: 1.5.1 | ||
home: https://github.com/pabloromeo/clusterplex/charts/clusterplex | ||
sources: | ||
- https://github.com/pabloromeo/clusterplex | ||
- https://github.com/linuxserver/docker-plex | ||
- https://plex.tv | ||
version: 1.0.0 | ||
appVersion: 1.4.4 |
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
{{ template "chart.header" . }} | ||
|
||
{{ template "chart.versionBadge" . }}{{ template "chart.typeBadge" . }}{{ template "chart.appVersionBadge" . }} | ||
|
||
{{ template "chart.description" . }} | ||
|
||
<br> | ||
|
||
{{ template "chart.sourcesSection" . }} | ||
|
||
<br> | ||
|
||
{{ template "chart.requirementsSection" . }} | ||
|
||
<br> | ||
|
||
## Installing the Chart | ||
|
||
To install the chart with the release name `clusterplex`: | ||
|
||
```console | ||
$ helm repo add clusterplex http://pabloromeo.github.io/clusterplex | ||
$ helm install clusterplex clusterplex/clusterplex | ||
``` | ||
|
||
<br> | ||
|
||
{{ template "chart.valuesSection" . }} | ||
|
||
{{ template "helm-docs.versionFooter" . }} |
Oops, something went wrong.