Skip to content

Commit ad27bd7

Browse files
committed
More name changes
1 parent aa8dcbd commit ad27bd7

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

docs/proposals/control-plane-config.md

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -37,22 +37,23 @@ Proposed configuration CRD example:
3737

3838
```yaml
3939
apiVersion: gateway.nginx.org/v1alpha1
40-
kind: NGINXControlConfig
40+
kind: NginxGateway
4141
metadata:
42-
name: nkg-config
42+
name: nginx-gateway-config
4343
namespace: nginx-gateway
4444
spec:
45-
log:
45+
logging:
4646
level: info
4747
...
4848
status:
49+
conditions:
4950
...
5051
```
5152

5253
- The CRD would be Namespace-scoped, living in the same Namespace as the controller that it applies to.
5354
- CRD is initialized and created when NKG is deployed.
54-
- NKG references the name of this CRD via CLI arg, and only watches this CRD. If the resource doesn't exist,
55-
then an error is logged and event created, and default values are used.
55+
- NKG references the name of this CRD via CLI arg (`--nginx-gateway-config-name`), and only watches this CRD.
56+
If the resource doesn't exist, then an error is logged and event created, and default values are used.
5657
- If user deletes resource, NKG logs an error and creates an event. NKG will revert to default values.
5758

5859
This resource won't be referenced in the `parametersRef` of the GatewayClass, reserving that option for a data

0 commit comments

Comments
 (0)