>crt.cfg cat <<-EOF
RANDFILE = NV::HOME/.rnd
[ req ]
default_bits = 2048
default_keyfile = ca.key
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require Logger | |
limit = 100 | |
Stream.unfold(limit, fn | |
nil -> | |
nil | |
n -> | |
Logger.info("n: #{n}") | |
skip = n - limit | |
Logger.info("skip: #{skip}") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
function fingerprints() { | |
local file="${1:-$HOME/.ssh/authorized_keys}" | |
echo $file | |
while read l; do | |
[[ -n $l && ${l###} = $l ]] && ssh-keygen -l -f /dev/stdin <<<$l | |
done < "${file}" | |
} |
I hereby claim:
- I am eshleebien on github.
- I am eshromero (https://keybase.io/eshromero) on keybase.
- I have a public key ASCgeW6ZUzT5N-C9toQy02xUfygHaNKgCFnXUjizVgoKoQo
To claim this, I am signing this object:
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apiVersion: apps/v1 | |
kind: Deployment | |
metadata: | |
name: notify-forwarder | |
spec: | |
replicas: 1 | |
selector: | |
matchLabels: | |
app: notify-forwarder | |
template: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apiVersion: v1 | |
kind: Service | |
metadata: | |
namespace: default | |
name: notify-forwarder | |
spec: | |
selector: | |
app: notify-forwarder | |
ports: | |
- protocol: UDP |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apiVersion: configuration.konghq.com/v1 | |
kind: KongPlugin | |
metadata: | |
name: http-jwt | |
labels: | |
global: "true" | |
plugin: jwt | |
--- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apiVersion: configuration.konghq.com/v1 | |
kind: KongPlugin | |
metadata: | |
name: read-jwt-token | |
labels: | |
global: "true" | |
disabled: false | |
config: | |
functions: | |
- return function() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apiVersion: configuration.konghq.com/v1 | |
kind: KongIngress | |
metadata: | |
name: configuration-demo | |
upstream: | |
hash_on: none | |
hash_fallback: none | |
healthchecks: | |
active: | |
concurrency: 10 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apiVersion: configuration.konghq.com/v1 | |
kind: KongIngress | |
metadata: | |
name: strip-path | |
route: | |
strip_path: true | |
protocols: | |
- http | |
- https |
NewerOlder