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 25: Line 25:
 
* <code>[[kubectl create secret]]</code>
 
* <code>[[kubectl create secret]]</code>
 
* <code>[[kubectl apply -f ./secret.yaml]]</code>
 
* <code>[[kubectl apply -f ./secret.yaml]]</code>
* [[Helm]]
+
* [[Helm]] [[redis]] [[redis/templates/secret.yaml]]
  
 
== See also ==
 
== See also ==

Latest revision as of 07:21, 10 March 2023

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

Create secret:

Related commands[edit]

See also[edit]

Advertising: