Skip to content

Commit d12f957

Browse files
authored
Update gloo apis v1.6.33 (#160)
* Update gloo apis v1.6.33 * gofmt
1 parent 2621087 commit d12f957

File tree

8 files changed

+587
-373
lines changed

8 files changed

+587
-373
lines changed

api/gloo/gloo/v1/settings.proto

+14
Original file line numberDiff line numberDiff line change
@@ -488,6 +488,16 @@ message GlooOptions {
488488
google.protobuf.BoolValue enable_rest_eds = 12;
489489
}
490490

491+
492+
// Default configuration to use for VirtualServices, when not provided by a specific virtual service
493+
// When these properties are defined on a specific VirtualService, this configuration will be ignored
494+
message VirtualServiceOptions {
495+
// Default one_way_tls value to use for all virtual services where one_way_tls config has not been specified.
496+
// If the SSL config has the ca.crt (root CA) provided, Gloo uses it to perform mTLS by default.
497+
// Set oneWayTls to true to disable mTLS in favor of server-only TLS (one-way TLS), even if Gloo has the root CA.
498+
google.protobuf.BoolValue one_way_tls = 1;
499+
}
500+
491501
// Settings specific to the Gateway controller
492502
message GatewayOptions {
493503
// Address of the `gloo` config validation server. Defaults to `gloo:9988`.
@@ -558,6 +568,10 @@ message GatewayOptions {
558568
// If set, compresses proxy space. This can help make the Proxy CRD smaller to fit in etcd.
559569
// This is an advanced option. Use with care.
560570
bool compressed_proxy_spec = 6;
571+
572+
// Default configuration to use for VirtualServices, when not provided by a specific virtual service
573+
// When these properties are defined on a specific VirtualService, this configuration will be ignored
574+
VirtualServiceOptions virtual_service_options = 7;
561575
}
562576

563577

api/gloo/gloo/v1/ssl.proto

+4-2
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@ syntax = "proto3";
22
package gloo.solo.io;
33
option go_package = "github.com/solo-io/solo-apis/pkg/api/gloo.solo.io/v1";
44

5+
import "google/protobuf/wrappers.proto";
6+
57
import "extproto/ext.proto";
68
option (extproto.equal_all) = true;
79
option (extproto.hash_all) = true;
@@ -34,8 +36,8 @@ message SslConfig {
3436

3537
// If the SSL config has the ca.crt (root CA) provided, Gloo uses it to perform mTLS by default.
3638
// Set oneWayTls to true to disable mTLS in favor of server-only TLS (one-way TLS), even if Gloo has the root CA.
37-
// Defaults to false.
38-
bool one_way_tls = 8;
39+
// If unset, defaults to false.
40+
google.protobuf.BoolValue one_way_tls = 8;
3941
}
4042

4143
// SSLFiles reference paths to certificates which can be read by the proxy off of its local filesystem

pkg/api/gloo.solo.io/v1/settings.pb.equal.go

+44
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)