Skip to content

Commit

Permalink
Apply cloud labels into ELB
Browse files Browse the repository at this point in the history
Fixes #2048
  • Loading branch information
wingyplus committed Aug 10, 2018
1 parent b213de6 commit 34730f2
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions upup/pkg/fi/cloudup/utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,9 @@ func BuildCloud(cluster *kops.Cluster) (fi.Cloud, error) {
}

cloudTags := map[string]string{awsup.TagClusterName: cluster.ObjectMeta.Name}
for k, v := range cluster.Spec.CloudLabels {
cloudTags[k] = v
}

awsCloud, err := awsup.NewAWSCloud(region, cloudTags)
if err != nil {
Expand Down

0 comments on commit 34730f2

Please sign in to comment.