Giter Site home page Giter Site logo

Comments (1)

ajgon avatar ajgon commented on June 28, 2024

Hey!

Yes I'm aware of that, but to be honest maintaining helm charts is cumbersome, and eventually I gave up on this repo. I moved to something else, and I strongly recommend it, as it's way more versatile and can be used for practically every self-hosted container - https://github.com/bjw-s/helm-charts/tree/main/charts/other/app-template.

For example, for LLDAP, you can use something like this:

app-template:
  image:
    repository: nitnelave/lldap
    pullPolicy: Always
    tag: latest-alpine
  controller:
    type: daemonset
  strategy:
    type: Recreate
  podSecurityContext:
    fsGroup: 1000
  env:
    LLDAP_DATABASE_URL_FILE: /secrets/database-url
    LLDAP_HTTP_URL: http://lldap.example.com
    LLDAP_JWT_SECRET_FILE: /secrets/jwt-secret
    LLDAP_KEY_FILE: /secrets/key-file
    LLDAP_LDAPS_OPTIONS__ENABLED: "false"
    LLDAP_LDAP_BASE_DN: dc=example,dc=com
    LLDAP_LDAP_USER_DN: admin
    LLDAP_LDAP_USER_EMAIL: [email protected]
    LLDAP_LDAP_USER_PASS_FILE: /secrets/user-password
    LLDAP_SMTP_OPTIONS__ENABLE_PASSWORD_RESET: "true"
    LLDAP_SMTP_OPTIONS__FROM: [email protected]
    LLDAP_SMTP_OPTIONS__PASSWORD_FILE: /secrets/smtp-password
    LLDAP_SMTP_OPTIONS__PORT: "587"
    LLDAP_SMTP_OPTIONS__SERVER: my.smtpserver.com
    LLDAP_SMTP_OPTIONS__SMTP_ENCRYPTION: STARTTLS
    LLDAP_SMTP_OPTIONS__USER: [email protected]
    LLDAP_VERBOSE: "true"

    GID: "1000"
    TZ: Europe/Warsaw
    UID: "1000"

  service:
    main:
      ports:
        http:
          enabled: true
          port: 17170
        ldap:
          enabled: true
          port: 389
          targetPort: 3890

  ingress:
    main:
      enabled: true
      ingressClassName: nginx
      hosts:
        - host: lldap.example.com
          paths:
            - path: /
              pathType: Prefix
              service:
                port: 17170

  persistence:
    secrets:
      enabled: true
      type: secret
      name: lldap
      defaultMode: 0440

  probes:
    liveness:
      enabled: true
      custom: true
      spec:
        httpGet:
          path: /
          port: http

and then you can create a secret with corresponding fields:

kind: Secret
apiVersion: v1
metadata:
  name: lldap
  namespace: auth
type: Opaque
stringData:
  database-url: 'postgres://lldap:[email protected]:5432/lldap'
  jwt-secret: abcd
  key-file: efgh
  smtp-password: ijkl
  user-password: mnop

from charts.

Related Issues (1)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.