mirror of
https://github.com/kubernetes-sigs/kustomize.git
synced 2026-06-12 17:34:21 +00:00
Add ldap example to demo data
This commit is contained in:
13
demos/data/ldap/overlays/production/deployment.yaml
Normal file
13
demos/data/ldap/overlays/production/deployment.yaml
Normal file
@@ -0,0 +1,13 @@
|
||||
apiVersion: apps/v1beta2
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: ldap
|
||||
spec:
|
||||
replicas: 6
|
||||
template:
|
||||
spec:
|
||||
volumes:
|
||||
- name: ldap-data
|
||||
emptyDir: null
|
||||
gcePersistentDisk:
|
||||
pdName: ldap-persistent-storage
|
||||
5
demos/data/ldap/overlays/production/kustomization.yaml
Normal file
5
demos/data/ldap/overlays/production/kustomization.yaml
Normal file
@@ -0,0 +1,5 @@
|
||||
bases:
|
||||
- ../../base
|
||||
patches:
|
||||
- deployment.yaml
|
||||
namePrefix: production-
|
||||
2
demos/data/ldap/overlays/staging/config.env
Normal file
2
demos/data/ldap/overlays/staging/config.env
Normal file
@@ -0,0 +1,2 @@
|
||||
DB_USERNAME=admin
|
||||
DB_PASSWORD=somepw
|
||||
7
demos/data/ldap/overlays/staging/deployment.yaml
Normal file
7
demos/data/ldap/overlays/staging/deployment.yaml
Normal file
@@ -0,0 +1,7 @@
|
||||
|
||||
apiVersion: apps/v1beta2
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: ldap
|
||||
spec:
|
||||
replicas: 2
|
||||
9
demos/data/ldap/overlays/staging/kustomization.yaml
Normal file
9
demos/data/ldap/overlays/staging/kustomization.yaml
Normal file
@@ -0,0 +1,9 @@
|
||||
bases:
|
||||
- ../../base
|
||||
patches:
|
||||
- deployment.yaml
|
||||
nameprefix: staging-
|
||||
configMapGenerator:
|
||||
- name: env-config
|
||||
files:
|
||||
- config.env
|
||||
Reference in New Issue
Block a user