Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Disabling service-dns controller for federation kubectl tests #45936

Merged
merged 1 commit into from
May 17, 2017
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
13 changes: 1 addition & 12 deletions hack/make-rules/test-federation-cmd.sh
Original file line number Diff line number Diff line change
Expand Up @@ -60,28 +60,17 @@ function run_federation_controller_manager() {
kubectl config set-context "context" --cluster="apiserver" --kubeconfig="${kubeconfig}"
kubectl config use-context "context" --kubeconfig="${kubeconfig}"

cat << EOF > /tmp/dns-provider.conf
[Global]
etcd-endpoints = http://127.0.0.1:2379
zones = f8n.io
EOF

# Start controller manager
kube::log::status "Starting federation-controller-manager"
"${KUBE_OUTPUT_HOSTBIN}/federation-controller-manager" \
--port="${CTLRMGR_PORT}" \
--kubeconfig="${kubeconfig}" \
--kube-api-content-type="${KUBE_TEST_API_TYPE-}" \
--federation-name=federation \
--dns-provider=coredns \
--dns-provider-config=/tmp/dns-provider.conf \
--zone-name=f8n.io \
--controllers="service-dns=false" \
--master="127.0.0.1:${API_PORT}" 1>&2 &
CTLRMGR_PID=$!

kube::util::wait_for_url "http://127.0.0.1:${CTLRMGR_PORT}/healthz" "controller-manager"

rm -rf /tmp/dns-provider.conf
}

kube::log::status "Running kubectl tests for federation-apiserver"
Expand Down