add kronic

This commit is contained in:
2025-06-01 21:53:23 -05:00
parent 69c5d996a6
commit f1bf0c9bb2
8 changed files with 115 additions and 21 deletions

View File

@@ -0,0 +1,22 @@
apiVersion: v2
name: kronic
version: 1.0.0
description: Kronic
keywords:
- kronic
- cron-job
- dashboard
- kubernetes
home: https://wiki.alexlebens.dev/s/f1191e27-264a-42bf-a3aa-3dcc35820a62
sources:
- https://github.com/mshade/kronic
- https://github.com/mshade/kronic/pkgs/container/kronic
- https://github.com/mshade/kronic/tree/main/chart/kronic
maintainers:
- name: alexlebens
dependencies:
- name: kronic
repository: https://mshade.github.io/kronic/
version: 0.1.7
icon: https://raw.githubusercontent.com/mshade/kronic/main/static/android-chrome-192x192.png
appVersion: v0.1.4

View File

@@ -0,0 +1,21 @@
apiVersion: external-secrets.io/v1
kind: ExternalSecret
metadata:
name: kronic-config-secret
namespace: {{ .Release.Namespace }}
labels:
app.kubernetes.io/name: kronic-config-secret
app.kubernetes.io/instance: {{ .Release.Name }}
app.kubernetes.io/part-of: {{ .Release.Name }}
spec:
secretStoreRef:
kind: ClusterSecretStore
name: vault
data:
- secretKey: password
remoteRef:
conversionStrategy: Default
decodingStrategy: None
key: /cl01tl/kronic/auth
metadataPolicy: None
property: password

View File

@@ -0,0 +1,28 @@
apiVersion: gateway.networking.k8s.io/v1
kind: HTTPRoute
metadata:
name: https-route-kronic
namespace: {{ .Release.Namespace }}
labels:
app.kubernetes.io/name: https-route-kronic
app.kubernetes.io/instance: {{ .Release.Name }}
app.kubernetes.io/part-of: {{ .Release.Name }}
spec:
parentRefs:
- group: gateway.networking.k8s.io
kind: Gateway
name: traefik-gateway
namespace: traefik
hostnames:
- kronic.alexlebens.net
rules:
- matches:
- path:
type: PathPrefix
value: /
backendRefs:
- group: ''
kind: Service
name: kronic
port: 80
weight: 100

View File

@@ -0,0 +1,17 @@
kronic:
replicaCount: 1
image:
repository: ghcr.io/mshade/kronic
tag: v0.1.4
auth:
enabled: true
adminUsername: kronic
existingSecretName: kronic-config-secret
env:
KRONIC_ALLOW_NAMESPACES: "gitea"
ingress:
enabled: false
resources:
requests:
cpu: 10m
memory: 256Mi