Skip to content

Commit

Permalink
fixed bugs and edited the ReadMe
Browse files Browse the repository at this point in the history
  • Loading branch information
mlopez122 authored and coolaj86 committed Jan 26, 2022
1 parent 5f114e5 commit b74a101
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 12 deletions.
27 changes: 18 additions & 9 deletions eksctl/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: eksctl
homepage: https://github.com/webinstall/foobar
homepage: https://github.com/weaveworks/eksctl
tagline: |
The official CLI for Amazon EKS
---
Expand All @@ -15,25 +15,34 @@ install:

```txt
~/.config/envman/PATH.env
~/.local/bin/foo
~/.local/opt/foo
~/.local/bin/eksctl
~/.local/opt/eksctl
```

## Cheat Sheet

> `foo` doesn't exist and this text should have been replaced. It doesn't do
> anything, but what it does is useful because it is; everybody knows it.
> From the `eksctl` ReadMe:
> You can create a cluster in minutes with just one command – eksctl create cluster!
> AWS Account
> You will need to have AWS API credentials configured. What works for AWS CLI or any other tools (kops, Terraform etc), should be sufficient. You can use ~/.aws/credentials file or environment variables. For more information read AWS documentation.
To run foo:

You will also need AWS IAM Authenticator for Kubernetes command (either aws-iam-authenticator or aws eks get-token (available in version 1.16.156 or greater of AWS CLI) in your PATH.


The IAM account used for EKS cluster creation should have these minimal access levels.


To run eksctl:

```bash
foo
eksctl
```

### Add Baz Highlighting

To run foo with both bar and baz highlighting turned on:
To run eksctl with both bar and baz highlighting turned on:

```bash
foo --bar=baz
eksctl --bar=baz
```
6 changes: 3 additions & 3 deletions eksctl/install.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -40,12 +40,12 @@ IF (!(Test-Path -Path "$pkg_src_cmd"))

# NOTE: DELETE THIS COMMENT IF NOT USED
# Move single binary into root of temporary folder
#& move "$pkg_download" "eksctl.exe"
& move "$pkg_download" "eksctl.exe"

# Unpack archive file into this temporary directory
# Windows BSD-tar handles zip. Imagine that.
echo "Unpacking $pkg_download"
& tar xf "$pkg_download"
# echo "Unpacking $pkg_download"
# & tar xf "$pkg_download"

# Settle unpacked archive into place
echo "Install Location: $pkg_src_cmd"
Expand Down

0 comments on commit b74a101

Please sign in to comment.