[PR #718] [MERGED] Add bootstrap script #914

Closed
opened 2026-02-27 09:10:14 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/lldap/lldap/pull/718
Author: @Sad-Soul-Eater
Created: 10/29/2023
Status: Merged
Merged: 11/2/2023
Merged by: @nitnelave

Base: mainHead: bootstrap-script


📝 Commits (8)

📊 Changes

4 files changed (+723 additions, -0 deletions)

View changed files

📝 README.md (+4 -0)
example_configs/bootstrap/bootstrap-example-log-1.jpeg (+0 -0)
example_configs/bootstrap/bootstrap.md (+254 -0)
example_configs/bootstrap/bootstrap.sh (+465 -0)

📄 Description

Since I run lldap in my home-lab Kubernetes cluster, I made this script to manage my lldap instance in a git-ops manner.

The overall process is next:

  • The script running in the Kubernetes job managed by Argo CD
  • Whenever new changes are committed to config files, Argo CD relaunches the job.
  • The script then creates/updates or deletes users, and groups, and adds/removes users from corresponding groups.

The script can be used for maintaining lldap in the Kubernetes cluster, in the way I mentioned before. Or it also can be used for initial bootstrapping of the lldap instance in other ways, by manually running from the terminal for example.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/lldap/lldap/pull/718 **Author:** [@Sad-Soul-Eater](https://github.com/Sad-Soul-Eater) **Created:** 10/29/2023 **Status:** ✅ Merged **Merged:** 11/2/2023 **Merged by:** [@nitnelave](https://github.com/nitnelave) **Base:** `main` ← **Head:** `bootstrap-script` --- ### 📝 Commits (8) - [`74c8a00`](https://github.com/lldap/lldap/commit/74c8a006bb0d6c96c15be1e7ae93b4de1ea62a67) Add bootstrap.sh - [`b9ad7b4`](https://github.com/lldap/lldap/commit/b9ad7b4052e76b01868bea25210caa18e49b2bf1) Better describe script abilities - [`5d91ec9`](https://github.com/lldap/lldap/commit/5d91ec9e84cde7e36098e2d4595bdde999331f03) Add more usage examples - [`5b75bad`](https://github.com/lldap/lldap/commit/5b75bad21c5907998956e3812eda606faf21379b) Made the suggested changes - [`9207805`](https://github.com/lldap/lldap/commit/920780533f905892b353bfd0a43b0cab32b9ba81) Add config json validation - [`71945d7`](https://github.com/lldap/lldap/commit/71945d7d44c51ffe2afdf1289c8b441efcac9707) Add note about bootstrap.sh to main README.md - [`35c64e8`](https://github.com/lldap/lldap/commit/35c64e86b15fb8cde22b9f13844c87e967bddfb4) Fix spelling - [`47d4a50`](https://github.com/lldap/lldap/commit/47d4a50b6abbddd4583220b52c029434ce1a267c) Add missing dot ### 📊 Changes **4 files changed** (+723 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `README.md` (+4 -0) ➕ `example_configs/bootstrap/bootstrap-example-log-1.jpeg` (+0 -0) ➕ `example_configs/bootstrap/bootstrap.md` (+254 -0) ➕ `example_configs/bootstrap/bootstrap.sh` (+465 -0) </details> ### 📄 Description Since I run lldap in my home-lab Kubernetes cluster, I made this script to manage my lldap instance in a git-ops manner. The overall process is next: - The script running in the Kubernetes job managed by Argo CD - Whenever new changes are committed to config files, Argo CD relaunches the job. - The script then creates/updates or deletes users, and groups, and adds/removes users from corresponding groups. The script can be used for maintaining lldap in the Kubernetes cluster, in the way I mentioned before. Or it also can be used for initial bootstrapping of the lldap instance in other ways, by manually running from the terminal for example. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-27 09:10:14 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/lldap-lldap#914
No description provided.