-
Notifications
You must be signed in to change notification settings - Fork 122
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Trying to add a custom attribute to the inetOrgPerson schema via helm chart #225
Comments
Is it possible to do it post deployment ? Thanks |
helm upgrade -n csdm -i csdm-ldap helm-openldap/openldap-stack-ha --version 4.3.1 --values ./deploy/services/config/values-ldap.yaml below is all that is in the values.yaml file. There are 3 attempts/scenarios comments swapped # with / for formatting purposes When I try to add a new ldap user once this schema is in place, I get the following error: attempt #1 / inetorgperson.schema -- InetOrgPerson (RFC2798) / carLicense / departmentNumber / displayName / employeeNumber / employeeType / jpegPhoto / preferredLanguage / userSMIMECertificate / userPKCS12 /for TMT / inetOrgPerson attempt /2: customSchemaFiles: attempt /3: customSchemaFiles: |
I'm trying to add a custom attribute to the inetOrgPerson schema startup of the k8s pods. I've tried adding to the values.yaml without any success.
I want to use the default containers from openLDAP-stack-ha. I do not want to have to change the image. Is there a way to override the existing inetorgperson.schema or add to this schema? I cannot find any documentation on the correct way to do this.
Since this is a "structuralObjectClass" it appears I cannot use the customSchemaFiles.
customSchemaFiles:
custom.ldif: |-
attributetype ( 2.16.840.1.113730.3.1.5
NAME 'test-123-tt'
DESC 'testing 123 tt'
SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 )
Essentially I want to add 1 custom attribute into the inetorgperson schema on the creation of the k8s pods. Env variables and all that stuff I've read, but detailed steps to implement this would be great. I can't be the only person that wants to do this :)
Any help would be greatly appreciated.
The text was updated successfully, but these errors were encountered: