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
119
119
120
120
` ` ` yaml
121
121
apiVersion: v1
122
+ data:
123
+ config.yaml: YXBpVXJsOiAiaHR0cHM6Ly9teS5hcGkuY29tL2FwaS92MSIKdXNlcm5hbWU6IHt7dXNlcm5hbWV9fQpwYXNzd29yZDoge3twYXNzd29yZH19
122
124
kind: Secret
123
125
metadata:
124
126
creationTimestamp: 2018-11-15T20:40:59Z
@@ -127,8 +129,6 @@ metadata:
127
129
resourceVersion: "7225"
128
130
uid: c280ad2e-e916-11e8-98f2-025000000001
129
131
type: Opaque
130
- data:
131
- config.yaml: YXBpVXJsOiAiaHR0cHM6Ly9teS5hcGkuY29tL2FwaS92MSIKdXNlcm5hbWU6IHt7dXNlcm5hbWV9fQpwYXNzd29yZDoge3twYXNzd29yZH19
132
132
` ` `
133
133
134
134
` kubectl get` と`kubectl describe`コマンドはデフォルトではSecretの内容を表示しません。
@@ -154,6 +154,8 @@ stringData:
154
154
155
155
` ` ` yaml
156
156
apiVersion: v1
157
+ data:
158
+ username: YWRtaW5pc3RyYXRvcg==
157
159
kind: Secret
158
160
metadata:
159
161
creationTimestamp: 2018-11-15T20:46:46Z
@@ -162,8 +164,6 @@ metadata:
162
164
resourceVersion: "7579"
163
165
uid: 91460ecb-e917-11e8-98f2-025000000001
164
166
type: Opaque
165
- data:
166
- username: YWRtaW5pc3RyYXRvcg==
167
167
` ` `
168
168
169
169
` YWRtaW5pc3RyYXRvcg==` をデコードすると`administrator`となります。
You can’t perform that action at this time.
0 commit comments