From 4368924cc49b0e30986c11883a8802d7c6a2df92 Mon Sep 17 00:00:00 2001 From: Stephen Date: Sun, 11 Feb 2024 23:07:22 -0500 Subject: [PATCH] remove extra spaces in deployment and pod snippets (#390) --- snippets/kubernetes.json | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/snippets/kubernetes.json b/snippets/kubernetes.json index 72c1c129..95588855 100644 --- a/snippets/kubernetes.json +++ b/snippets/kubernetes.json @@ -104,10 +104,10 @@ "apiVersion: apps/v1", "kind: Deployment", "metadata:", - " name: ${1:myjob}", + " name: ${1:myjob}", " namespace: ${2:default}", " labels:", - " app: ${1:myjob}", + " app: ${1:myjob}", "spec:", " selector:", " matchLabels:", @@ -121,15 +121,15 @@ " template:", " metadata:", " labels:", - " app: ${1:myjob}", + " app: ${1:myjob}", " spec:", " # initContainers:", " # Init containers are exactly like regular containers, except:", " # - Init containers always run to completion.", " # - Each init container must complete successfully before the next one starts.", " containers:", - " - name: ${1:myjob}", - " image: ${3:myjob:latest}", + " - name: ${1:myjob}", + " image: ${3:myjob:latest}", " imagePullPolicy: ${4|IfNotPresent,Always,Never|}", " resources:", " requests:", @@ -162,8 +162,8 @@ " name: ${1:myjob}", " key: DB_HOST", " ports:", - " - containerPort: ${5:80}", - " name: ${1:myjob}", + " - containerPort: ${5:80}", + " name: ${1:myjob}", " volumeMounts:", " - name: localtime", " mountPath: /etc/localtime", @@ -329,7 +329,7 @@ " key: DB_HOST", " ports:", " - containerPort: ${4:80}", - " name: http", + " name: http", " volumeMounts:", " - name: localtime", " mountPath: /etc/localtime",