Docker / Podman
Section titled “Docker / Podman”If using Docker or Podman, the script can be invoked as follows:
docker exec -it <neogage-container-name> config-ldap.sh --help
Valid configuration options:
--ldap-host - Configure AD/LDAP host --ldap-tls - Enable AD/LDAP TLS Valid values: true | false --ldap-base-dn - Configure AD/LDAP Base DN --ldap-user - Configure AD/LDAP username --ldap-pass - Configure AD/LDAP password --ldap-group-dn - Configure AD/LDAP Group DNpodman exec -it <neogage-container-name> config-ldap.sh --help
Valid configuration options:
--ldap-host - Configure AD/LDAP host --ldap-tls - Enable AD/LDAP TLS Valid values: true | false --ldap-base-dn - Configure AD/LDAP Base DN --ldap-user - Configure AD/LDAP username --ldap-pass - Configure AD/LDAP password --ldap-group-dn - Configure AD/LDAP Group DNFor example, to configure the AD/LDAP Host, would be done as follows:
docker exec -it <neogage-container-name> config-ldap.sh --ldap-host ad01.example.compodman exec -it <neogage-container-name> config-ldap.sh --ldap-host ad01.example.comthe remaining options are configured in a similar method. If the script is ran without a parameter or by providing an incorrect parameter it will display the help screen as above.
OpenShift
Section titled “OpenShift”If using OpenShift, the script can be invoked as follows:
oc exec <container> -- config-ldap.sh --help
Valid configuration options:
--ldap-host - Configure AD/LDAP host --ldap-tls - Enable AD/LDAP TLS Valid values: true | false --ldap-base-dn - Configure AD/LDAP Base DN --ldap-user - Configure AD/LDAP username --ldap-pass - Configure AD/LDAP password --ldap-group-dn - Configure AD/LDAP Group DNFor example, to configure the AD/LDAP Host, would be done as follows:
oc exec <container> -- config-ldap.sh --ldap-host ad01.example.comthe remaining options are configured in a similar method. If the script is ran without a parameter or by providing an incorrect parameter it will display the help screen as above.
Alternatively, the OpenShift web interface can be used to use the web terminal for the NEOGAGE application pod, or by using oc rsh as shown below:
oc rsh <container>config-smtp.sh --smtp-host mail.example.com