Skip to content
This repository has been archived by the owner on Aug 29, 2023. It is now read-only.

Updates to script required to make it work #74

Open
dimitropoulos opened this issue Dec 23, 2019 · 0 comments
Open

Updates to script required to make it work #74

dimitropoulos opened this issue Dec 23, 2019 · 0 comments

Comments

@dimitropoulos
Copy link
Contributor

@jrryjcksn @palemtnrider here was the sequence of actions necessary to get the quickstart running:

# 1. fork wks-quickstart-firekube, either with hub or in the GitHub UI

GITHUB_ORG=dimitropoulos
REPO_NAME=wks-quickstart-firekube
DEPLOY_KEY_NAME=$REPO_NAME-deploykey

git clone http://github.com/$GITHUB_ORG/$REPO_NAME
cd $REPO_NAME

sudo rm $(which wk)
sudo rm $(which ignite)
sudo rm $(which footloose)
sudo rm $(which wksctl)

echo "$DEPLOY_KEY_NAME*" > ./.gitignore
ssh-keygen -N "" -q -f $DEPLOY_KEY_NAME

# 1. remove the `sshKeyPath` line from `cluster.yaml`

hub api \
--method POST \
/repos/$GITHUB_ORG/$REPO_NAME/keys \
--field title=$DEPLOY_KEY_NAME \
--field key="$(cat ~/src/github.com/$GITHUB_ORG/$REPO_NAME/$DEPLOY_KEY_NAME.pub)" \
--field readOnly=false


# 1. update the image
# ```diff
# containers:
# - name: controller
# image: docker.io/wksctl/controller:master-8e831136
# ```

./setup.sh

export KUBECONFIG=/home/dimitri/.wks/weavek8sops/example/kubeconfig

We can spin off issues from here, e.g. updating the image.

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

1 participant