This commit is contained in:
Philip Haupt
2025-05-29 12:34:24 +02:00
parent 58a6e4ef79
commit 31ffb57fc7
4 changed files with 175 additions and 0 deletions

View File

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

110
heimdall/main.yaml Normal file
View File

@@ -0,0 +1,110 @@
apiVersion: v1
kind: Service
metadata:
labels:
app.kubernetes.io/instance: heimdall
app.kubernetes.io/managed-by: Helm
app.kubernetes.io/name: heimdall
app.kubernetes.io/version: 2.2.2
helm.sh/chart: heimdall-8.4.2
name: heimdall
spec:
ports:
- name: http
port: 80
protocol: TCP
targetPort: http
selector:
app.kubernetes.io/instance: heimdall
app.kubernetes.io/name: heimdall
type: ClusterIP
---
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
labels:
app.kubernetes.io/instance: heimdall
app.kubernetes.io/managed-by: Helm
app.kubernetes.io/name: heimdall
app.kubernetes.io/version: 2.2.2
helm.sh/chart: heimdall-8.4.2
name: heimdall-config
spec:
accessModes:
- ReadWriteOnce
resources:
requests:
storage: 1Gi
---
apiVersion: apps/v1
kind: Deployment
metadata:
labels:
app.kubernetes.io/instance: heimdall
app.kubernetes.io/managed-by: Helm
app.kubernetes.io/name: heimdall
app.kubernetes.io/version: 2.2.2
helm.sh/chart: heimdall-8.4.2
name: heimdall
spec:
replicas: 1
revisionHistoryLimit: 3
selector:
matchLabels:
app.kubernetes.io/instance: heimdall
app.kubernetes.io/name: heimdall
strategy:
type: Recreate
template:
metadata:
labels:
app.kubernetes.io/instance: heimdall
app.kubernetes.io/name: heimdall
spec:
automountServiceAccountToken: true
containers:
- env:
- name: PGID
value: "1000"
- name: PUID
value: "1000"
- name: TZ
value: CET
image: lscr.io/linuxserver/heimdall:v2.6.3-ls302
imagePullPolicy: IfNotPresent
livenessProbe:
failureThreshold: 3
initialDelaySeconds: 0
periodSeconds: 10
tcpSocket:
port: 80
timeoutSeconds: 1
name: heimdall
ports:
- containerPort: 80
name: http
protocol: TCP
readinessProbe:
failureThreshold: 3
initialDelaySeconds: 0
periodSeconds: 10
tcpSocket:
port: 80
timeoutSeconds: 1
startupProbe:
failureThreshold: 30
initialDelaySeconds: 0
periodSeconds: 5
tcpSocket:
port: 80
timeoutSeconds: 1
volumeMounts:
- mountPath: /config
name: config
dnsPolicy: ClusterFirst
enableServiceLinks: true
serviceAccountName: default
volumes:
- name: config
persistentVolumeClaim:
claimName: heimdall-config

View File

@@ -0,0 +1,12 @@
---
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
helmCharts:
- name: heimdall
repo: https://k8s-at-home.com/charts/
version: 8.4.2
releaseName: heimdall
includeCRDs: true
namespace: heimdall
valuesFile: values.yaml

47
heimdall/src/values.yaml Normal file
View File

@@ -0,0 +1,47 @@
#
# IMPORTANT NOTE
#
# This chart inherits from our common 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: lscr.io/linuxserver/heimdall
# -- image tag
tag: v2.6.3-ls302
# -- image pull policy
pullPolicy: IfNotPresent
# -- environment variables. See more environment variables in the [heimdall documentation](https://github.com/linuxserver/docker-heimdall#parameters).
# @default -- See below
env:
# -- Set the container timezone
TZ: CET
# -- Set the container user id
PUID: "1000"
# -- Set the container group id
PGID: "1000"
# -- Configures service settings for the chart.
# @default -- See values.yaml
service:
main:
ports:
http:
port: 80
ingress:
# -- Enable and configure ingress settings for the chart under this key.
# @default -- See values.yaml
main:
enabled: false
storageClass: openebs-3-replicas
accessMode: ReadWriteOnce
#size: 5Gi
# -- Configure persistence settings for the chart under this key.
# @default -- See values.yaml
persistence:
config:
enabled: true