Skip to content

Commit

Permalink
Triages kubernetes#7 for OpenStack provider, still needs work.
Browse files Browse the repository at this point in the history
Fixed the order of fields for basic_auth.

This provider still needs to leverage common.sh for generating proper credentials though.

Also documented a pattern for how to get the SWIFT_SERVER_URL automatically
  • Loading branch information
elsonrodriguez authored and Lukasz Zajaczkowski committed Apr 28, 2016
1 parent 9226cf7 commit 7b3b24c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions cluster/openstack-heat/config-default.sh
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ MINION_FLAVOR=${MINION_FLAVOR:-m1.medium}

EXTERNAL_NETWORK=${EXTERNAL_NETWORK:-public}

#FIXME This can get set by evaulating the output of `swift auth` and stripping the base URL from OS_STORAGE_URL, but will require a refactor. Till then...
SWIFT_SERVER_URL=${SWIFT_SERVER_URL:-http://192.168.123.100:8080}

# Flag indicates if new image must be created. If 'false' then image with IMAGE_ID will be used.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ write_files:
- path: /srv/salt-overlay/salt/kube-apiserver/basic_auth.csv
permissions: "0600"
content: |
$apiserver_user,$apiserver_password,admin
$apiserver_password,$apiserver_user,admin
- path: /srv/salt-overlay/salt/kube-apiserver/known_tokens.csv
permissions: "0600"
content: |
Expand Down

0 comments on commit 7b3b24c

Please sign in to comment.