Commit 8be8f904 authored by Kubernetes Submit Queue's avatar Kubernetes Submit Queue Committed by GitHub

Merge pull request #45289 from ktsakalozos/bug/fixbadrebase

Automatic merge from submit-queue (batch tested with PRs 45283, 45289, 45248, 44295) Remove offending code due to bad rebase **What this PR does / why we need it**: Fix bug introduced by bad rebasing **Which issue this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close that issue when PR gets merged)*: fixes # **Special notes for your reviewer**: **Release note**: ``` NONE ```
parents 99f2cadc 7cf2b0b2
...@@ -236,11 +236,10 @@ def setup_non_leader_authentication(): ...@@ -236,11 +236,10 @@ def setup_non_leader_authentication():
# the keys were not retrieved. Non-leaders have to retry. # the keys were not retrieved. Non-leaders have to retry.
return return
api_opts.add('--basic-auth-file', basic_auth) api_opts.add('basic-auth-file', basic_auth)
api_opts.add('--token-auth-file', known_tokens) api_opts.add('token-auth-file', known_tokens)
api_opts.add('--service-cluster-ip-range', service_cidr()) api_opts.add('service-account-key-file', service_key)
api_opts.add('--service-account-key-file', service_key) controller_opts.add('service-account-private-key-file', service_key)
controller_opts.add('--service-account-private-key-file', service_key)
set_state('authentication.setup') set_state('authentication.setup')
...@@ -275,12 +274,6 @@ def get_keys_from_leader(keys): ...@@ -275,12 +274,6 @@ def get_keys_from_leader(keys):
with open(k, 'w+') as fp: with open(k, 'w+') as fp:
fp.write(contents) fp.write(contents)
api_opts.add('basic-auth-file', basic_auth)
api_opts.add('token-auth-file', known_tokens)
api_opts.add('service-account-key-file', service_key)
controller_opts.add('service-account-private-key-file', service_key)
set_state('authentication.setup')
return True return True
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment