Skip to content

Commit

Permalink
Add homepage chart (#70)
Browse files Browse the repository at this point in the history
* add homepage chart

* Minor tweaks

* remove openweathermap provider

* Make linting happy

* Use 1.3.0 librepod lib version
  • Loading branch information
cyxou authored Nov 12, 2023
1 parent 86bfb6a commit e0abe3a
Show file tree
Hide file tree
Showing 9 changed files with 147 additions and 0 deletions.
23 changes: 23 additions & 0 deletions charts/homepage/.helmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# 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/
6 changes: 6 additions & 0 deletions charts/homepage/Chart.lock
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
dependencies:
- name: librepod
repository: https://librepod.github.io/charts
version: 1.3.0
digest: sha256:961f017c638697b12fc2207ee097dab32356f27322e5364fa8fb4874fb2dca45
generated: "2023-11-12T09:50:22.437304903+03:00"
20 changes: 20 additions & 0 deletions charts/homepage/Chart.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
apiVersion: v2
name: homepage
description: |
A modern (fully static, fast), secure (fully proxied), highly customizable application
dashboard with integrations for more than 25 services and translations for over 15 languages.
Easily configured via YAML files (or discovery via docker labels).
version: 0.1.0
appVersion: v0.4.18
kubeVersion: ">=1.16.0-0"
type: application
keywords:
- homepage
- startpage
home: https://github.com/librepod/charts/tree/master/charts/homepage
sources:
- https://github.com/benphelps/homepage
dependencies:
- name: librepod
version: 1.3.0
repository: https://librepod.github.io/charts
8 changes: 8 additions & 0 deletions charts/homepage/configmap/bookmarks.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
# For configuration options and examples, please see:
# https://github.com/benphelps/homepage/wiki/Bookmarks

- Developer:
- Github:
- abbr: GH
href: https://github.com/librepod
17 changes: 17 additions & 0 deletions charts/homepage/configmap/services.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
---
# For configuration options and examples, please see:
# https://github.com/benphelps/homepage/wiki/Services

- LibrePod:

# - Wireguard:
# href: https://wireguard.libre.pod
# description: Grant access to your LibrePod

# - Pi-hole:
# href: https://pihole.libre.pod
# description: Network-wide ad blocking

# - Traefik:
# href: https://traefik.libre.pod
# description: The Cloud-Native application proxy
3 changes: 3 additions & 0 deletions charts/homepage/configmap/settings.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
---
# For configuration options and examples, please see:
# https://github.com/benphelps/homepage/wiki/Settings
12 changes: 12 additions & 0 deletions charts/homepage/configmap/widgets.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
---
# For configuration options and examples, please see:
# https://github.com/benphelps/homepage/wiki/Information-Widgets

- resources:
cpu: true
memory: true
disk: /

- search:
provider: duckduckgo
target: _blank
1 change: 1 addition & 0 deletions charts/homepage/templates/all.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{{- include "librepod.all" . -}}
57 changes: 57 additions & 0 deletions charts/homepage/values.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
# The 'hostIP' is supposed to be set upon chart installation:
# helm install pihole --set hostIP="192.168.1.200"
image:
repository: ghcr.io/benphelps/homepage
pullPolicy: IfNotPresent
tag: ""

service:
main:
enabled: true
ports:
http:
enabled: true
primary: true
port: 3000

ingress:
main:
enabled: true
hosts:
- host: libre.pod

persistence:
bookmarks:
enabled: true
type: configMap
name: '{{ include "librepod.names.fullname" . }}-bookmarks'
mountPath: /app/config/bookmarks.yaml
subPath: bookmarks.yaml
services:
enabled: true
type: configMap
name: '{{ include "librepod.names.fullname" . }}-services'
mountPath: /app/config/services.yaml
subPath: services.yaml

configmap:
bookmarks:
enabled: true
data:
bookmarks.yaml: |
{{- (.Files.Get "configmap/bookmarks.yaml") | nindent 4 }}
services:
enabled: true
data:
services.yaml: |
{{- (.Files.Get "configmap/services.yaml") | nindent 4 }}
settings:
enabled: true
data:
settings.yaml: |
{{- (.Files.Get "configmap/settings.yaml") | nindent 4 }}
widgets:
enabled: true
data:
widgets.yaml: |
{{- (.Files.Get "configmap/widgets.yaml") | nindent 4 }}

0 comments on commit e0abe3a

Please sign in to comment.