Thursday, June 25, 2020

Kubecrt secret


kubectl get secrets -n [namespace]

kubectl describe secrets/[secret name] -n [namespace]

kubectl get secret [secret name] -n [namespace] -o yaml



apiVersion: v1
data:
  .dockerconfigjson: [base 64 encoded secret data]
kind: Secret
metadata:
  creationTimestamp: [date time]
  name: [secret name]
  namespace: [namespace]
  resourceVersion: [???]
  selfLink: [???}
  uid: [???]
type: [type]


kubectl delete secret [secret name] -n [namespace]

Friday, June 12, 2020

Git File History

  1.  git command

  2. gitk
    gitk filename

  3. source tree
    Right click filename > log selected...