Skip to content

Instantly share code, notes, and snippets.

bind c new-window -c "#{pane_current_path}"
bind '"' split-window -c "#{pane_current_path}"
bind % split-window -h -c "#{pane_current_path}"
filetype plugin indent on " activate filetype plugins
set backspace=2 " backspace in insert mode works like normal editor
" set autoindent " auto indenting
set number " line numbers
colorscheme default " colorscheme
set nobackup " get rid of anoying ~file
set clipboard=unnamed " use system clipboard for copying
set shiftwidth=4 " default shift width
set expandtab " expand tabs to spaces
set tabstop=4 " set tabwidth to 4
#!/bin/bash -e
rm -rf assets
mkdir assets
HOSTS=${HOSTS:-"127.0.0.1 127.0.0.2 127.0.0.3"}
function unpack {
DIR="$( dirname $1 )"
NAME="$( basename $1 )"
package main
import (
"fmt"
"os"
"os/exec"
isatty "github.com/mattn/go-isatty"
)
diff --git a/staging/src/k8s.io/client-go/rest/transport.go b/staging/src/k8s.io/client-go/rest/transport.go
index f59f8dbe27..9039ab9650 100644
--- a/staging/src/k8s.io/client-go/rest/transport.go
+++ b/staging/src/k8s.io/client-go/rest/transport.go
@@ -58,22 +58,7 @@ func HTTPWrappersForConfig(config *Config, rt http.RoundTripper) (http.RoundTrip
// TransportConfig converts a client config to an appropriate transport config.
func (c *Config) TransportConfig() (*transport.Config, error) {
- wt := c.WrapTransport
- if c.AuthProvider != nil {
Destroy complete! Resources: 14 destroyed.
POST BUILD TASK : SUCCESS
END OF POST BUILD TASK : 0
Setting status of f1c2efce228fbcba5ed229c3e32ee5e74c54cdd0 to FAILURE with url https://jenkins-kube-lifecycle.prod.coreos.systems/job/bootkube-pr-e2e/562/ and message: 'Build finished. '
Using context: e2e
Could not update commit status of the Pull Request on GitHub.
org.kohsuke.github.HttpException: Server returned HTTP response code: 201, message: 'Created' for URL: https://api.github.com/repos/kubernetes-incubator/bootkube/statuses/f1c2efce228fbcba5ed229c3e32ee5e74c54cdd0
at org.kohsuke.github.Requester.parse(Requester.java:633)
at org.kohsuke.github.Requester.parse(Requester.java:594)
at org.kohsuke.github.Requester._to(Requester.java:272)
#!/bin/bash -e
# Usage ./k8s-service-account-kubeconfig.sh ( namespace ) ( service account name )
TEMPDIR=$( mktemp -d )
trap "{ rm -rf $TEMPDIR ; exit 255; }" EXIT
SA_SECRET=$( kubectl get sa -n $1 $2 -o jsonpath='{.secrets[0].name}' )
apiVersion: v1
kind: Pod
metadata:
annotations:
scheduler.alpha.kubernetes.io/critical-pod: ""
creationTimestamp: null
labels:
component: etcd
tier: control-plane
name: etcd
pkg k8s.io/client-go/rest, const DefaultBurst int
pkg k8s.io/client-go/rest, const DefaultQPS float
pkg k8s.io/client-go/rest, func AddUserAgent(*Config, string) *Config
pkg k8s.io/client-go/rest, func AnonymousClientConfig(*Config) *Config
pkg k8s.io/client-go/rest, func DefaultKubernetesUserAgent() string
pkg k8s.io/client-go/rest, func DefaultServerURL(string, string, k8s.io/apimachinery/pkg/runtime/schema.GroupVersion, bool) (*net/url.URL, string, error)
pkg k8s.io/client-go/rest, func GetAuthProvider(string, *k8s.io/client-go/tools/clientcmd/api.AuthProviderConfig, AuthProviderConfigPersister) (AuthProvider, error)
pkg k8s.io/client-go/rest, func HTTPWrappersForConfig(*Config, net/http.RoundTripper) (net/http.RoundTripper, error)
pkg k8s.io/client-go/rest, func InClusterConfig() (*Config, error)
pkg k8s.io/client-go/rest, func IsConfigTransportTLS(Config) bool
# Create a service account for the federated control plane
apiVersion: v1
kind: ServiceAccount
metadata:
namespace: default
name: federated-controller-1
---
# These are the two namespaces we're going to give the federated control plane
# access to. We could explicitly grant it the ability to create only these