@spinnaker/google 2025.2.3 → 2025.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -3207,7 +3207,7 @@ window.angular.module("ng").run(["$templateCache", function(templateCache) {
3207
3207
  class="form-control input-sm"
3208
3208
  ng-change="$ctrl.onProtocolChange()"
3209
3209
  ng-model="$ctrl.healthCheckType"
3210
- ng-options="protocol as protocol for protocol in ['HTTP', 'HTTPS', 'TCP', 'SSL']"
3210
+ ng-options="protocol as protocol for protocol in ['HTTP', 'HTTPS', 'TCP', 'SSL', 'HTTP2', 'GRPC']"
3211
3211
  ></select>
3212
3212
  </div>
3213
3213
  <div class="col-md-2">
@@ -3264,7 +3264,11 @@ window.angular.module("ng").run(["$templateCache", function(templateCache) {
3264
3264
 
3265
3265
  <div
3266
3266
  class="form-group"
3267
- ng-if="$ctrl.healthCheck.healthCheckType === 'HTTP' || $ctrl.healthCheck.healthCheckType === 'HTTPS'"
3267
+ ng-if="
3268
+ $ctrl.healthCheck.healthCheckType === 'HTTP' ||
3269
+ $ctrl.healthCheck.healthCheckType === 'HTTPS' ||
3270
+ $ctrl.healthCheck.healthCheckType === 'HTTP2'
3271
+ "
3268
3272
  >
3269
3273
  <div class="col-md-4 sm-label-right">Request Path</div>
3270
3274
  <div class="col-md-4">
@@ -3286,6 +3290,13 @@ window.angular.module("ng").run(["$templateCache", function(templateCache) {
3286
3290
  </div>
3287
3291
  </div>
3288
3292
 
3293
+ <div class="form-group" ng-if="$ctrl.healthCheck.healthCheckType === 'GRPC'">
3294
+ <div class="col-md-4 sm-label-right">Service Name</div>
3295
+ <div class="col-md-4">
3296
+ <input class="form-control input-sm" ng-model="$ctrl.healthCheck.grpcServiceName" />
3297
+ </div>
3298
+ </div>
3299
+
3289
3300
  <div class="form-group">
3290
3301
  <div class="col-md-4 sm-label-right">
3291
3302
  <b>Timeout</b><help-field key="loadBalancer.advancedSettings.healthTimeout"></help-field>
@@ -4288,7 +4299,7 @@ window.angular.module("ng").run(["$templateCache", function(templateCache) {
4288
4299
  <select
4289
4300
  class="form-control input-sm"
4290
4301
  ng-change="$ctrl.onProtocolChange()"
4291
- ng-options="protocol as protocol for protocol in ['HTTP', 'HTTPS', 'TCP', 'SSL']"
4302
+ ng-options="protocol as protocol for protocol in ['HTTP', 'HTTPS', 'TCP', 'SSL', 'HTTP2', 'GRPC']"
4292
4303
  ng-model="$ctrl.healthCheck.healthCheckType"
4293
4304
  ></select>
4294
4305
  </div>
@@ -4341,7 +4352,11 @@ window.angular.module("ng").run(["$templateCache", function(templateCache) {
4341
4352
 
4342
4353
  <div
4343
4354
  class="form-group"
4344
- ng-if="$ctrl.healthCheck.healthCheckType === 'HTTP' || $ctrl.healthCheck.healthCheckType === 'HTTPS'"
4355
+ ng-if="
4356
+ $ctrl.healthCheck.healthCheckType === 'HTTP' ||
4357
+ $ctrl.healthCheck.healthCheckType === 'HTTPS' ||
4358
+ $ctrl.healthCheck.healthCheckType === 'HTTP2'
4359
+ "
4345
4360
  >
4346
4361
  <div class="col-md-4 sm-label-right">Request Path</div>
4347
4362
  <div class="col-md-4">
@@ -4363,6 +4378,17 @@ window.angular.module("ng").run(["$templateCache", function(templateCache) {
4363
4378
  </div>
4364
4379
  </div>
4365
4380
 
4381
+ <div class="form-group" ng-if="$ctrl.healthCheck.healthCheckType === 'GRPC'">
4382
+ <div class="col-md-4 sm-label-right">Service Name</div>
4383
+ <div class="col-md-4">
4384
+ <input
4385
+ class="form-control input-sm"
4386
+ ng-model="$ctrl.healthCheck.grpcServiceName"
4387
+ placeholder="com.example.HealthService"
4388
+ />
4389
+ </div>
4390
+ </div>
4391
+
4366
4392
  <div class="form-group">
4367
4393
  <div class="col-md-4 sm-label-right">
4368
4394
  <b>Timeout</b><help-field key="loadBalancer.advancedSettings.healthTimeout"></help-field>
@@ -12841,7 +12867,7 @@ class GceLoadBalancingPolicySelectorController {
12841
12867
  const selected = this.command.loadBalancers;
12842
12868
  const hasSsl = selected.find((loadBalancer) => get(index[loadBalancer], "loadBalancerType") === "SSL");
12843
12869
  const hasTcp = selected.find((loadBalancer) => get(index[loadBalancer], "loadBalancerType") === "TCP");
12844
- const hasHttp = selected.find((loadBalancer) => get(index[loadBalancer], "loadBalancerType") === "HTTP");
12870
+ const hasHttp = selected.find((loadBalancer) => get(index[loadBalancer], "loadBalancerType") === "HTTP") || selected.find((loadBalancer) => get(index[loadBalancer], "loadBalancerType") === "HTTP2") || selected.find((loadBalancer) => get(index[loadBalancer], "loadBalancerType") === "GRPC");
12845
12871
  if ((hasSsl || hasTcp) && hasHttp) {
12846
12872
  balancingModes = ["UTILIZATION"];
12847
12873
  } else if (hasSsl || hasTcp) {
@@ -12880,6 +12906,8 @@ class GceLoadBalancingPolicySelectorController {
12880
12906
  switch (get(index[loadBalancer], "loadBalancerType")) {
12881
12907
  case "SSL":
12882
12908
  case "TCP":
12909
+ case "GRPC":
12910
+ case "HTTP2":
12883
12911
  case "HTTP": {
12884
12912
  const lbBackendServices = get(index[loadBalancer], "backendServices");
12885
12913
  const filteredBackendServices = globalBackendServices.filter((service) => lbBackendServices.includes(service.name));