Compare commits
3 Commits
e3f0f89d93
...
2496b12a7c
| Author | SHA1 | Date | |
|---|---|---|---|
|
2496b12a7c
|
|||
|
3c387ca803
|
|||
|
dba119951b
|
@@ -18,12 +18,17 @@ spec:
|
|||||||
kubectl.kubernetes.io/default-container: lldap-controller
|
kubectl.kubernetes.io/default-container: lldap-controller
|
||||||
spec:
|
spec:
|
||||||
serviceAccountName: lldap-controller
|
serviceAccountName: lldap-controller
|
||||||
securityContext: {}
|
securityContext:
|
||||||
|
runAsNonRoot: true
|
||||||
|
runAsUser: 1000
|
||||||
|
runAsGroup: 1000
|
||||||
|
fsGroup: 1000
|
||||||
|
seccompProfile:
|
||||||
|
type: RuntimeDefault
|
||||||
containers:
|
containers:
|
||||||
- name: lldap-controller
|
- name: lldap-controller
|
||||||
image: '{{ index .images "lldap-controller" }}'
|
image: '{{ index .images "lldap-controller" }}'
|
||||||
imagePullPolicy: IfNotPresent
|
imagePullPolicy: IfNotPresent
|
||||||
securityContext: {}
|
|
||||||
resources:
|
resources:
|
||||||
limits:
|
limits:
|
||||||
cpu: 200m
|
cpu: 200m
|
||||||
@@ -43,9 +48,15 @@ spec:
|
|||||||
- name: LLDAP_USERNAME
|
- name: LLDAP_USERNAME
|
||||||
value: admin
|
value: admin
|
||||||
- name: LLDAP_PASSWORD_FILE
|
- name: LLDAP_PASSWORD_FILE
|
||||||
value: /secrets/credentials/lldap-ldap-user-pass
|
value: /secrets/credentials/admin-pass
|
||||||
- name: LLDAP_BIND_DN
|
- name: LLDAP_BIND_DN
|
||||||
value: uid={username},ou=people,dc=huizinga,dc=dev
|
value: uid={username},ou=people,dc=huizinga,dc=dev
|
||||||
|
securityContext:
|
||||||
|
allowPrivilegeEscalation: false
|
||||||
|
runAsNonRoot: true
|
||||||
|
capabilities:
|
||||||
|
drop:
|
||||||
|
- ALL
|
||||||
volumes:
|
volumes:
|
||||||
- name: credentials
|
- name: credentials
|
||||||
secret:
|
secret:
|
||||||
|
|||||||
Reference in New Issue
Block a user