File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
content/ja/docs/tasks/configmap-secret Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -119,6 +119,8 @@ kubectl get secret mysecret -o yaml
119119
120120` ` ` yaml
121121apiVersion: v1
122+ data:
123+ config.yaml: YXBpVXJsOiAiaHR0cHM6Ly9teS5hcGkuY29tL2FwaS92MSIKdXNlcm5hbWU6IHt7dXNlcm5hbWV9fQpwYXNzd29yZDoge3twYXNzd29yZH19
122124kind: Secret
123125metadata:
124126 creationTimestamp: 2018-11-15T20:40:59Z
@@ -127,8 +129,6 @@ metadata:
127129 resourceVersion: "7225"
128130 uid: c280ad2e-e916-11e8-98f2-025000000001
129131type: Opaque
130- data:
131- config.yaml: YXBpVXJsOiAiaHR0cHM6Ly9teS5hcGkuY29tL2FwaS92MSIKdXNlcm5hbWU6IHt7dXNlcm5hbWV9fQpwYXNzd29yZDoge3twYXNzd29yZH19
132132` ` `
133133
134134` kubectl get` と`kubectl describe`コマンドはデフォルトではSecretの内容を表示しません。
@@ -154,6 +154,8 @@ stringData:
154154
155155` ` ` yaml
156156apiVersion: v1
157+ data:
158+ username: YWRtaW5pc3RyYXRvcg==
157159kind: Secret
158160metadata:
159161 creationTimestamp: 2018-11-15T20:46:46Z
@@ -162,8 +164,6 @@ metadata:
162164 resourceVersion: "7579"
163165 uid: 91460ecb-e917-11e8-98f2-025000000001
164166type: Opaque
165- data:
166- username: YWRtaW5pc3RyYXRvcg==
167167` ` `
168168
169169` YWRtaW5pc3RyYXRvcg==` をデコードすると`administrator`となります。
You can’t perform that action at this time.
0 commit comments