mirror of
https://github.com/nikdoof/ohayodash.git
synced 2025-12-13 18:12:17 +00:00
Add chart
This commit is contained in:
32
.github/workflows/release-chart.yaml
vendored
Normal file
32
.github/workflows/release-chart.yaml
vendored
Normal file
@@ -0,0 +1,32 @@
|
|||||||
|
name: release chart
|
||||||
|
|
||||||
|
"on":
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- main
|
||||||
|
paths:
|
||||||
|
- "charts/ohayodash/**"
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
release:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- name: Checkout
|
||||||
|
uses: actions/checkout@v2
|
||||||
|
with:
|
||||||
|
fetch-depth: 0
|
||||||
|
|
||||||
|
- name: Configure Git
|
||||||
|
run: |
|
||||||
|
git config user.name "$GITHUB_ACTOR"
|
||||||
|
git config user.email "$GITHUB_ACTOR@users.noreply.github.com"
|
||||||
|
- name: Install Helm
|
||||||
|
uses: azure/setup-helm@v1
|
||||||
|
with:
|
||||||
|
version: v3.6.3
|
||||||
|
|
||||||
|
- name: Run chart-releaser
|
||||||
|
uses: helm/chart-releaser-action@v1.2.1
|
||||||
|
env:
|
||||||
|
CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
|
||||||
|
CR_RELEASE_NAME_TEMPLATE: "ohayodash-helm-chart-{{ .Version }}"
|
||||||
3
README.md
Normal file
3
README.md
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
# Ohayo Dash
|
||||||
|
|
||||||
|
Ohayo Dash is a Kubernetes driven start page and dashboard. All configuration is done by standard Kubernetes objects and ConfigMaps.
|
||||||
20
charts/ohayodash/Chart.yaml
Normal file
20
charts/ohayodash/Chart.yaml
Normal file
@@ -0,0 +1,20 @@
|
|||||||
|
apiVersion: v2
|
||||||
|
appVersion: 0.0.1
|
||||||
|
description: Ohayo Dash is a Kubernetes driven start page and dashboard. All configuration is done by standard Kubernetes objects and ConfigMaps.
|
||||||
|
name: hajimari
|
||||||
|
version: 0.0.1
|
||||||
|
kubeVersion: ">=1.16.0-0"
|
||||||
|
keywords:
|
||||||
|
- ohayodash
|
||||||
|
- startpage
|
||||||
|
- dashboard
|
||||||
|
home: https://github.com/nikdoof/ohayodash/tree/main/charts/hajimari
|
||||||
|
sources:
|
||||||
|
- https://github.com/nikdoof/ohayodash
|
||||||
|
maintainers:
|
||||||
|
- name: nikdoof
|
||||||
|
email: nikdoof@users.noreply.github.com
|
||||||
|
dependencies:
|
||||||
|
- name: common
|
||||||
|
repository: https://library-charts.k8s-at-home.com
|
||||||
|
version: 4.0.0
|
||||||
8
charts/ohayodash/ci/ct-values.yaml
Normal file
8
charts/ohayodash/ci/ct-values.yaml
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
ingress:
|
||||||
|
main:
|
||||||
|
enabled: true
|
||||||
|
hosts:
|
||||||
|
- host: ohayodash.domain.tld
|
||||||
|
paths:
|
||||||
|
- path: /
|
||||||
|
pathType: Prefix
|
||||||
1
charts/ohayodash/templates/NOTES.txt
Normal file
1
charts/ohayodash/templates/NOTES.txt
Normal file
@@ -0,0 +1 @@
|
|||||||
|
{{ include "common.notes.defaultNotes" . }}
|
||||||
1
charts/ohayodash/templates/common.yaml
Normal file
1
charts/ohayodash/templates/common.yaml
Normal file
@@ -0,0 +1 @@
|
|||||||
|
{{ include "common.all" . }}
|
||||||
25
charts/ohayodash/templates/rbac.yaml
Normal file
25
charts/ohayodash/templates/rbac.yaml
Normal file
@@ -0,0 +1,25 @@
|
|||||||
|
{{- if .Values.serviceAccount.create }}
|
||||||
|
apiVersion: rbac.authorization.k8s.io/v1
|
||||||
|
kind: ClusterRole
|
||||||
|
metadata:
|
||||||
|
name: {{ include "common.names.fullname" . }}
|
||||||
|
labels: {{- include "common.labels" . | nindent 4 }}
|
||||||
|
rules:
|
||||||
|
- apiGroups: ["", "extensions", "networking.k8s.io"]
|
||||||
|
resources: ["ingresses", "namespaces"]
|
||||||
|
verbs: ["get", "list"]
|
||||||
|
---
|
||||||
|
apiVersion: rbac.authorization.k8s.io/v1
|
||||||
|
kind: ClusterRoleBinding
|
||||||
|
metadata:
|
||||||
|
name: {{ include "common.names.fullname" . }}
|
||||||
|
labels: {{- include "common.labels" . | nindent 4 }}
|
||||||
|
roleRef:
|
||||||
|
apiGroup: rbac.authorization.k8s.io
|
||||||
|
kind: ClusterRole
|
||||||
|
name: {{ include "common.names.fullname" . }}
|
||||||
|
subjects:
|
||||||
|
- kind: ServiceAccount
|
||||||
|
name: {{ include "common.names.fullname" . }}
|
||||||
|
namespace: {{ .Release.Namespace }}
|
||||||
|
{{- end }}
|
||||||
40
charts/ohayodash/values.yaml
Normal file
40
charts/ohayodash/values.yaml
Normal file
@@ -0,0 +1,40 @@
|
|||||||
|
#
|
||||||
|
# IMPORTANT NOTE
|
||||||
|
#
|
||||||
|
# This chart inherits from the k8s@home library chart. You can check the default values/options here:
|
||||||
|
# https://github.com/k8s-at-home/library-charts/tree/main/charts/stable/common/values.yaml
|
||||||
|
#
|
||||||
|
|
||||||
|
image:
|
||||||
|
# -- image repository
|
||||||
|
repository: ghcr.io/nikdoof/ohayodash
|
||||||
|
# -- image pull policy
|
||||||
|
pullPolicy: IfNotPresent
|
||||||
|
# -- image tag
|
||||||
|
tag: latest
|
||||||
|
|
||||||
|
# -- environment variables.
|
||||||
|
# @default -- See below
|
||||||
|
env:
|
||||||
|
# -- Set the container timezone
|
||||||
|
TZ: UTC
|
||||||
|
|
||||||
|
# -- Configures service settings for the chart.
|
||||||
|
# @default -- See values.yaml
|
||||||
|
service:
|
||||||
|
main:
|
||||||
|
ports:
|
||||||
|
http:
|
||||||
|
port: 80
|
||||||
|
|
||||||
|
# -- Configures service account needed for reading k8s ingress objects
|
||||||
|
# @default -- See below
|
||||||
|
serviceAccount:
|
||||||
|
# -- Create service account
|
||||||
|
create: true
|
||||||
|
|
||||||
|
ingress:
|
||||||
|
# -- Enable and configure ingress settings for the chart under this key.
|
||||||
|
# @default -- See values.yaml
|
||||||
|
main:
|
||||||
|
enabled: false
|
||||||
Reference in New Issue
Block a user