You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
586 B
29 lines
586 B
apiVersion: apps/v1
|
|
kind: Deployment
|
|
metadata:
|
|
name: curl-deployment
|
|
spec:
|
|
selector:
|
|
matchLabels:
|
|
app: curlpod
|
|
replicas: 1
|
|
template:
|
|
metadata:
|
|
labels:
|
|
app: curlpod
|
|
spec:
|
|
volumes:
|
|
- name: secret-volume
|
|
secret:
|
|
secretName: nginxsecret
|
|
containers:
|
|
- name: curlpod
|
|
command:
|
|
- sh
|
|
- -c
|
|
- while true; do sleep 1; done
|
|
image: radial/busyboxplus:curl
|
|
volumeMounts:
|
|
- mountPath: /etc/nginx/ssl
|
|
name: secret-volume
|