Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: kubernetes/api
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v0.26.6
Choose a base ref
...
head repository: kubernetes/api
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v0.26.7
Choose a head ref
  • 4 commits
  • 3 files changed
  • 2 contributors

Commits on Feb 22, 2023

  1. don't process unsupported loadbalancers with mixed protocols

    Mixed protocols were not supported in GCE loadbalancers for old
    versions, so we should fail to avoid confusions on users.
    
    Ref: k8s.io/cloud-provider-gcp#475
    Change-Id: I5fbd5230afbc51d595cacc96b3fa86473a3eb131
    
    Kubernetes-commit: 6300196c8d7fb6586f45f9f8d7ca6d5b5d17e5ff
    aojea authored and k8s-publishing-bot committed Feb 22, 2023
    Copy the full SHA
    b1aa34f View commit details

Commits on Feb 28, 2023

  1. make MixedProtocolNotSupported public

    Change-Id: Ib9f5ea8e36c831cd0e9649aa998c96f61d56122d
    
    Kubernetes-commit: 32ff3190f236cd2c95824e96f4a359c3d5d18632
    aojea authored and k8s-publishing-bot committed Feb 28, 2023
    Copy the full SHA
    f33f796 View commit details

Commits on Jul 12, 2023

  1. Merge pull request #118252 from aojea/automated-cherry-pick-of-#11596…

    …6-upstream-release-1.26
    
    Automated cherry pick of #115966: make MixedProtocolNotSupported public
    
    Kubernetes-commit: e48d6e1a94d76bba42a24c0577e37b6c81764524
    k8s-publishing-bot committed Jul 12, 2023
    Copy the full SHA
    223fc11 View commit details

Commits on Jul 19, 2023

  1. Copy the full SHA
    145ce6c View commit details
Showing with 14 additions and 4 deletions.
  1. +10 −0 core/v1/types.go
  2. +2 −2 go.mod
  3. +2 −2 go.sum
10 changes: 10 additions & 0 deletions core/v1/types.go
Original file line number Diff line number Diff line change
@@ -4405,6 +4405,9 @@ const (
// LoadBalancerPortsError represents the condition of the requested ports
// on the cloud load balancer instance.
LoadBalancerPortsError = "LoadBalancerPortsError"
// LoadBalancerPortsErrorReason reason in ServiceStatus condition LoadBalancerPortsError
// means the LoadBalancer was not able to be configured correctly.
LoadBalancerPortsErrorReason = "LoadBalancerMixedProtocolNotSupported"
)

// ServiceStatus represents the current status of a service.
@@ -6761,6 +6764,13 @@ const (
PortForwardRequestIDHeader = "requestID"
)

const (
// MixedProtocolNotSupported error in PortStatus means that the cloud provider
// can't publish the port on the load balancer because mixed values of protocols
// on the same LoadBalancer type of Service are not supported by the cloud provider.
MixedProtocolNotSupported = "MixedProtocolNotSupported"
)

// PortStatus represents the error condition of a service port

type PortStatus struct {
4 changes: 2 additions & 2 deletions go.mod
Original file line number Diff line number Diff line change
@@ -7,7 +7,7 @@ go 1.19
require (
github.com/gogo/protobuf v1.3.2
github.com/stretchr/testify v1.8.0
k8s.io/apimachinery v0.0.0-20230612171130-c23a82e9e261
k8s.io/apimachinery v0.26.7
)

require (
@@ -34,4 +34,4 @@ require (
sigs.k8s.io/yaml v1.3.0 // indirect
)

replace k8s.io/apimachinery => k8s.io/apimachinery v0.0.0-20230612171130-c23a82e9e261
replace k8s.io/apimachinery => k8s.io/apimachinery v0.26.7
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
@@ -81,8 +81,8 @@ gopkg.in/yaml.v2 v2.4.0/go.mod h1:RDklbk79AGWmwhnvt/jBztapEOGDOx6ZbXqjP6csGnQ=
gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=
gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA=
gopkg.in/yaml.v3 v3.0.1/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=
k8s.io/apimachinery v0.0.0-20230612171130-c23a82e9e261 h1:e1ALI+iTI9xlG8DENWPhx4uZhrL5O5fU507otSjo9nU=
k8s.io/apimachinery v0.0.0-20230612171130-c23a82e9e261/go.mod h1:qYzLkrQ9lhrZRh0jNKo2cfvf/R1/kQONnSiyB7NUJU0=
k8s.io/apimachinery v0.26.7 h1:590jSBwaSHCAFCqltaEogY/zybFlhGsnLteLpuF2wig=
k8s.io/apimachinery v0.26.7/go.mod h1:qYzLkrQ9lhrZRh0jNKo2cfvf/R1/kQONnSiyB7NUJU0=
k8s.io/klog/v2 v2.80.1 h1:atnLQ121W371wYYFawwYx1aEY2eUfs4l3J72wtgAwV4=
k8s.io/klog/v2 v2.80.1/go.mod h1:y1WjHnz7Dj687irZUWR/WLkLc5N1YHtjLdmgWjndZn0=
k8s.io/utils v0.0.0-20221107191617-1a15be271d1d h1:0Smp/HP1OH4Rvhe+4B8nWGERtlqAGSftbSbbmm45oFs=