From b2fbc0d8dd5ce5c8ff11cf3fae4e15800da8bf78 Mon Sep 17 00:00:00 2001 From: Michele Sorcinelli Date: Sat, 3 May 2025 00:19:29 +0100 Subject: [PATCH] fix(kubernetes): invalid pod config - replace non-valid docker image reference - put metadata.annotations under the right layer of indentation --- snippets/kubernetes.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/snippets/kubernetes.json b/snippets/kubernetes.json index c6083b7b..e8e4c58e 100644 --- a/snippets/kubernetes.json +++ b/snippets/kubernetes.json @@ -310,14 +310,14 @@ "metadata:", " name: \"${1:myapp}\"", " namespace: ${2:default}", + " annotations:", + " kubectl.kubernetes.io/default-container: ${1:myapp}", " labels:", - " annotations:", - " kubectl.kubernetes.io/default-container: ${1:myapp}", " app: \"${1:myapp}\"", "spec:", " containers:", " - name: ${1:myapp}", - " image: \"${3:debian-slim:latest}\"", + " image: \"${3:debian:stable-slim}\"", " resources:", " limits:", " cpu: 200m",