@spotinst/spinnaker-deck
Version:
Spinnaker-Deck service, forked with support to Spotinst
32 lines (31 loc) • 920 B
HTML
<stage-config-field label="Account">
<account-select-field
component="vm.component"
field="credentials"
accounts="vm.accounts"
provider="vm.provider"
on-change="vm.accountUpdated()"
required
>
</account-select-field>
</stage-config-field>
<stage-config-field label="Namespaces">
<p ng-if="!vm.component.credentials" class="form-control-static">(Select an Account)</p>
<checklist
ng-if="vm.component.credentials"
items="vm.namespaces"
model="vm.component.namespaces"
inline="true"
on-change="vm.namespaceChanged()"
include-select-all-button="true"
>
</checklist>
</stage-config-field>
<stage-config-field label="Cluster" help-key="pipeline.config.findAmi.cluster">
<cluster-selector
clusters="vm.clusterList"
model="vm.component[vm.clusterField]"
toggled="vm.clusterSelectInputToggled(isToggled)"
>
</cluster-selector>
</stage-config-field>