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

Guard failed to start because Error: unknown flag: --gitlab.use-group-id #226

Open
qw1mb0 opened this issue Jun 27, 2019 · 5 comments
Open

Comments

@qw1mb0
Copy link
Contributor

qw1mb0 commented Jun 27, 2019

After apply YML pod in CrashLoopBackOff state with error:

# kubectl -n kube-system  logs guard-bfd4d6559-psx6x
Error: unknown flag: --gitlab.use-group-id
Usage:
  guard run [flags]

Guard version:

Version = 0.4.0
VersionStrategy = tag
Os = linux
Arch = amd64
CommitHash = 754eb9d99b25bdac7c415c6b987d9290a10afdbe
GitBranch = release-0.4
GitTag = 0.4.0
CommitTimestamp = 2019-02-04T23:24:56
@nightfury1204
Copy link
Contributor

@qw1mb0 can you check the image version? it shouldn't give this error.

@qw1mb0
Copy link
Contributor Author

qw1mb0 commented Jul 2, 2019

appscode/guard:canary

@nightfury1204
Copy link
Contributor

That's outdated image. Use version taged image: appscode/guard:0.4.0

@qw1mb0
Copy link
Contributor Author

qw1mb0 commented Jul 2, 2019

So we need to use a specific tag here https://github.com/appscode/guard/blame/master/installer/deployment.go#L47 ?

@nightfury1204
Copy link
Contributor

i think it's problem with guard binary you have. Try guard version to see whether it shows version or not.
You can dowload binary from here https://github.com/appscode/guard/releases.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants