Skip to content

Commit

Permalink
Merge pull request #22 from librepod/update-hajimari-to-latest-librep…
Browse files Browse the repository at this point in the history
…od-version

Update hajimari to Librepod v1.0.0 chart version
  • Loading branch information
cyxou authored Aug 14, 2022
2 parents 3221d35 + 3f97874 commit 4324835
Show file tree
Hide file tree
Showing 12 changed files with 98 additions and 107 deletions.
6 changes: 3 additions & 3 deletions charts/hajimari/Chart.lock
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
dependencies:
- name: librepod
repository: https://librepod.github.io/charts
version: 0.1.0
digest: sha256:3c2c489d4624e620d0a5e9040876c708457103f982800c0cd84e1a3adff9cf31
generated: "2022-06-19T21:16:47.193224063+03:00"
version: 1.0.0
digest: sha256:e4c6927c983bbb7a580735faf5f3068cfcef3e896249b5bcefa9002c6b251551
generated: "2022-08-14T19:41:59.738967812+03:00"
4 changes: 2 additions & 2 deletions charts/hajimari/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: hajimari
description: |
Hajimari is a beautiful & customizable browser startpage/dashboard with
Kubernetes application discovery
version: 0.1.5
version: 0.2.0
appVersion: v0.2.0
kubeVersion: ">=1.16.0-0"
type: application
Expand All @@ -17,5 +17,5 @@ sources:
- https://github.com/toboshii/hajimari
dependencies:
- name: librepod
version: 0.1.0
version: 1.0.0
repository: https://librepod.github.io/charts
71 changes: 35 additions & 36 deletions charts/hajimari/ci/ct-values.yaml
Original file line number Diff line number Diff line change
@@ -1,38 +1,37 @@
hajimari:
namespaceSelector:
matchNames:
- downloads
- media
customApps:
- name: Test
url: https://example.com
icon: test-tube
- name: Example
url: https://example.org
icon: test-tube
groups:
- name: Communicate
links:
- name: Discord
url: 'https://discord.com'
- name: Gmail
url: 'http://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'

ingress:
enabled: false

persistence:
enabled: false
config:
storageClassName: local-path

serviceAccount:
create: true
configmap:
config:
enabled: true
data:
config.yaml: |
namespaceSelector:
matchNames:
- downloads
- media
customApps:
- name: Test
url: "https://example.com"
icon: test-tube
- name: Example
url: "https://example.org"
icon: test-tube
groups:
- name: Communicate
links:
- name: Discord
url: "https://discord.com"
- name: Gmail
url: "http://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"
1 change: 1 addition & 0 deletions charts/hajimari/templates/all.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{{- include "librepod.all" . -}}
7 changes: 0 additions & 7 deletions charts/hajimari/templates/configmap.yaml

This file was deleted.

1 change: 0 additions & 1 deletion charts/hajimari/templates/deployment.yaml

This file was deleted.

3 changes: 0 additions & 3 deletions charts/hajimari/templates/ingressroute.yaml

This file was deleted.

3 changes: 0 additions & 3 deletions charts/hajimari/templates/pvc.yaml

This file was deleted.

4 changes: 2 additions & 2 deletions charts/hajimari/templates/rbac.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ kind: ClusterRole
metadata:
name: {{ template "librepod.names.serviceAccountName" . }}
labels:
{{- include "librepod.names.labels" . | nindent 4 }}
{{- include "librepod.labels" . | nindent 4 }}
rules:
- apiGroups: ["", "extensions", "networking.k8s.io"]
resources: ["ingresses", "namespaces"]
Expand All @@ -15,7 +15,7 @@ kind: ClusterRoleBinding
metadata:
name: {{ template "librepod.names.serviceAccountName" . }}
labels:
{{- include "librepod.names.labels" . | nindent 4 }}
{{- include "librepod.labels" . | nindent 4 }}
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: ClusterRole
Expand Down
1 change: 0 additions & 1 deletion charts/hajimari/templates/service.yaml

This file was deleted.

1 change: 0 additions & 1 deletion charts/hajimari/templates/serviceaccount.yaml

This file was deleted.

103 changes: 55 additions & 48 deletions charts/hajimari/values.yaml
Original file line number Diff line number Diff line change
@@ -1,62 +1,69 @@
replicaCount: 1
autoscaling:
enabled: false

image:
repository: ghcr.io/toboshii/hajimari
pullPolicy: IfNotPresent
tag: v0.2.0
tag:

persistence:
config:
enabled: true
size: 100Mi
name: '{{ include "librepod.names.fullname" . }}-config'
mountPath: /config/config.yaml
subPath: config.yaml
type: configMap

# -- environment variables.
env:
TZ: Europe/Moscow

# -- Configures Hajimari settings for this instance.
hajimari:
# -- The name of this instance, this allows running multiple
# instances of Hajimari on the same cluster
instanceName: null
# -- Set to true to show all discovered applications by default.
defaultEnable: false
# -- Namespace selector to use for discovering applications
namespaceSelector:
matchNames:
- kube-system
# -- Override the title of the Hajimari pages
title: LibrePod Start Page
name: "LibrePod User"
# -- Add custom applications to the discovered application list
customApps: []
# - name: Test
# url: https://example.com
# icon: test-tube

# -- Set default bookmarks
groups: []
# - name: Communicate
# links:
# - name: Discord
# url: 'https://discord.com'
# - name: Gmail
# url: 'http://gmail.com'
# - name: Slack
# url: 'https://slack.com/signin'


# -- Configures service settings for the chart.
service:
port: 3000
targetPort: 3000
main:
enabled: true
ports:
http:
enabled: true
primary: true
port: 3000

# -- Configures service account needed for reading k8s ingress objects
# Configures service account needed for reading k8s ingress objects
serviceAccount:
create: true

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

# -- Configure persistence settings for the chart under this key.
persistence:
enabled: true
size: 100Mi
configmap:
config:
enabled: true
data:
config.yaml: |
# The name of this instance, this allows running multiple
# instances of Hajimari on the same cluster
instanceName: null
# Set to true to show all discovered applications by default.
defaultEnable: false
# Namespace selector to use for discovering applications
namespaceSelector:
matchNames:
- kube-system
# Override the title of the Hajimari pages
title: LibrePod Start Page
name: LibrePod User
# Add custom applications to the discovered application list
customApps: []
# - name: Test
# url: https://example.com
# icon: test-tube
# Set default bookmarks
groups: []
# - name: Communicate
# links:
# - name: Discord
# url: 'https://discord.com'
# - name: Gmail
# url: 'http://gmail.com'
# - name: Slack
# url: 'https://slack.com/signin'

0 comments on commit 4324835

Please sign in to comment.