Skip to content

Instantly share code, notes, and snippets.

View fsdaniel's full-sized avatar

Daniel Koopmans fsdaniel

View GitHub Profile
@fsdaniel
fsdaniel / keybase.md
Created April 4, 2021 11:37
keybase.md

Keybase proof

I hereby claim:

To claim this, I am signing this object:

@fsdaniel
fsdaniel / kubeconfig-from-ssl.py
Created January 20, 2020 12:30 — forked from monester/kubeconfig-from-ssl.py
Rancher recover access to kubernetes cluster from master nodes
#!/usr/bin/env python3
import os
import sys
import json
import base64
import tempfile
from subprocess import check_output, DEVNULL, run
@fsdaniel
fsdaniel / check-certificate-state-rancherv22.md
Created November 3, 2019 23:47 — forked from superseb/check-certificate-state-rancherv22.md
Check certificate state on Rancher v2.2 clusters

Check certificate state on Rancher v2.2 clusters

Steps to verify certificate state for custom clusters in v2.2

Check certificates locally on nodes

Run script below to output certificate checksums for certificates present on the node.

#!/bin/sh

Keybase proof

I hereby claim:

  • I am fsdaniel on github.
  • I am danielkoopmans (https://keybase.io/danielkoopmans) on keybase.
  • I have a public key whose fingerprint is 6C2D AB97 0E0C 820F C33E A18D 6A3B 378D FD05 F107

To claim this, I am signing this object: