NAMESPACE=default
APISERVER=http://localhost:8080
TOKEN=$(aws --region ap-northeast-1 eks get-token --cluster-name test --profile hoge-fuga --output json | jq -r .status.token)
curl $APISERVER/apis/kahiro.dev/v1/namespaces/$NAMESPACE/somekind --header "Authorization: Bearer $TOKEN" --insecure
More than 1 year has passed since last update.
Register as a new user and use Qiita more conveniently
- You get articles that match your needs
- You can efficiently read back useful information
- You can use dark theme