Skip to content

Commit

Permalink
fix(kubernetes): allow upsert load balancer as a pipeline stage (#1581)
Browse files Browse the repository at this point in the history
  • Loading branch information
danielpeach committed Apr 19, 2017
1 parent 7756b6c commit 73d40b6
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
Expand Up @@ -33,6 +33,9 @@ class UpsertKubernetesLoadBalancerAtomicOperationConverter extends AbstractAtomi
}

KubernetesLoadBalancerDescription convertDescription(Map input) {
if (input.loadBalancerName) {
input.name = input.loadBalancerName
}
KubernetesAtomicOperationConverterHelper.convertDescription(input, this, KubernetesLoadBalancerDescription)
}
}
Expand Down
Expand Up @@ -25,6 +25,8 @@ import groovy.transform.Canonical
@Canonical
class KubernetesLoadBalancerDescription extends KubernetesAtomicOperationDescription implements DeployDescription {
String name
// If `loadBalancerName` is given in the description, it will override `name`.
String loadBalancerName
String app
String stack
String detail
Expand Down

0 comments on commit 73d40b6

Please sign in to comment.