如何使用升降索添加另一个部署配置?

How to add another deployment configuration with halyard?

root@fe7443a7ebbb:/workdir# hal --version
0.43.0-180317140630

我 运行 使用升降索的第一个命令是:

hal config provider kubernetes enable

这创建了默认配置:

# ~/.hal/config
currentDeployment: default
deploymentConfigurations:
- name: default
...

我想知道如何添加另一个部署配置。

https://www.spinnaker.io/reference/halyard/commands/#hal-config

--set-current-deployment: If supplied, set the current active deployment to the supplied value, creating it if need-be.

示例:

hal config --set-current-deployment docker-desktop

这将创建两个部署配置:

# ~/.hal/config
currentDeployment: docker-desktop
deploymentConfigurations:
- name: default
...
- name: docker-desktop
  version: ''
  providers: