Merge pull request #2165 from justinsb/remove_old_kope_routing

Remove old way of doing kope-routing
This commit is contained in:
Justin Santa Barbara 2017-03-22 01:13:00 -04:00 committed by GitHub
commit 863956731c
6 changed files with 0 additions and 71 deletions

View File

@ -20,7 +20,3 @@ secret/system-monitoring:
secret/system-dns:
name: "system:dns"
{{ if HasTag "_kope_routing" }}
secret/kope-routing: {}
{{ end }}

View File

@ -1,44 +0,0 @@
# kope-routing podspec
apiVersion: v1
kind: Pod
metadata:
name: kope-routing
namespace: kube-system
spec:
hostNetwork: true
containers:
- name: kope-routing
image: kope/route-controller
command:
- /bin/sh
- -c
# - /usr/bin/route-controller --boot-id=/var/lib/kope-routing/boot-id --kubeconfig=/var/lib/kope-routing/kubeconfig --healthz-port=10247 1>>/var/log/kope-routing.log 2>&1
- /usr/bin/route-controller --provider=gre --boot-id=/var/lib/kope-routing/boot-id --kubeconfig=/var/lib/kope-routing/kubeconfig --healthz-port=10247
securityContext:
privileged: true
volumeMounts:
- mountPath: /etc/ssl/certs
name: ssl-certs-host
readOnly: true
# - mountPath: /var/log
# name: varlog
# readOnly: false
- mountPath: /var/lib/kope-routing/kubeconfig
name: kubeconfig
readOnly: true
- mountPath: /var/lib/kope-routing/boot-id
name: host-boot-id
readOnly: true
volumes:
- hostPath:
path: /usr/share/ca-certificates
name: ssl-certs-host
- hostPath:
path: /var/lib/kope-routing/kubeconfig
name: kubeconfig
- hostPath:
path: /proc/sys/kernel/random/boot_id
name: host-boot-id
# - hostPath:
# path: /var/log
# name: varlog

View File

@ -1,17 +0,0 @@
apiVersion: v1
kind: Config
users:
- name: kope-routing
user:
token: {{ GetToken "kope-routing" }}
clusters:
- name: local
cluster:
certificate-authority-data: {{ Base64Encode CACertificate.AsString }}
server: https://{{ .MasterInternalName }}
contexts:
- context:
cluster: local
user: kope-routing
name: service-account-context
current-context: service-account-context

View File

@ -1,3 +0,0 @@
{
"ifNotExists": true
}