https://github.com/lldap/lldap logo
Kubernetes: invalid value for ldap-port
# troubleshooting
s
Hi, I'm trying to deploy lldap on my K3s cluster, but when the pod is starting it crashes with the below error:
Copy code
> Setup permissions..
> Starting lldap..

error: invalid value 'tcp://10.43.194.65:3890' for '--ldap-port <LDAP_PORT>': invalid digit found in string

For more information, try '--help'.
I've tried setting
LDAP_PORT
to
3890
but the same error remains. The deployment manifest:
Copy code
apiVersion: apps/v1
kind: Deployment
metadata:
  labels:
    app.kubernetes.io/name: lldap
  name: lldap
  namespace: auth
spec:
  replicas: 1
  selector:
    matchLabels:
      app.kubernetes.io/name: lldap
  strategy:
    type: Recreate
  template:
    metadata:
      labels:
        app.kubernetes.io/name: lldap
    spec:
      containers:
      - env:
        - name: GID
          value: "1001"
        - name: UID
          value: "1001"
        - name: TZ
          value: Europe/Berlin
        envFrom:
        - secretRef:
            name: lldap-credentials
        image: lldap/lldap:stable
        name: lldap
        ports:
        - containerPort: 3890
          name: ldap
        - containerPort: 17170
          name: web
        resources: {}
        volumeMounts:
        - mountPath: /data
          name: data
      restartPolicy: Always
      volumes:
      - name: data
        persistentVolumeClaim:
          claimName: lldap-data
n