From f09c6a56954c386ee80ce1d744271850f46192a9 Mon Sep 17 00:00:00 2001 From: Sabbir Ahmed Shameem <145862004+SAShameem@users.noreply.github.com> Date: Mon, 6 May 2024 22:04:39 +0600 Subject: [PATCH] Create curlpod.yaml --- .../examples/service/networking/curlpod.yaml | 28 +++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 content/bn/examples/service/networking/curlpod.yaml diff --git a/content/bn/examples/service/networking/curlpod.yaml b/content/bn/examples/service/networking/curlpod.yaml new file mode 100644 index 0000000000..c15133641f --- /dev/null +++ b/content/bn/examples/service/networking/curlpod.yaml @@ -0,0 +1,28 @@ +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