Nrejve

json6

Jan 5th, 2021
522
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.  {
  2.  
  3.  cat > kube-scheduler-csr.json << EOF
  4.  {
  5.    "CN": "system:kube-scheduler",
  6.    "key": {
  7.      "algo": "rsa",
  8.      "size": 2048
  9.    },
  10.    "names": [
  11.      {
  12.        "C": "US",
  13.        "L": "Portland",
  14.        "O": "system:kube-scheduler",
  15.        "OU": "Kubernetes The Hard Way",
  16.        "ST": "Oregon"
  17.      }
  18.    ]
  19.  }
  20.  EOF
  21.  
  22.  cfssl gencert \
  23.    -ca=ca.pem \
  24.    -ca-key=ca-key.pem \
  25.    -config=ca-config.json \
  26.    -profile=kubernetes \
  27.    kube-scheduler-csr.json | cfssljson -bare kube-scheduler
  28.  
  29.  }
RAW Paste Data

Adblocker detected! Please consider disabling it...

We've detected AdBlock Plus or some other adblocking software preventing Pastebin.com from fully loading.

We don't have any obnoxious sound, or popup ads, we actively block these annoying types of ads!

Please add Pastebin.com to your ad blocker whitelist or disable your adblocking software.

×