mirror of
				https://github.com/optim-enterprises-bv/kubernetes.git
				synced 2025-11-03 19:58:17 +00:00 
			
		
		
		
	Make secrets example README link to referred files
This commit is contained in:
		@@ -12,7 +12,7 @@ started](../../docs/getting-started-guides) for installation instructions for yo
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
A secret contains a set of named byte arrays.
 | 
					A secret contains a set of named byte arrays.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
Use the `examples/secrets/secret.yaml` file to create a secret:
 | 
					Use the [`examples/secrets/secret.yaml`](secret.yaml) file to create a secret:
 | 
				
			||||||
 | 
					
 | 
				
			||||||
```shell
 | 
					```shell
 | 
				
			||||||
$ kubectl create -f examples/secrets/secret.yaml
 | 
					$ kubectl create -f examples/secrets/secret.yaml
 | 
				
			||||||
@@ -31,7 +31,7 @@ test-secret   Opaque    2
 | 
				
			|||||||
Pods consume secrets in volumes.  Now that you have created a secret, you can create a pod that
 | 
					Pods consume secrets in volumes.  Now that you have created a secret, you can create a pod that
 | 
				
			||||||
consumes it.
 | 
					consumes it.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
Use the `examples/secrets/secret-pod.yaml` file to create a Pod that consumes the secret.
 | 
					Use the [`examples/secrets/secret-pod.yaml`](secret-pod.yaml) file to create a Pod that consumes the secret.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
```shell
 | 
					```shell
 | 
				
			||||||
$ kubectl create -f examples/secrets/secret-pod.yaml
 | 
					$ kubectl create -f examples/secrets/secret-pod.yaml
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user