Skip to content

Commit 870a018

Browse files
committed
Add context for control/data secrets
1 parent 7271cc9 commit 870a018

File tree

1 file changed

+2
-3
lines changed
  • docs/proposals/control-data-plane-split

1 file changed

+2
-3
lines changed

docs/proposals/control-data-plane-split/README.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -140,8 +140,7 @@ This process must be documented so users are aware that their Secrets are being
140140
### Encryption
141141

142142
The agent and control plane communication channel will be encrypted. We will store the server certificate, key pair, and
143-
CA certificate in Kubernetes Secrets. The user will install the Secrets in the `nginx-gateway` namespace under the
144-
following names:
143+
CA certificate in Kubernetes Secrets. The server Secret will live in the `nginx-gateway` namespace, and the agent Secret will live in the same namespace where the agent is deployed. The Secrets need to exist before the control plane and data planes are deployed.
145144

146145
- `nginx-gateway-cert`: This Secret will contain the TLS certificate and private key that the control plane will use to
147146
serve gRPC traffic.
@@ -152,7 +151,7 @@ names and mount path configurable via flags. For production, we will direct the
152151
For development and testing purposes, we will provide a self-signed default certificate. In order to be secure by
153152
default, NGF should generate the default certificates and keypair during installation using a Kubernetes Job.
154153

155-
Using cert-manager may also be an easy option to reduce the burden of installing and rotating Secrets.
154+
Using cert-manager may also be an easy option to reduce the burden of installing and rotating Secrets. A user would need to install this before NGF, and ensure they create agent Secrets before deploying their Gateway resource. We could also tie the NGF control plane directly into cert-manager so that our control plane could create the agent Secrets for the user when they create a Gateway resource, further reducing the burden on the user.
156155

157156
#### Certificate Rotation
158157

0 commit comments

Comments
 (0)