kubectl -n kube-system create sa tiller
kubectl create clusterrolebinding tiller --clusterrole cluster-admin --serviceaccount=kube-system:tiller
helm init --service-account tiller
This file contains hidden or 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
module.exports = [{ | |
code: 'AD', | |
name: 'Andorra', | |
greeting: 'Hola' | |
}, { | |
code: 'AE', | |
name: 'United Arab Emirates', | |
greeting: 'Marhaba' | |
}, { | |
code: 'AF', |
This file contains hidden or 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/sh | |
while read; do eject ; read ; eject -t ; done |
This file contains hidden or 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
#!/usr/bin/perl | |
use POSIX qw(strftime); | |
use Data::Dumper; | |
sub timestamp { return strftime("%H:%M:%S", localtime(time)); } | |
sub datestamp { return strftime("%b %d", localtime(time)); } | |
sub l { | |
my ($msg) = shift; | |
printf("$0: %s %s $msg\n", datestamp(), timestamp()); |