Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Print unversioned when built without version #187

Merged
merged 1 commit into from
Jan 3, 2019

Conversation

nckturner
Copy link
Contributor

If built with go build, instead of printing an empty version {}, print:

$ go build ./cmd/aws-iam-authenticator/... && ./aws-iam-authenticator version
{"Version":"unversioned"}

Otherwise it works the same:

make && ./dist/linux_amd64/aws-iam-authenticator version
...
{"Version":"git-a6f1789","Commit":"a6f178937a5fa1fa8cd420237531be256771285b"}

@k8s-ci-robot k8s-ci-robot added the size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. label Jan 3, 2019
@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: nckturner

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@k8s-ci-robot k8s-ci-robot added approved Indicates a PR has been approved by an approver from all required OWNERS files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. labels Jan 3, 2019
@mattmoyer
Copy link
Contributor

/lgtm

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Jan 3, 2019
@k8s-ci-robot k8s-ci-robot merged commit ce5c46a into kubernetes-sigs:master Jan 3, 2019
joanayma pushed a commit to joanayma/aws-iam-authenticator that referenced this pull request Aug 11, 2021
…lying the kubernetes configurations (kubernetes-sigs#187)

* Add wait_nodes_max_tries to wait for nodes to be available before applying the kubernetes configurations

* Format variables.tf and aws_auth.tf

* Fix template expansion for wait-nodes-ready.tpl

* Ensuring that kubeconfig is created before its use

* Cleanup wait-nodes-ready script

* Simplify logic to retry application of kubernetes config if failed

* Revert file permission change
joanayma pushed a commit to joanayma/aws-iam-authenticator that referenced this pull request Aug 11, 2021
* Added ability to choose local-exec interpreter

* Remove accidental extra file

* formatting
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. lgtm "Looks good to me", indicates that a PR is ready to be merged. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants