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
628 B
YAML
31 lines
628 B
YAML
apiVersion: settings.k8s.io/v1alpha1
|
|
kind: PodPreset
|
|
metadata:
|
|
name: allow-database
|
|
spec:
|
|
selector:
|
|
matchLabels:
|
|
role: frontend
|
|
env:
|
|
- name: DB_PORT
|
|
value: "6379"
|
|
- name: duplicate_key
|
|
value: FROM_ENV
|
|
- name: expansion
|
|
value: $(REPLACE_ME)
|
|
envFrom:
|
|
- configMapRef:
|
|
name: etcd-env-config
|
|
volumeMounts:
|
|
- mountPath: /cache
|
|
name: cache-volume
|
|
- mountPath: /etc/app/config.json
|
|
readOnly: true
|
|
name: secret-volume
|
|
volumes:
|
|
- name: cache-volume
|
|
emptyDir: {}
|
|
- name: secret-volume
|
|
secret:
|
|
secretName: config-details
|