Difference between revisions of "Secret.yml"

From wikieduonline
Jump to navigation Jump to search
Tags: Mobile web edit, Mobile edit
Tags: Mobile web edit, Mobile edit
Line 9: Line 9:
 
   password: MWYyZDFlMmU2N2Rm
 
   password: MWYyZDFlMmU2N2Rm
  
 
+
Create secret:
<code>[[kubectl apply]] -f secret.yml</code>
+
* <code>[[kubectl apply]] -f secret.yml</code>
  
 
== Related commands ==
 
== Related commands ==

Revision as of 12:31, 19 April 2020

apiVersion: v1
kind: Secret
metadata:
  name: mysecret
type: Opaque
data:
  username: YWRtaW4=
  password: MWYyZDFlMmU2N2Rm

Create secret:

Related commands


See also

Advertising: