feat: replace homer with hajimari

This commit is contained in:
Devin Buhl committed 2021-08-24 09:24:29 -04:00
1 parent f9b48ac100
commit 201e8eca43
12 files changed
+143 -52

No files matched your search

@@ -2,7 +2,7 @@
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: homer-config
name: hajimari-config
spec:
accessModes:
- ReadWriteOnce
@@ -0,0 +1,120 @@
---
apiVersion: helm.toolkit.fluxcd.io/v2beta1
kind: HelmRelease
metadata:
name: hajimari
namespace: default
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
hajimari:
defaultEnable: false
namespaceSelector:
matchNames:
- default
name: "you"
customApps:
- name: Some External Cluster Service
url: http://192.168.1.100:5000
icon: test-tube
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: Box
url: "https://box.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: Trakt
url: "http://trakt.tv"
- name: YouTube
url: "https://youtube.com/feed/subscriptions"
- name: Reading
links:
- name: Instapaper
url: "https://www.instapaper.com/u"
- name: Medium
url: "http://medium.com"
- name: Reddit
url: "http://reddit.com"
- name: Tech
links:
- name: Hacker News
url: "https://news.ycombinator.com/"
- name: The Verge
url: "https://theverge.com/"
- name: MIT Technology Review
url: "https://www.technologyreview.com/"
ingress:
main:
enabled: true
annotations:
kubernetes.io/ingress.class: "nginx"
hajimari.io/enable: "true"
hajimari.io/icon: "weather-sunset"
hosts:
- host: "hajimari.${SECRET_DOMAIN}"
paths:
- path: /
pathType: Prefix
tls:
- hosts:
- "hajimari.${SECRET_DOMAIN}"
persistence:
data:
enabled: true
existingClaim: hajimari-config-v1
resources:
requests:
cpu: 100m
memory: 128M
@@ -1,40 +0,0 @@
---
apiVersion: helm.toolkit.fluxcd.io/v2beta1
kind: HelmRelease
metadata:
name: homer
namespace: default
spec:
interval: 5m
chart:
spec:
# renovate: registryUrl=https://k8s-at-home.com/charts/
chart: homer
version: 6.0.0
sourceRef:
kind: HelmRepository
name: k8s-at-home-charts
namespace: flux-system
values:
image:
repository: b4bz/homer
tag: 21.07.1
pullPolicy: IfNotPresent
ingress:
main:
enabled: true
annotations:
kubernetes.io/ingress.class: "nginx"
hosts:
- host: "homer.${SECRET_DOMAIN}"
paths:
- path: /
pathType: Prefix
tls:
- hosts:
- "homer.${SECRET_DOMAIN}"
persistence:
config:
enabled: true
existingClaim: homer-config
mountPath: /www/assets
+1 -1
View File
@@ -1,4 +1,4 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- homer
- hajimari
@@ -5,6 +5,6 @@ metadata:
name: bitnami-charts
namespace: flux-system
spec:
interval: 30m
interval: 1h
url: https://charts.bitnami.com/bitnami
timeout: 2m
timeout: 3m
@@ -0,0 +1,10 @@
---
apiVersion: source.toolkit.fluxcd.io/v1beta1
kind: HelmRepository
metadata:
name: hajimari-charts
namespace: flux-system
spec:
interval: 1h
url: https://hajimari.io
timeout: 3m
@@ -5,6 +5,6 @@ metadata:
name: ingress-nginx-charts
namespace: flux-system
spec:
interval: 30m
interval: 1h
url: https://kubernetes.github.io/ingress-nginx
timeout: 2m
timeout: 3m
@@ -5,6 +5,6 @@ metadata:
name: jetstack-charts
namespace: flux-system
spec:
interval: 30m
interval: 1h
url: https://charts.jetstack.io/
timeout: 2m
timeout: 3m
@@ -5,6 +5,6 @@ metadata:
name: k8s-at-home-charts
namespace: flux-system
spec:
interval: 30m
interval: 1h
url: https://k8s-at-home.com/charts/
timeout: 2m
timeout: 3m
@@ -2,6 +2,7 @@ apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- bitnami-charts.yaml
- hajimari-charts.yaml
- ingress-nginx-charts.yaml
- jetstack-charts.yaml
- k8s-at-home-charts.yaml
@@ -5,6 +5,6 @@ metadata:
name: metallb-charts
namespace: flux-system
spec:
interval: 30m
interval: 1h
url: https://metallb.github.io/metallb
timeout: 2m
timeout: 3m