mirror of
https://github.com/auricom/home-cluster.git
synced 2025-09-17 18:24:14 +02:00
![feisar-bot[bot]](/assets/img/avatar_default.png)
| datasource | package | from | to | | ---------- | ------------------- | ------ | ------ | | docker | ghcr.io/lldap/lldap | v0.6.0 | v0.6.1 |
111 lines
2.9 KiB
YAML
111 lines
2.9 KiB
YAML
---
|
|
# yaml-language-server: $schema=https://raw.githubusercontent.com/bjw-s/helm-charts/main/charts/other/app-template/schemas/helmrelease-helm-v2.schema.json
|
|
apiVersion: helm.toolkit.fluxcd.io/v2
|
|
kind: HelmRelease
|
|
metadata:
|
|
name: &app lldap
|
|
namespace: default
|
|
spec:
|
|
interval: 30m
|
|
chart:
|
|
spec:
|
|
chart: app-template
|
|
version: 3.5.1
|
|
sourceRef:
|
|
kind: HelmRepository
|
|
name: bjw-s
|
|
namespace: flux-system
|
|
maxHistory: 2
|
|
install:
|
|
createNamespace: true
|
|
remediation:
|
|
retries: 3
|
|
upgrade:
|
|
cleanupOnFail: true
|
|
remediation:
|
|
strategy: rollback
|
|
retries: 3
|
|
uninstall:
|
|
keepHistory: false
|
|
values:
|
|
defaultPodOptions:
|
|
topologySpreadConstraints:
|
|
- maxSkew: 1
|
|
topologyKey: kubernetes.io/hostname
|
|
whenUnsatisfiable: DoNotSchedule
|
|
labelSelector:
|
|
matchLabels:
|
|
app.kubernetes.io/name: *app
|
|
controllers:
|
|
lldap:
|
|
replicas: 2
|
|
strategy: RollingUpdate
|
|
annotations:
|
|
reloader.stakater.com/auto: "true"
|
|
initContainers:
|
|
init-db:
|
|
image:
|
|
repository: ghcr.io/onedr0p/postgres-init
|
|
tag: 16
|
|
pullPolicy: IfNotPresent
|
|
envFrom: &envFrom
|
|
- secretRef:
|
|
name: lldap-secret
|
|
containers:
|
|
app:
|
|
image:
|
|
repository: ghcr.io/lldap/lldap
|
|
tag: v0.6.1@sha256:4931eeeb841b1bbf5774161b5fd9dab88f41ffeb4b08ca656f0b7595cd7cb52a
|
|
env:
|
|
TZ: ${TIMEZONE}
|
|
LLDAP_HTTP_PORT: &port 8080
|
|
LLDAP_HTTP_URL: https://lldap.${SECRET_EXTERNAL_DOMAIN}
|
|
LLDAP_LDAP_PORT: &ldapPort 5389
|
|
LLDAP_LDAP_BASE_DN: dc=home,dc=arpa
|
|
envFrom: *envFrom
|
|
resources:
|
|
requests:
|
|
cpu: 100m
|
|
memory: 100Mi
|
|
limits:
|
|
memory: 500Mi
|
|
service:
|
|
app:
|
|
controller: *app
|
|
ports:
|
|
http:
|
|
port: *port
|
|
ldap:
|
|
enabled: true
|
|
port: *ldapPort
|
|
ingress:
|
|
app:
|
|
enabled: true
|
|
annotations:
|
|
hajimari.io/icon: mdi:account-multiple
|
|
gethomepage.dev/enabled: "true"
|
|
gethomepage.dev/name: lldap
|
|
gethomepage.dev/description: Light LDAP implementation
|
|
gethomepage.dev/group: Infrastructure
|
|
gethomepage.dev/icon: lldap.png
|
|
gethomepage.dev/pod-selector: >-
|
|
app in (
|
|
lldap
|
|
)
|
|
className: nginx
|
|
hosts:
|
|
- host: &host "{{ .Release.Name }}.${SECRET_EXTERNAL_DOMAIN}"
|
|
paths:
|
|
- path: /
|
|
service:
|
|
identifier: app
|
|
port: http
|
|
tls:
|
|
- hosts:
|
|
- *host
|
|
persistence:
|
|
data:
|
|
type: emptyDir
|
|
globalMounts:
|
|
- path: /data
|