Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/master' into chore/tls_origination
Browse files Browse the repository at this point in the history
  • Loading branch information
Nikolay Nikolaev committed Nov 4, 2020
2 parents a6665b6 + 571c4d0 commit 5c27e51
Show file tree
Hide file tree
Showing 146 changed files with 3,005 additions and 977 deletions.
2 changes: 2 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@ reusable:
filters:
branches:
only: master, /^release-.*/
tags:
ignore: /.*/ # we don't want to run master workflow on commits with tag because use_local_kuma_images has to be false for all the jobs to pass

# filters for the kuma-commit workflow
commit_workflow_filters: &commit_workflow_filters
Expand Down
127 changes: 73 additions & 54 deletions api/mesh/v1alpha1/dataplane.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions api/mesh/v1alpha1/dataplane.pb.validate.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 7 additions & 1 deletion api/mesh/v1alpha1/dataplane.proto
Original file line number Diff line number Diff line change
Expand Up @@ -30,13 +30,19 @@ message Dataplane {
string mesh = 3;
}
repeated AvailableService availableServices = 1;

// PublicAddress defines IP or DNS name on which Ingress is accessible to
// other Kuma clusters.
string publicAddress = 2;
// PublicPort defines port on which Ingress is accessible to other Kuma
// clusters.
uint32 publicPort = 3;
}

// Ingress if not nil, dataplane will be work in the Ingress mode
Ingress ingress = 6;

// Public IP on which the dataplane is accessible in the network.
// Host names and DNS are not allowed.
string address = 5;

// Inbound describes a service implemented by the dataplane.
Expand Down
7 changes: 7 additions & 0 deletions api/mesh/v1alpha1/dataplane_helpers.go
Original file line number Diff line number Diff line change
Expand Up @@ -338,6 +338,13 @@ func (d *Dataplane) IsIngress() bool {
return d.Networking.Ingress != nil
}

func (d *Dataplane) HasPublicAddress() bool {
if d.Networking.Ingress == nil {
return false
}
return d.Networking.Ingress.PublicAddress != "" && d.Networking.Ingress.PublicPort != 0
}

func (d *Dataplane) HasAvailableServices() bool {
if !d.IsIngress() {
return false
Expand Down
67 changes: 7 additions & 60 deletions api/system/v1alpha1/zone.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

77 changes: 0 additions & 77 deletions api/system/v1alpha1/zone.pb.validate.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

11 changes: 1 addition & 10 deletions api/system/v1alpha1/zone.proto
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,4 @@ option go_package = "v1alpha1";

// Zone defines the Zone configuration used at the Global Control Plane
// within a distributed deployment
message Zone {

// Configure the Zone's Ingress
message Ingress {
// The public load balancer address of the Zone Ingress
string address = 1;
}

Ingress ingress = 2;
}
message Zone {}
Loading

0 comments on commit 5c27e51

Please sign in to comment.