Skip to content
This repository has been archived by the owner on Nov 22, 2018. It is now read-only.

Unable to run populate-configmap.py #8

Open
Blasterdick opened this issue Nov 20, 2017 · 1 comment
Open

Unable to run populate-configmap.py #8

Blasterdick opened this issue Nov 20, 2017 · 1 comment

Comments

@Blasterdick
Copy link

$ python2 utils/populate-configmap.py 
Traceback (most recent call last):
  File "utils/populate-configmap.py", line 20, in <module>
    "cadata": base64.b64decode([cluster for cluster in data["clusters"] if cluster["name"] == "federation"][0]['cluster']['certificate-authority-data'])[:-1],
IndexError: list index out of range

@tesharp
Copy link

tesharp commented Nov 29, 2017

README.md is based on a specific test setup where federated cluster is named "federation". In my case I had called it something else and got the same error. Just change cluster["name"] == "federation" to cluster["name"] == "whateverfederationclusteriscalled"

You also need to change federation-apiserver.federation-system to yourname-apiserver.federation-system, both in this python script and ruddered-tiller.yaml.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants