From bcd450f06e3eae65922a8503ccf41a3fdde59b45 Mon Sep 17 00:00:00 2001 From: Oliver Nocon <33484802+OliverNocon@users.noreply.github.com> Date: Wed, 29 Jul 2020 11:21:32 +0200 Subject: [PATCH] kubernetesDeploy: add step configuration alias (#1857) This is used for backward compatibility Co-authored-by: Christopher Fenner <26137398+CCFenner@users.noreply.github.com> --- cmd/kubernetesDeploy_generated.go | 2 +- resources/metadata/kubernetesdeploy.yaml | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/cmd/kubernetesDeploy_generated.go b/cmd/kubernetesDeploy_generated.go index 0ef373577..cbe2b35b8 100644 --- a/cmd/kubernetesDeploy_generated.go +++ b/cmd/kubernetesDeploy_generated.go @@ -143,7 +143,7 @@ func kubernetesDeployMetadata() config.StepData { var theMetaData = config.StepData{ Metadata: config.StepMetadata{ Name: "kubernetesDeploy", - Aliases: []config.Alias{}, + Aliases: []config.Alias{{Name: "deployToKubernetes", Deprecated: true}}, }, Spec: config.StepSpec{ Inputs: config.StepInputs{ diff --git a/resources/metadata/kubernetesdeploy.yaml b/resources/metadata/kubernetesdeploy.yaml index 7fefb23f8..fc17b69d7 100644 --- a/resources/metadata/kubernetesdeploy.yaml +++ b/resources/metadata/kubernetesdeploy.yaml @@ -1,5 +1,8 @@ metadata: name: kubernetesDeploy + aliases: + - name: deployToKubernetes + deprecated: true description: Deployment to Kubernetes test or production namespace within the specified Kubernetes cluster. longDescription: |- Deployment to Kubernetes test or production namespace within the specified Kubernetes cluster.