-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
9 changed files
with
209 additions
and
0 deletions.
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
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,25 @@ | ||
# 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 | ||
# Common VCS dirs | ||
.git/ | ||
.gitignore | ||
.bzr/ | ||
.bzrignore | ||
.hg/ | ||
.hgignore | ||
.svn/ | ||
# Common backup files | ||
*.swp | ||
*.bak | ||
*.tmp | ||
*.orig | ||
*~ | ||
# Various IDEs | ||
.project | ||
.idea/ | ||
*.tmproj | ||
.vscode/ | ||
# helm-docs templates | ||
*.gotmpl |
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-08-20T16:58:24.530562-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,29 @@ | ||
apiVersion: v2 | ||
name: castsponsorskip | ||
description: Skip sponsored YouTube content on all local Google Cast devices. | ||
home: https://charts.gabe565.com/charts/castsponsorskip/ | ||
type: application | ||
version: 0.0.1 | ||
# renovate datasource=docker depName=ghcr.io/gabe565/castsponsorskip | ||
appVersion: 0.1.0 | ||
kubeVersion: ">=1.22.0-0" | ||
keywords: | ||
- youtube | ||
- chromecast | ||
- google-cast | ||
- sponsorblock | ||
dependencies: | ||
- name: common | ||
repository: https://bjw-s.github.io/helm-charts | ||
version: 1.5.1 | ||
sources: | ||
- https://github.com/gabe565/CastSponsorSkip | ||
annotations: | ||
artifacthub.io/changes: |- | ||
- kind: added | ||
description: Initial release | ||
artifacthub.io/links: |- | ||
- name: App Source | ||
url: https://github.com/gabe565/CastSponsorSkip | ||
- name: Chart Source | ||
url: https://github.com/gabe565/charts/tree/main/charts/castsponsorskip |
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,94 @@ | ||
# CastSponsorSkip | ||
|
||
![Version: 0.0.1](https://img.shields.io/badge/Version-0.0.1-informational?style=flat) | ||
![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat) | ||
![AppVersion: 0.1.0](https://img.shields.io/badge/AppVersion-0.1.0-informational?style=flat) | ||
|
||
Skip sponsored YouTube content on all local Google Cast devices. | ||
|
||
**Homepage:** <https://charts.gabe565.com/charts/castsponsorskip/> | ||
|
||
**This chart is not maintained by the upstream project and any issues with the chart should be raised | ||
[here](https://github.com/gabe565/charts/issues/new?assignees=gabe565&labels=bug&template=bug_report.yaml&name=castsponsorskip&version=0.0.1)** | ||
|
||
## Source Code | ||
|
||
* <https://github.com/gabe565/CastSponsorSkip> | ||
|
||
## Requirements | ||
|
||
Kubernetes: `>=1.22.0-0` | ||
|
||
## Dependencies | ||
|
||
| Repository | Name | Version | | ||
|------------|------|---------| | ||
| <https://bjw-s.github.io/helm-charts> | common | 1.5.1 | | ||
|
||
## Installing the Chart | ||
|
||
To install the chart with the release name `castsponsorskip` | ||
|
||
### OCI (Recommended) | ||
|
||
```console | ||
helm install castsponsorskip oci://ghcr.io/gabe565/charts/castsponsorskip | ||
``` | ||
|
||
### Traditional | ||
|
||
```console | ||
helm repo add gabe565 https://charts.gabe565.com | ||
helm repo update | ||
helm install castsponsorskip gabe565/castsponsorskip | ||
``` | ||
|
||
## Uninstalling the Chart | ||
|
||
To uninstall the `castsponsorskip` deployment | ||
|
||
```console | ||
helm uninstall castsponsorskip | ||
``` | ||
|
||
The command removes all the Kubernetes components associated with the chart **including persistent volumes** and deletes the release. | ||
|
||
## Configuration | ||
|
||
Read through the [values.yaml](./values.yaml) file. It has several commented out suggested values. | ||
Other values may be used from the [values.yaml](https://github.com/bjw-s/helm-charts/tree/main/charts/library/common/values.yaml) from the [bjw-s common library](https://github.com/bjw-s/helm-charts/tree/main/charts/library/common). | ||
|
||
Specify each parameter using the `--set key=value[,key=value]` argument to `helm install`. | ||
|
||
```console | ||
helm install castsponsorskip \ | ||
--set env.TZ="America/New York" \ | ||
gabe565/castsponsorskip | ||
``` | ||
|
||
Alternatively, a YAML file that specifies the values for the above parameters can be provided while installing the chart. | ||
|
||
```console | ||
helm install castsponsorskip gabe565/castsponsorskip -f values.yaml | ||
``` | ||
|
||
## Custom configuration | ||
|
||
N/A | ||
|
||
## Values | ||
|
||
**Important**: When deploying an application Helm chart you can add more values from the bjw-s common library chart [here](https://github.com/bjw-s/helm-charts/tree/main/charts/library/common) | ||
|
||
| Key | Type | Default | Description | | ||
|-----|------|---------|-------------| | ||
| controller.strategy | string | `"RollingUpdate"` | Set the controller upgrade strategy | | ||
| dnsPolicy | string | `"ClusterFirst"` | When hostNetwork is true set dnsPolicy to `ClusterFirstWithHostNet` | | ||
| env | string | See [values.yaml](./values.yaml) | environment variables. [[ref]](https://github.com/gabe565/CastSponsorSkip#configuration) | | ||
| hostNetwork | bool | `true` | Enable devices to be discoverable | | ||
| image.pullPolicy | string | `"IfNotPresent"` | image pull policy | | ||
| image.repository | string | `"ghcr.io/gabe565/castsponsorskip"` | image repository | | ||
| image.tag | string | `"0.1.0"` | image tag | | ||
|
||
--- | ||
Autogenerated from chart metadata using [helm-docs](https://github.com/norwoodj/helm-docs) |
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,13 @@ | ||
{{- define "custom.chart.name" -}} | ||
CastSponsorSkip | ||
{{- end -}} | ||
|
||
{{- define "custom.custom.configuration.header" -}} | ||
## Custom configuration | ||
{{- end -}} | ||
|
||
{{- define "custom.custom.configuration" -}} | ||
{{ template "custom.custom.configuration.header" . }} | ||
|
||
N/A | ||
{{- end -}} |
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 @@ | ||
{{- include "bjw-s.common.lib.chart.notes" . -}} |
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 @@ | ||
{{ include "bjw-s.common.loader.all" . }} |
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,39 @@ | ||
# | ||
# IMPORTANT NOTE | ||
# | ||
# This chart inherits from our common library chart. You can check the default values/options here: | ||
# https://github.com/bjw-s/helm-charts/blob/main/charts/library/common/values.yaml | ||
# | ||
|
||
image: | ||
# -- image repository | ||
repository: ghcr.io/gabe565/castsponsorskip | ||
# -- image pull policy | ||
pullPolicy: IfNotPresent | ||
# -- image tag | ||
tag: 0.1.0 | ||
|
||
controller: | ||
# -- Set the controller upgrade strategy | ||
strategy: RollingUpdate | ||
|
||
# -- environment variables. [[ref]](https://github.com/gabe565/CastSponsorSkip#configuration) | ||
# @default -- See [values.yaml](./values.yaml) | ||
env: | ||
# CSS_DISCOVER_INTERVAL: 5m | ||
# CSS_PAUSED_INTERVAL: 1m | ||
# CSS_PLAYING_INTERVAL: 1s | ||
# CSS_CATEGORIES: sponsor | ||
# CSS_YOUTUBE_API_KEY: AIzaSyDaGmWKa4JsXZ-HjGw7ISLn_3namBGewQe | ||
# CSS_NETWORK_INTERFACE: | ||
|
||
# @ignored | ||
service: | ||
main: | ||
enabled: false | ||
|
||
# -- Enable devices to be discoverable | ||
hostNetwork: true | ||
|
||
# -- When hostNetwork is true set dnsPolicy to `ClusterFirstWithHostNet` | ||
dnsPolicy: ClusterFirst |