Skip to content
This repository has been archived by the owner on Jul 10, 2021. It is now read-only.

docs(halyard-gke-deploy-rbac): Fix base64 option #808

Merged
merged 1 commit into from May 30, 2018

Conversation

Mahito
Copy link
Contributor

@Mahito Mahito commented May 30, 2018

base64 -D didn't work well as follow.

$ kubectl get secret $SERVICE_ACCOUNT_TOKEN -o jsonpath='{.data.token}' | base64 -D
base64: invalid option -- 'D'
Try 'base64 --help' for more information.

option -D worked on Mac, but it did not work on Linux because it is -d on Linux.
This PR has changed to option --decode which works on both MacOS and Linux.

`base64 -D` didn't work well as follow.

```
$ kubectl get secret $SERVICE_ACCOUNT_TOKEN -o jsonpath='{.data.token}' | base64 -D
base64: invalid option -- 'D'
Try 'base64 --help' for more information.
```

option `-D` worked on Mac, but it did not work on Linux because it is` -d` on Linux.
This PR has changed to option `--decode` which works on both MacOS and Linux.
Copy link
Member

@lwander lwander left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@lwander lwander merged commit b19f9ae into spinnaker:master May 30, 2018
@Mahito Mahito deleted the patch-1 branch May 31, 2018 04:33
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants