mirror of
https://github.com/outbackdingo/homelab-v.git
synced 2026-08-25 14:53:19 +00:00
chore(deps): update terraform restapi to v1.20.0 chore(deps): update cloudflare/cloudflared docker tag to v2024.9.1 chore(deps): update terraform proxmox to v0.64.0 chore(deps): update keycloak docker tag to v22.2.3 chore(deps): update sealed-secrets docker tag to v2.4.6 chore(deps): update ghcr.io/lldap/lldap docker tag to v2024-09-11 chore(deps): update media containers chore(deps): update terraform talos to v0.6.0-beta.0 chore(deps): update helm release argo-cd to v7.5.2 chore(deps): update helm release crossplane to v1.17.0
52 lines
1.5 KiB
YAML
52 lines
1.5 KiB
YAML
apiVersion: batch/v1
|
|
kind: Job
|
|
metadata:
|
|
name: lldap-bootstrap
|
|
namespace: lldap
|
|
annotations:
|
|
argocd.argoproj.io/hook: PostSync
|
|
argocd.argoproj.io/hook-delete-policy: BeforeHookCreation
|
|
spec:
|
|
template:
|
|
spec:
|
|
restartPolicy: OnFailure
|
|
containers:
|
|
- name: lldap-bootstrap
|
|
image: ghcr.io/lldap/lldap:2024-09-11-debian # renovate: docker=ghcr.io/lldap/lldap versioning=loose
|
|
command: [ /app/bootstrap.sh ]
|
|
envFrom:
|
|
- configMapRef:
|
|
name: common-env
|
|
- configMapRef:
|
|
name: bootstrap-env
|
|
env:
|
|
- name: LLDAP_ADMIN_PASSWORD
|
|
valueFrom:
|
|
secretKeyRef:
|
|
name: lldap-credentials
|
|
key: LLDAP_LDAP_USER_PASS
|
|
volumeMounts:
|
|
- name: user-configs
|
|
mountPath: /user-configs
|
|
readOnly: true
|
|
- name: group-configs
|
|
mountPath: /group-configs
|
|
readOnly: true
|
|
volumes:
|
|
- name: user-configs
|
|
projected:
|
|
sources:
|
|
- secret:
|
|
name: lldap-config
|
|
items:
|
|
- key: users.json
|
|
path: user-configs.json
|
|
- name: group-configs
|
|
projected:
|
|
sources:
|
|
- secret:
|
|
name: lldap-config
|
|
items:
|
|
- key: groups.json
|
|
path: group-configs.json
|