Skip to content

Instantly share code, notes, and snippets.

View thojkooi's full-sized avatar

Thomas Kooi thojkooi

View GitHub Profile
@thojkooi
thojkooi / deployment.yaml
Created September 16, 2019 15:50
Kubernetes Echo deployment
apiVersion: v1
kind: Namespace
metadata:
name: echoserver
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: echoserver
namespace: echoserver
@thojkooi
thojkooi / README.md
Last active November 4, 2019 14:17
Set up helm with TLS for Weave flux

Installing Weave Flux helm-operator and Helm with TLS enabled

Installing Helm / Tiller

Generate certificates by calling the script generate-tiller-certs.sh. This will provide a CA, server certs for tiller and client certs for helm / weave flux.

Next deploy Helm with TLS and RBAC enabled;

kubectl apply -f helm-rbac.yaml
@thojkooi
thojkooi / generate-etcd-certs.sh
Created June 23, 2018 15:48
Generate etcd certificates for kubeadm
#!/bin/bash
# First generate the config file
cat >ca-config.json <<EOF
{
"signing": {
"default": {
"expiry": "43800h"
},
"profiles": {
@thojkooi
thojkooi / keybase.md
Created October 6, 2017 07:07
keybase.md

Keybase proof

I hereby claim:

  • I am thojkooi on github.
  • I am thojkooi (https://keybase.io/thojkooi) on keybase.
  • I have a public key ASBo--Wc5dJLpb5SmLl7bBvIQs6-zWiu0aMq9AN7GqnPiAo

To claim this, I am signing this object: