Skip to content

Instantly share code, notes, and snippets.

View gregkeys's full-sized avatar

Greg Keys gregkeys

View GitHub Profile
@gregkeys
gregkeys / keybase.md
Created August 24, 2020 20:15
keybase proof

Keybase proof

I hereby claim:

  • I am gregkeys on github.
  • I am gregkeys (https://keybase.io/gregkeys) on keybase.
  • I have a public key ASBH1nltK5FyyxSG99E5_4HHSk-dSYutVsKsAQ_mQdbjPQo

To claim this, I am signing this object:

@gregkeys
gregkeys / access_handler.go
Last active June 10, 2020 16:29
resgate notification handler
package main
import (
"encoding/json"
"github.com/jirenius/go-res"
log "github.com/sirupsen/logrus"
)
//Introspection is the response from the introspection endpoint
# default k8s version: v1.8.9-rancher1-1
# default network plugin: flannel
nodes:
- address: 1.1.1.1
user: rancher
role: [controlplane,etcd,worker]
ssh_key_path: ~/.ssh/id_rsa.pem
- address: 1.1.1.2
user: rancher
role: [controlplane,etcd,worker]