Skip to content

Commit

Permalink
fix(google): Help text on GCE load balancer type selection screen (#7044
Browse files Browse the repository at this point in the history
)

* fix(deck) : FR: Help text on GCE load balancer type selection screen #3537

spinnaker/spinnaker#3537

* Update app/scripts/modules/google/src/help/gce.help.ts

Co-Authored-By: Maggie Neterval <mneterval@google.com>

* fix(google): FR: Help text on GCE load balancer type selection screen

spinnaker/spinnaker#3537
Made the changes to show helptext in each of the Load Balancer Type

* fix(google) : FR: Help text on GCE load balancer type selection screen #3537

spinnaker/spinnaker#3537

Update app/scripts/modules/google/src/help/gce.help.ts

Co-Authored-By: Maggie Neterval <mneterval@google.com>

fix(google): FR: Help text on GCE load balancer type selection screen

spinnaker/spinnaker#3537
Made the changes to show helptext in each of the Load Balancer Type

* Update app/scripts/modules/google/src/help/gce.help.ts

Co-Authored-By: Dave Dorbin <ddorbin@google.com>
  • Loading branch information
2 people authored and maggieneterval committed Jun 7, 2019
1 parent e4325b1 commit 94dc56d
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
11 changes: 11 additions & 0 deletions app/scripts/modules/google/src/help/gce.help.ts
Original file line number Diff line number Diff line change
Expand Up @@ -195,6 +195,17 @@ const helpContents: { [key: string]: string } = {
'<p>(Optional) The name of a Google account configured within Rosco. If left blank, the first configured account will be used.</p>',
'pipeline.config.gce.bake.baseImage':
'<p>(Optional) A GCE image name. For example: ubuntu-1204-precise-v20150910.</p>',
'gce.loadBalancerType.Network': `
<p>Use Network Load Balancing to balance the load on your systems based on incoming IP protocol data, such as address, port, and protocol type.</p>
<p>Network Load Balancing is a regional, non-proxied load balancer. You can use it to load balance UDP traffic, and TCP and SSL traffic on ports that are not supported by the SSL proxy and TCP proxy load balancers.</p>`,
'gce.loadBalancerType.HTTP(S)':
'<p>Google Cloud Platform (GCP) HTTP(S) Load Balancing provides global load balancing for HTTP(S) requests destined for your instances.</p>',
'gce.loadBalancerType.Internal':
'<p>Internal TCP/UDP Load Balancing is a regional load balancer that enables you to run and scale your services behind a private load balancing IP address that is accessible only to your internal virtual machine instances.</p>',
'gce.loadBalancerType.SSL':
'<p>Google Cloud SSL Proxy Load Balancing terminates user SSL (TLS) connections at the load balancing layer, then balances the connections across your instances using the SSL or TCP protocols. This supports both IPv4 and IPv6 addresses for client traffic.</p>',
'gce.loadBalancerType.TCP':
'<p>Google Cloud Platform (GCP) TCP Proxy Load Balancing allows you to use a single IP address for all users around the world. GCP TCP proxy load balancing automatically routes traffic to the instances that are closest to the user.</p>',
};

Object.keys(helpContents).forEach(key => HelpContentsRegistry.register(key, helpContents[key]));
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ <h3>Load Balancer Type Selection</h3>
<span>{{$select.selected}}</span>
</ui-select-match>
<ui-select-choices repeat="choice in ctrl.choices">
<span>{{choice}}</span>
<span>{{choice}}<help-field key="gce.loadBalancerType.{{choice}}"></help-field></span>
</ui-select-choices>
</ui-select>
</div>
Expand Down

0 comments on commit 94dc56d

Please sign in to comment.