Skip to content

Commit

Permalink
fix(ci): modify readme
Browse files Browse the repository at this point in the history
  • Loading branch information
dakehero committed Mar 14, 2024
1 parent db03d76 commit b4ddcb3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions ci/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@ Edit cluster variables in file `ci/tf/example.tfvars` and run:
``` bash
./provision.sh
```
kubectl config file locates at `ci/kube/config-public`.
kubectl config file locates at `ci/playbook/kube/config-public`.

```bash
export KUBECONFIG=ci/kube/config-public
export KUBECONFIG=ci/playbook/kube/config-public
kubectl get nodes -A -o wide
```

Expand Down
2 changes: 1 addition & 1 deletion ci/tf/hosts.tftpl
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,6 @@ all:
ansible_ssh_common_args: -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o ProxyCommand="ssh -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -W %h:%p -q -i ${key_pair_path} root@${jump_host}"
ansible_ssh_private_key_file: ${key_pair_path}
host_key_checking: false
ansible_python_interpreter: /usr/bin/python3
ansible_python_interpreter: python3
ansible_user: root
k8s_api_server_ip: ${jump_host}

0 comments on commit b4ddcb3

Please sign in to comment.