c87a30450a
1. Confirm the document content is similar as en version.
2. Merge the zh release-1.14 version into 1.15 version
3. add the 1.14 all sample into 1.15 for template work. The build looks fine.
- docs
- concepts
- architecture
31 lines
622 B
YAML
31 lines
622 B
YAML
kind: ConfigMap
|
|
apiVersion: v1
|
|
metadata:
|
|
name: example-config
|
|
data:
|
|
example.property.1: hello
|
|
example.property.2: world
|
|
|
|
---
|
|
|
|
apiVersion: v1
|
|
kind: Pod
|
|
metadata:
|
|
name: configmap-pod
|
|
spec:
|
|
containers:
|
|
- name: configmap-redis
|
|
image: redis:3.0-nanoserver
|
|
env:
|
|
- name: EXAMPLE_PROPERTY_1
|
|
valueFrom:
|
|
configMapKeyRef:
|
|
name: example-config
|
|
key: example.property.1
|
|
- name: EXAMPLE_PROPERTY_2
|
|
valueFrom:
|
|
configMapKeyRef:
|
|
name: example-config
|
|
key: example.property.2
|
|
nodeSelector:
|
|
beta.kubernetes.io/os: windows |