Reconfigure LdapWrapper PV/PVC

This commit is contained in:
2025-05-23 14:44:24 +10:00
parent 32a58b7a17
commit cf6bc7bcce
6 changed files with 42 additions and 7 deletions

View File

@ -0,0 +1,38 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: ldapwrapper
namespace: ldapwrapper
labels:
app: ldapwrapper
spec:
replicas: 1
selector:
matchLabels:
app: ldapwrapper
template:
metadata:
labels:
app: ldapwrapper
spec:
containers:
- name: ldapwrapper
image: ahaen/azuread-ldap-wrapper:latest
env:
- name: GRAPH_IGNORE_MFA_ERRORS
value: 'true'
- name: LDAP_PORT
value: '389'
envFrom:
- secretRef:
name: ldapwrapper
ports:
- containerPort: 389
name: ldap
volumeMounts:
- mountPath: /app/.cache
name: flexvolsmb-ldapwrapper-cache
volumes:
- name: flexvolsmb-ldapwrapper-cache
persistentVolumeClaim:
claimName: flexvolsmb-ldapwrapper-cache