19 lines
310 B
YAML
19 lines
310 B
YAML
|
apiVersion: settings.k8s.io/v1alpha1
|
||
|
kind: PodPreset
|
||
|
metadata:
|
||
|
name: allow-database
|
||
|
spec:
|
||
|
selector:
|
||
|
matchLabels:
|
||
|
role: frontend
|
||
|
env:
|
||
|
- name: DB_PORT
|
||
|
value: "6379"
|
||
|
volumeMounts:
|
||
|
- mountPath: /cache
|
||
|
name: other-volume
|
||
|
volumes:
|
||
|
- name: other-volume
|
||
|
emptyDir: {}
|
||
|
|