From cb6109876acfb4e477c8ce09cce4b72886b6070f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=96=9F=E9=85=8C=20=E9=B5=AC=E5=85=84?= Date: Fri, 1 Nov 2024 05:15:51 +0800 Subject: [PATCH] Need linebreaks for multiple spec --- concourse/prepare-deployment-resources.yaml | 2 +- k8s/configmap.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/concourse/prepare-deployment-resources.yaml b/concourse/prepare-deployment-resources.yaml index 49b63fa..14781ff 100644 --- a/concourse/prepare-deployment-resources.yaml +++ b/concourse/prepare-deployment-resources.yaml @@ -19,5 +19,5 @@ run: - | VERSION=$( cat commit.sha ) cat k8s/configmap.yaml >> deploy-confs/prod.yaml - echo "---" + echo -e "\n---\n" sed "s/IMAGE_TAG/$VERSION/g" k8s/deployments.yaml >> deploy-confs/prod.yaml diff --git a/k8s/configmap.yaml b/k8s/configmap.yaml index bed48fc..29ef51c 100644 --- a/k8s/configmap.yaml +++ b/k8s/configmap.yaml @@ -1,5 +1,5 @@ -kind: ConfigMap apiVersion: v1 +kind: ConfigMap metadata: name: astrojs-nginx-ctmpls namespace: default