Difference between revisions of "Kubectl get secret"
Jump to navigation
Jump to search
Line 4: | Line 4: | ||
[[kubectl get]] secret --namespace default grafana -o jsonpath="{.data.admin-password}" | [[base64]] --decode ; echo | [[kubectl get]] secret --namespace default grafana -o jsonpath="{.data.admin-password}" | [[base64]] --decode ; echo | ||
Tjp67Ib3c2PxvGoD6SH1pjTtnlq6X4XvrXo4xxx | Tjp67Ib3c2PxvGoD6SH1pjTtnlq6X4XvrXo4xxx | ||
+ | |||
+ | |||
+ | kubectl get secret --namespace default | ||
+ | NAME TYPE DATA AGE | ||
+ | default-token-kb4hm kubernetes.io/service-account-token 3 3h13m | ||
+ | grafana [[Opaque]] 3 167m | ||
+ | grafana-test-token-j4jgj kubernetes.io/service-account-token 3 167m | ||
+ | grafana-token-fsxtt kubernetes.io/service-account-token 3 167m | ||
+ | sh.helm.release.v1.grafana.v1 helm.sh/release.v1 1 167m | ||
== Related terms == | == Related terms == |
Revision as of 19:37, 28 November 2021
This article is a Draft. Help us to complete it.
kubectl get secret --namespace default grafana -o jsonpath="{.data.admin-password}" | base64 --decode ; echo Tjp67Ib3c2PxvGoD6SH1pjTtnlq6X4XvrXo4xxx
kubectl get secret --namespace default NAME TYPE DATA AGE default-token-kb4hm kubernetes.io/service-account-token 3 3h13m grafana Opaque 3 167m grafana-test-token-j4jgj kubernetes.io/service-account-token 3 167m grafana-token-fsxtt kubernetes.io/service-account-token 3 167m sh.helm.release.v1.grafana.v1 helm.sh/release.v1 1 167m
Related terms
See also
kubectl
: [cp | config | create
|delete
|edit | explain |
apply
|exec
|get
|set
|drain | uncordon | rolling-update
|rollout
|logs
|run
|auth
|label | annotate
|version
|top
|diff
|debug
|replace
|describe
|port-forward | proxy
|scale
|rollout
|api-resources
| expose deployment | expose | patch | attach | get endpoints | ~/.kube/config | kubectl logs --help | kubectl --help, kubectl-convert, kubectl autoscale, kubectl.kubernetes.io
Advertising: