Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am krancour on github.
  • I am krancour (https://keybase.io/krancour) on keybase.
  • I have a public key ASDTmVsyQkX6PEtVUnaBz6Jx7csydOnBOl9bsZ3BPrQWlQo

To claim this, I am signing this object:

### Keybase proof
I hereby claim:
* I am krancour on github.
* I am krancour (https://keybase.io/krancour) on keybase.
* I have a public key ASC8NnrXXN0YisXnnyDU-_rzmxHFH2gUC8p2Ol1swXz0EAo
To claim this, I am signing this object:

Keybase proof

I hereby claim:

  • I am krancour on github.
  • I am krancour (https://keybase.io/krancour) on keybase.
  • I have a public key whose fingerprint is B434 D050 D7E1 69A4 7C9A 834F 49A7 C961 E8BD 2584

To claim this, I am signing this object:

v2.0.0-rc1 -> v2.0.0-rc2

Features

  • b6c5211 (router) - router: Pass on X-Forwarded-Proto and X-Forwarded-Port
  • 06b7ac8 (router) - ssl: Delete unused certs and dhparam
  • de38946 (charts) - router: Make platformDomain configurable thru toml
  • 4295812 (charts) - builder: add git push lock timeout env to builder rc
  • c15c268 (workflow-manager) - pkg,api: add ping path to swagger spec
package main
import (
"fmt"
"log"
"reflect"
"strconv"
)
const (
@krancour
krancour / template.json
Created December 17, 2015 16:51
kube-aws-with-insecure-registries
{
"AWSTemplateFormatVersion": "2010-09-09",
"Conditions": {
"EmptyAvailabilityZone": {
"Fn::Equals": [
{
"Ref": "AvailabilityZone"
},
""
]
@krancour
krancour / gist:c6c10efb1500f54a2607
Created June 18, 2015 13:52
custom deis install
#!/bin/bash
set -e
DEISCTL_VERSION="1.7.0"
deisctl --version | grep $DEISCTL_VERSION || echo "Expected deisctl version (${DEISCTL_VERSION}) not found." && exit 1
echo "Copying Deis units..."
@krancour
krancour / gist:f365c1cda1cbba0b1041
Created June 5, 2015 18:19
slugbuilder -> slugrunner
git archive master | docker run -i -a stdin -a stdout -a stderr deis/slugbuilder - | docker run -i -a stdin -a stdout -a stderr -P deis/slugrunner start web
@krancour
krancour / gist:6e36501c14bbe4b2f702
Created May 12, 2015 20:03
make dev-release errors
>>> Publishing release from source tree <<<
docker tag -f deis/builder:git-18350a4 192.168.59.103:5000/deis/builder:git-18350a4
docker push 192.168.59.103:5000/deis/builder:git-18350a4
2015/05/12 15:05:32 Error: Invalid registry endpoint https://192.168.59.103:5000/v1/: Get https://192.168.59.103:5000/v1/_ping: EOF. If this private registry supports only HTTP or HTTPS with an unknown CA certificate, please add `--insecure-registry 192.168.59.103:5000` to the daemon's arguments. In the case of HTTPS, if you have access to the registry's CA certificate, no need for the flag; simply place the CA certificate at /etc/docker/certs.d/192.168.59.103:5000/ca.crt
make[1]: *** [push] Error 1
make: *** [dev-release] Error 2
>>> Error detected, dumping logs <<<
@krancour
krancour / gist:95deaec0a28c49564a61
Created May 6, 2015 02:59
script for checking clock drift across (small) fixed number of coreos nodes
nodes=(10.0.3.209 10.0.1.154 10.0.1.80 10.0.1.5)
for i in ${nodes[*]}
do
ssh core@$i date
done