Kubernetes.K3s.installLog/services/LdapWrapper/deployment-ldapwrapper.yaml

39 lines
861 B
YAML

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