-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvalues.yaml
149 lines (140 loc) · 3.96 KB
/
values.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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
#
# IMPORTANT NOTE
#
# This chart inherits from the common library chart. You can check the default values/options here:
# https://github.com/johanneskastl/helm-charts/tree/main/charts/common/values.yaml
#
image:
# -- image repository
repository: johanneskastl/apacheds
# -- image tag
# @default -- chart.appVersion
tag:
# -- image pull policy
pullPolicy: IfNotPresent
controller:
type: statefulset
serviceAccount:
create: true
# -- Configures service settings for the chart.
# @default -- See values.yaml
service:
main:
enabled: true
type: LoadBalancer
ports:
http:
enabled: false
ldap-tcp:
enabled: true
port: 389
protocol: TCP
targetPort: 10389
ldap-udp:
enabled: false
port: 389
protocol: UDP
targetPort: 10389
ldaps-tcp:
enabled: true
port: 636
protocol: TCP
targetPort: 10636
ldaps-udp:
enabled: false
port: 636
protocol: UDP
targetPort: 10636
ingress:
# -- Enable and configure ingress settings for the chart under this key.
# @default -- See values.yaml
main:
enabled: false
# -- Use environment variables from the apacheds-configuration secret
# @default -- See values.yaml
envFrom:
- secretRef:
name: apacheds-configuration
# -- Configure persistence settings for the chart under this key.
# @default -- See values.yaml
persistence:
# -- Persistence for the application data
# @default -- See below
data:
# -- You normally want persistence for the LDAP data. Disable at your own peril...
enabled: true
# -- ApacheDS writes the data to /var/apacheds/
mountPath: /var/apacheds/
# -- There should only be one pod writing to the volume
accessMode: ReadWriteOnce
# -- Setting this to readOnly does not make sense
readOnly: false
# -- Do not delete the volume if the helm chart is being uninstalled, to prevent data loss...
retain: true
# -- For LDAPS you should have your JAVA keystore stored in Kubernetes in a secret and mounted into the pod. To do that set the `persistence.tlskeystore.name` key to the name of your existing secret in your values.yaml file.
# @default -- See below
tlskeystore:
# -- Set this to true to enable parsing the keystore file
enabled: false
# -- The keystore files needs to end up in /etc/apacheds/apacheds.jks
mountPath: /etc/apacheds/
type: secret
readOnly: true
# -- Set this to enabled if you want to import files from a secret. Then set `persistence.ldifimport.name` to the name of your Kubernetes secret in your values.yaml file.
# @default -- See below
ldifimport:
# -- Set this to true if you want to enable the import from a LDIF file
enabled: false
# -- You should store the LDIF information in a secret
type: secret
# -- The container image expects the LDIF file to import to be in /etc/apacheds-data/data.ldif
mountPath: /etc/apacheds-data/
probes:
startup:
enabled: true
custom: true
spec:
exec:
command:
- sh
- -c
- test -f /tmp/apacheds_startup_finished
initialDelaySeconds: 210
periodSeconds: 10
timeoutSeconds: 1
failureThreshold: 30
liveness:
enabled: true
spec:
tcpSocket:
port: 10389
initialDelaySeconds: 150
periodSeconds: 15
timeoutSeconds: 1
failureThreshold: 3
readiness:
enabled: true
spec:
tcpSocket:
port: 10389
initialDelaySeconds: 150
periodSeconds: 15
timeoutSeconds: 1
failureThreshold: 3
# -- Set the resource requests / limits for the main container.
# @default -- See below
resources:
# -- resource limits for the pod
# @default -- See below
limits:
# -- cpu limit
cpu: 250m
# -- memory limit
memory: 256Mi
# -- resource requests for the pod
# @default -- See below
requests:
# -- cpu request
cpu: 125m
# -- memory request
memory: 128Mi