File tree Expand file tree Collapse file tree 1 file changed +23
-0
lines changed 
content/includes/nginx-one/how-to Expand file tree Collapse file tree 1 file changed +23
-0
lines changed Original file line number Diff line number Diff line change 1+ --- 
2+ nd-docs : " DOCS-000" 
3+ files :
4+ - content/nginx-one/k8s/add-ngf-manifests.md 
5+ - content/nginx-one/k8s/add-ngf-helm.md 
6+ --- 
7+ 
8+ To create a Kubernetes secret, you'll need:
9+ 
10+ -  The Data Plane Key
11+ -  To set up the secret in the same namespace as NGINX Gateway Fabric
12+ -  Use the name ` dataplane.key `  as shown
13+ -  A namespace. The default NGINX Gateway Fabric namespace is ` nginx-gateway ` 
14+   -  You can create it with the following command: ` kubectl create namespace nginx-gateway ` 
15+ 
16+ Once you have that information, run the following command:
17+ 
18+ 
19+    ``` shell 
20+    kubectl create secret generic dataplane-key \
21+      --from-literal=dataplane.key=< Your Dataplane Key>  \
22+      -n < namespace> 
23+    ``` 
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments