⬆️ lldap app-template v2

This commit is contained in:
auricom
2023-11-02 18:53:50 +01:00
parent 1fccb7bad5
commit 44385fbab7

View File

@@ -10,7 +10,7 @@ spec:
chart:
spec:
chart: app-template
version: 1.5.1
version: 2.0.3
sourceRef:
kind: HelmRepository
name: bjw-s
@@ -27,28 +27,47 @@ spec:
uninstall:
keepHistory: false
values:
initContainers:
01-init-db:
image: ghcr.io/auricom/postgres-init:15.4
imagePullPolicy: IfNotPresent
envFrom: &envFrom
- secretRef:
name: lldap-secret
controller:
replicas: 2
strategy: RollingUpdate
annotations:
reloader.stakater.com/auto: "true"
image:
repository: ghcr.io/lldap/lldap
tag: v0.5.0
env:
TZ: ${TIMEZONE}
LLDAP_HTTP_PORT: &port 8080
LLDAP_HTTP_URL: https://lldap.${SECRET_CLUSTER_DOMAIN}
LLDAP_LDAP_PORT: &ldapPort 5389
LLDAP_LDAP_BASE_DN: dc=home,dc=arpa
envFrom: *envFrom
defaultPodOptions:
topologySpreadConstraints:
- maxSkew: 1
topologyKey: kubernetes.io/hostname
whenUnsatisfiable: DoNotSchedule
labelSelector:
matchLabels:
app.kubernetes.io/name: *app
controllers:
main:
replicas: 2
strategy: RollingUpdate
annotations:
reloader.stakater.com/auto: "true"
initContainers:
init-db:
image:
repository: ghcr.io/auricom/postgres-init
tag: 15.4@sha256:83e1abf06be5741bdfb8cb53fc03a1ade6e6b5ec7b92a8aac0c69ba5dc7e51f0
pullPolicy: IfNotPresent
envFrom: &envFrom
- secretRef:
name: lldap-secret
containers:
main:
image:
repository: ghcr.io/lldap/lldap
tag: v0.5.0
env:
TZ: ${TIMEZONE}
LLDAP_HTTP_PORT: &port 8080
LLDAP_HTTP_URL: https://lldap.${SECRET_CLUSTER_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:
main:
ports:
@@ -62,29 +81,19 @@ spec:
enabled: true
annotations:
hajimari.io/icon: mdi:account-multiple
ingressClassName: nginx
className: nginx
hosts:
- host: &host "{{ .Release.Name }}.${SECRET_CLUSTER_DOMAIN}"
paths:
- path: /
pathType: Prefix
service:
name: main
port: http
tls:
- hosts:
- *host
persistence:
data:
enabled: true
type: emptyDir
topologySpreadConstraints:
- maxSkew: 1
topologyKey: kubernetes.io/hostname
whenUnsatisfiable: DoNotSchedule
labelSelector:
matchLabels:
app.kubernetes.io/name: *app
resources:
requests:
cpu: 100m
memory: 100Mi
limits:
memory: 500Mi
globalMounts:
- path: /data