Difference between revisions of "Secret.yml"
Jump to navigation
Jump to search
Tags: Mobile web edit, Mobile edit |
m (Welcome moved page Secret.yaml to Secret.yml) Tags: Mobile web edit, Mobile edit |
(No difference)
|
Revision as of 11:55, 19 April 2020
echo -n 'admin' | base64 YWRtaW4= echo -n '1f2d1e2e67df' | base64 MWYyZDFlMmU2N2Rm Write a Secret that looks like this:
apiVersion: v1 kind: Secret metadata: name: mysecret type: Opaque data: username: YWRtaW4= password: MWYyZDFlMmU2N2Rm
kubectl apply -f secret.yml
See also
Advertising: