Skip to content

Instantly share code, notes, and snippets.

View Dirc's full-sized avatar
🚴‍♂️
Cycling

Dirc Dirc

🚴‍♂️
Cycling
View GitHub Profile

Manage Kube Config

You need to delete contexts, clusters, users seperately.

kubectl config current-context

# Context
version: '3'
services:
test:
image: busybox:latest
networks:
- jenkins-eric_default
networks:
jenkins-eric_default:

Signing data

Basics:

  • Signing is encryption with private key.
  • Verification is the decryption with public key.

Signing and verifying is done with assymmetric cryptography, hence expensive. So signing the hash is much cheaper then signing the whole data.

Signing data:

  • calculate hash from data