Skip to content

Commit

Permalink
feat: Create CastSponsorSkip chart
Browse files Browse the repository at this point in the history
  • Loading branch information
gabe565 committed Aug 20, 2023
1 parent 95cbe7e commit 73637e3
Show file tree
Hide file tree
Showing 9 changed files with 209 additions and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ Also available on [ArtifactHub](https://artifacthub.io/packages/search?repo=gabe
| [ASCII Movie <img src='https://raw.githubusercontent.com/gabe565/ascii-movie/a1fd5c9df2fb3a177949c9511b62407c83aedefe/assets/icon.svg' alt='ascii-movie icon' width='18px' align='right' loading='lazy'>](charts/ascii-movie/) | Star Wars movie SSH and Telnet server |
| [Bookstack <img src='https://raw.githubusercontent.com/gabe565/charts/main/charts/bookstack/icon.svg' alt='bookstack icon' width='18px' align='right' loading='lazy'>](charts/bookstack/) | A simple, self-hosted, easy-to-use platform for organising and storing information. |
| [Borgmatic <img src='https://raw.githubusercontent.com/borgmatic-collective/borgmatic/1.6.6/docs/static/borgmatic.svg' alt='borgmatic icon' width='18px' align='right' loading='lazy'>](charts/borgmatic/) | borgmatic is simple, configuration-driven backup software for servers and workstations. Protect your files with client-side encryption. Backup your databases too. Monitor it all with integrated third-party services. |
| [CastSponsorSkip ](charts/castsponsorskip/) | Skip sponsored YouTube content on all local Google Cast devices. |
| [ChangeDetection.io <img src='https://raw.githubusercontent.com/gabe565/charts/main/charts/changedetection-io/icon.png' alt='changedetection-io icon' width='18px' align='right' loading='lazy'>](charts/changedetection-io/) | Live your data-life pro-actively, track website content changes and receive notifications via Discord, Email, Slack, Telegram and 70+ more. |
| [Domain Watch <img src='https://raw.githubusercontent.com/gabe565/domain-watch/ee028db206ea80c2617dd74a87193191a25a0a8a/assets/icon.svg' alt='domain-watch icon' width='18px' align='right' loading='lazy'>](charts/domain-watch/) | Tool to watch whois reports and notify when statuses change or expiration is incoming. |
| [ESPHome <img src='https://raw.githubusercontent.com/esphome/esphome-docs/019178551126f2d6a588a1f9ef50f60453041531/images/logo.svg' alt='esphome icon' width='18px' align='right' loading='lazy'>](charts/esphome/) | ESPHome is a system to control your ESP8266/ESP32 by simple yet powerful configuration files and control them remotely through Home Automation systems. |
Expand Down
25 changes: 25 additions & 0 deletions charts/castsponsorskip/.helmignore
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
6 changes: 6 additions & 0 deletions charts/castsponsorskip/Chart.lock
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"
29 changes: 29 additions & 0 deletions charts/castsponsorskip/Chart.yaml
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
94 changes: 94 additions & 0 deletions charts/castsponsorskip/README.md
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)
13 changes: 13 additions & 0 deletions charts/castsponsorskip/README_CONFIG.md.gotmpl
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 -}}
1 change: 1 addition & 0 deletions charts/castsponsorskip/templates/NOTES.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{{- include "bjw-s.common.lib.chart.notes" . -}}
1 change: 1 addition & 0 deletions charts/castsponsorskip/templates/common.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{{ include "bjw-s.common.loader.all" . }}
39 changes: 39 additions & 0 deletions charts/castsponsorskip/values.yaml
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

0 comments on commit 73637e3

Please sign in to comment.