feat: hajimari

This commit is contained in:
auricom
2021-08-21 00:22:40 +02:00
parent c321a6b85a
commit 5cfc09d4d5
6 changed files with 157 additions and 0 deletions

View File

@@ -0,0 +1,124 @@
---
apiVersion: helm.toolkit.fluxcd.io/v2beta1
kind: HelmRelease
metadata:
name: hajimari
namespace: data
spec:
interval: 5m
chart:
spec:
# renovate: registryUrl=https://hajimari.io
chart: hajimari
version: 1.1.1
sourceRef:
kind: HelmRepository
name: hajimari-charts
namespace: flux-system
interval: 5m
values:
image:
repository: ghcr.io/toboshii/hajimari
tag: v0.1.0
env:
TZ: "America/New_York"
hajimari:
defaultEnable: false
namespaceSelector:
matchNames:
- home-automation
- media
- data
- developement
- monitoring
- rook-ceph
- networking
name: "auricom"
customApps:
- name: Valetudo
url: "http://192.168.1.28"
icon: "robot-vacuum"
- name: PiAware
url: "http://192.168.150.25:8080"
icon: "airplane"
- name: HDHomeRun
url: "http://192.168.150.30"
icon: "antenna"
groups:
- name: Communicate
links:
- name: Discord
url: "https://discord.com"
- name: Gmail
url: "https://gmail.com"
- name: Slack
url: "https://slack.com/signin"
- name: Cloud
links:
- name: Cloudflare
url: "https://dash.cloudflare.com"
- name: Dropbox
url: "https://dropbox.com"
- name: Drive
url: "https://drive.google.com"
# - name: Design
# links:
# - name: Awwwards
# url: "https://awwwards.com"
# - name: Dribbble
# url: "https://dribbble.com"
# - name: Muz.li
# url: "https://medium.muz.li/"
# - name: Dev
# links:
# - name: Codepen
# url: "https://codepen.io/"
# - name: Devdocs
# url: "https://devdocs.io"
# - name: Devhints
# url: "https://devhints.io"
# - name: Lifestyle
# links:
# - name: Design Milk
# url: "https://design-milk.com/category/interior-design/"
# - name: Dwell
# url: "https://www.dwell.com/"
# - name: Freshome
# url: "https://www.mymove.com/freshome/"
- name: Media
links:
- name: Spotify
url: "http://browse.spotify.com"
- name: Reading
links:
- name: Reddit
url: "http://reddit.com"
- name: Tech
links:
- name: Hacker News
url: "https://news.ycombinator.com/"
ingress:
main:
enabled: true
# ingressClassName: "traefik"
annotations:
kubernetes.io/ingress.class: "nginx"
# traefik.ingress.kubernetes.io/router.entrypoints: "websecure"
hosts:
- host: "hajimari.${SECRET_CLUSTER_DOMAIN}"
paths:
- path: /
pathType: Prefix
tls:
- hosts:
- "hajimari.${SECRET_CLUSTER_DOMAIN}"
persistence:
data:
enabled: true
existingClaim: hajimari-config
podAnnotations:
configmap.reloader.stakater.com/reload: "hajimari-settings"
resources:
requests:
cpu: 100m
memory: 128M

View File

@@ -0,0 +1,6 @@
---
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- helm-release.yaml
- volume.yaml

View File

@@ -0,0 +1,15 @@
---
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: hajimari-config
namespace: data
labels:
benji-backup.me/instance: "benji-k8s"
spec:
accessModes:
- ReadWriteOnce
storageClassName: rook-ceph-block
resources:
requests:
storage: 1Gi

View File

@@ -5,6 +5,7 @@ resources:
- namespace.yaml
- bookstack
- freshrss
- hajimari
- homer
- jobs
- joplin-server