--- # yaml-language-server: $schema=https://raw.githubusercontent.com/fluxcd-community/flux2-schemas/main/helmrelease-helm-v2beta1.json apiVersion: helm.toolkit.fluxcd.io/v2beta1 kind: HelmRelease metadata: name: &app lldap namespace: default spec: interval: 30m chart: spec: chart: app-template version: 1.5.1 sourceRef: kind: HelmRepository name: bjw-s namespace: flux-system maxHistory: 2 install: createNamespace: true remediation: retries: 3 upgrade: cleanupOnFail: true remediation: retries: 3 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 service: main: ports: http: port: *port ldap: enabled: true port: *ldapPort ingress: main: enabled: true annotations: hajimari.io/icon: mdi:account-multiple ingressClassName: nginx hosts: - host: &host "{{ .Release.Name }}.${SECRET_CLUSTER_DOMAIN}" paths: - path: / pathType: Prefix 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