-
Notifications
You must be signed in to change notification settings - Fork 363
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: when service type = clusterIP set the address to service.cluster…
…IP (#2582) when service type = clusterIP set the address to service.clusterIP (#2166) Signed-off-by: ShyunnY <1147212064@qq.com>
- Loading branch information
Showing
4 changed files
with
63 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
32 changes: 32 additions & 0 deletions
32
internal/infrastructure/kubernetes/proxy/testdata/services/clusterIP-custom-addresses.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
apiVersion: v1 | ||
kind: Service | ||
metadata: | ||
labels: | ||
app.kubernetes.io/name: envoy | ||
app.kubernetes.io/component: proxy | ||
app.kubernetes.io/managed-by: envoy-gateway | ||
gateway.envoyproxy.io/owning-gateway-name: default | ||
gateway.envoyproxy.io/owning-gateway-namespace: default | ||
name: envoy-default-37a8eec1 | ||
namespace: envoy-gateway-system | ||
spec: | ||
clusterIP: 10.102.168.100 | ||
clusterIPs: | ||
- 10.102.168.100 | ||
ports: | ||
- name: envoy-EnvoyHTTPPort-d76a15e2 | ||
port: 0 | ||
protocol: TCP | ||
targetPort: 8080 | ||
- name: envoy-EnvoyHTTPSPort-6658f727 | ||
port: 0 | ||
protocol: TCP | ||
targetPort: 8443 | ||
selector: | ||
app.kubernetes.io/name: envoy | ||
app.kubernetes.io/component: proxy | ||
app.kubernetes.io/managed-by: envoy-gateway | ||
gateway.envoyproxy.io/owning-gateway-name: default | ||
gateway.envoyproxy.io/owning-gateway-namespace: default | ||
sessionAffinity: None | ||
type: ClusterIP |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters