-
Notifications
You must be signed in to change notification settings - Fork 0
/
cronjob.yaml
42 lines (42 loc) · 1.01 KB
/
cronjob.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
apiVersion: v1
data:
GLUU_CONFIG_ADAPTER: kubernetes
GLUU_CONFIG_KUBERNETES_NAMESPACE: gluu
GLUU_CONTAINER_METADATA: kubernetes
GLUU_LDAP_URL: opendj:1636
GLUU_PERSISTENCE_LDAP_MAPPING: ""
GLUU_PERSISTENCE_TYPE: ldap
GLUU_SECRET_ADAPTER: kubernetes
GLUU_SECRET_KUBERNETES_NAMESPACE: gluu
kind: ConfigMap
metadata:
labels:
app: ldap-cache-cleaner
name: ldap-cache-cleaner-cm-9c9754kb7h
---
apiVersion: batch/v1beta1
kind: CronJob
metadata:
labels:
app: ldap-cache-cleaner
name: ldap-cache-cleaner
spec:
concurrencyPolicy: Forbid
jobTemplate:
metadata:
labels:
app: ldap-cache-cleaner
spec:
template:
metadata:
labels:
app: ldap-cache-cleaner
spec:
containers:
- envFrom:
- configMapRef:
name: ldap-cache-cleaner-cm-9c9754kb7h
image: abudayyehwork/ldap-cache-cleaner:4.1.1_dev
name: ldap-cache-cleaner
restartPolicy: Never
schedule: '*/1 * * * *'