Skip to content

Commit

Permalink
For testing only: switching backend to MDB, using ALma 9 - based image.
Browse files Browse the repository at this point in the history
  • Loading branch information
andreicenja committed Mar 15, 2024
1 parent 9796bba commit f6b7f9e
Show file tree
Hide file tree
Showing 7 changed files with 218 additions and 192 deletions.
Binary file added docs/eionetldap-1.2.0-alpha1.tgz
Binary file not shown.
380 changes: 197 additions & 183 deletions docs/index.yaml

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions sources/eionetldap/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ keywords:
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 1.1.3
version: 1.2.0-alpha1

# Version for the apache container
appVersion: "v3.3"
appVersion: "v4.1"
3 changes: 3 additions & 0 deletions sources/eionetldap/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ There is a backup cronjob built in, which can be enabled with backup.enable=true
## Releases

<dl>
<dt>Version 1.2.0-alpha.1</dt>
<dd>Unsuitable for production environments.</dd>

<dt>Version 1.1.3</dt>
<dd>Added externalTrafficPolicy option.</dd>

Expand Down
2 changes: 1 addition & 1 deletion sources/eionetldap/templates/backup-cronjob.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ spec:
overlay chain
- name: SLAPD_DATABASE
value: |
database bdb
database mdb
suffix "o=EIONET,l=Europe"
directory /var/lib/ldap
Expand Down
2 changes: 1 addition & 1 deletion sources/eionetldap/templates/conf-configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,6 @@ data:
include /etc/openldap/schema/inetorgperson.schema
include /etc/openldap/schema/eionet.schema
include /etc/openldap/schema/nis.schema
include /etc/openldap/schema/ppolicy.schema
#include /etc/openldap/schema/ppolicy.schema
cacerts.pem: |
{{- .Files.Get "cacerts.pem" | nindent 4 }}
19 changes: 14 additions & 5 deletions sources/eionetldap/templates/slapd-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -59,9 +59,9 @@ spec:
key: slapd.inc
- name: SLAPD_DATABASE
value: |
database bdb
cachesize 50000
idlcachesize 150000
database mdb
maxsize 10737418240
maxreaders 256
suffix "o=EIONET,l=Europe"
rootdn "{{ .Values.rootDN }}"
rootpw "{{ .Values.rootPW }}"
Expand Down Expand Up @@ -108,8 +108,8 @@ spec:
credentials="{{ .Values.syncPW }}"
updateref {{ .Values.chainURL }}
{{- end }}
#add a checkpoint every 128k and/or 5 minutes
checkpoint 128 15
#add a checkpoint every 128k and/or 5 minutes, requires dbnosync to be set
#checkpoint 128 15
loglevel {{ .Values.debugLevel }}
- name: SLAPD_DEBUG_LEVEL
Expand Down Expand Up @@ -162,6 +162,15 @@ spec:
# - o=EIONET,l=Europe
# - objectClass=organization

startupProbe:
failureThreshold: 20
initialDelaySeconds: 10
periodSeconds: 20
successThreshold: 1
tcpSocket:
port: 389
timeoutSeconds: 1

{{- with .Values.nodeSelector }}
nodeSelector:
{{- toYaml . | nindent 8 }}
Expand Down

0 comments on commit f6b7f9e

Please sign in to comment.