Skip to content

Commit 5cd70cb

Browse files
committed
Drop attachTo
1 parent f9ddd75 commit 5cd70cb

File tree

1 file changed

+1
-41
lines changed

1 file changed

+1
-41
lines changed

geps/gep-1762.md

Lines changed: 1 addition & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -66,32 +66,7 @@ With this configuration, an implementation:
6666

6767
### Manual Deployments
6868

69-
When a manual deployment is used, a user must explicitly link their Gateway to existing infrastructure. This is done by specifying `spec.infrastructure.attachTo`.
70-
71-
For the common case that the "existing infrastructure" is a `Service`:
72-
73-
```yaml
74-
apiVersion: gateway.networking.k8s.io/v1beta1
75-
kind: Gateway
76-
metadata:
77-
name: my-gateway
78-
spec:
79-
infrastructure:
80-
attachTo:
81-
kind: Service
82-
name: existing-service
83-
gatewayClassName: example
84-
listeners:
85-
- name: default
86-
port: 80
87-
protocol: HTTP
88-
```
89-
90-
With this configuration, an implementation:
91-
* MUST provide an address in `Status.Addresses` where the Gateway can be reached.
92-
This MUST be derived from the referenced `spec.infrastructure.attachTo`.
93-
* MUST not deploy any resources into the cluster; it is expected that a user will do these actions.
94-
* MUST reject any other `infrastructure` fields (see [GEP-1867](https://gateway-api.sigs.k8s.io/geps/gep-1867/#api)) being configured; these will not be respected.
69+
Managing "Manual Deployments" is currently out of scope for this GEP, but may be added in the future.
9570

9671
### Customizations
9772

@@ -261,21 +236,6 @@ type GatewayInfrastructure struct {
261236
//
262237
// Support: Implementation-specific
263238
Annotations map[string]string `json:"annotations,omitempty"`
264-
// AttachTo is an optional, implementation-specific way to attach a Gateway to some existing infrastructure.
265-
// For in-cluster deployments, implementations MAY allow attaching to an existing `Service` object.
266-
//
267-
// When this field is set, an implementation:
268-
// * MUST continue to provide an address in `Status.Addresses` where the Gateway can be reached. This SHOULD be
269-
// derived from the referenced `spec.infrastructure.attachTo` object, if applicable.
270-
// * If the presence of an `attachTo` means new infrastructure will not be provisioned, an implementation MUST reject
271-
// any other `infrastructure` fields that will not be respected as a result.
272-
// * For in-cluster implementations referencing `Service`
273-
// * MUST not create or modify compute resources (such as `Deployment` or `Service`) into the cluster; it is expected that a user will do these actions.
274-
//
275-
// Support: Implementation-specific
276-
//
277-
// +optional
278-
AttachTo []LocalObjectReference `json:"attachTo,omitempty"`
279239
// ParametersRef is a reference to a resource that contains the configuration
280240
// parameters corresponding to the Gateway. This is optional if the
281241
// controller does not require any additional configuration.

0 commit comments

Comments
 (0)