Secrets in K8s - pracip96/K8s-Learning GitHub Wiki

SECRETS

Secrets are of three types:

  1. docker-registry
  2. generic
  3. tls

kubectl create secret generic --help

kubectl create secret generic my-secret --from-literal=key1=supersecret --from-literal=key2=topsecret