nineskeletor/misc/k8s/kustomization/base/resources/phpldapadmin/phpldapadmin-deployment.yaml

35 lines
793 B
YAML

kind: Deployment
apiVersion: apps/v1
metadata:
labels:
io.kompose.service: phpldapadmin
name: phpldapadmin
spec:
selector:
matchLabels:
io.kompose.service: phpldapadmin
replicas: 1
template:
metadata:
labels:
io.kompose.service: phpldapadmin
spec:
containers:
- name: phpldapadmin
image: osixia/phpldapadmin:latest
imagePullPolicy: "Always"
env:
- name: PHPLDAPADMIN_HTTPS
value: "false"
- name: PHPLDAPADMIN_LDAP_HOSTS
value: $(OPENLDAP_SERVICE_NAME)
- name: PHPLDAPADMIN_LDAP_CLIENT_TLS
value: "false"
ports:
- containerPort: 80
resources: {}
restartPolicy: Always
serviceAccountName: ""
volumes: null
status: {}