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

Installation via yaml manifests fails #146

Closed
surajnarwade opened this issue Jun 26, 2024 · 1 comment · Fixed by #147
Closed

Installation via yaml manifests fails #146

surajnarwade opened this issue Jun 26, 2024 · 1 comment · Fixed by #147

Comments

@surajnarwade
Copy link

I followed the installation instruction here via yaml manifests

I can see that pod is crashing:

➜ kubectl get pods
NAME                             READY   STATUS             RESTARTS      AGE
reports-server-d5ccb6f79-crhfn   0/1     CrashLoopBackOff   3 (16s ago)   69s
reports-server-postgresql-0      1/1     Running            0             69s

and when I checked the logs:

➜ kubectl logs reports-server-d5ccb6f79-crhfn
Error: unknown flag: --dbsslmode
Usage:
   [flags]

Policy server flags:

      --dbhost string       Host url of postgres instance (default "reportsdb.kyverno")
      --dbname string       Name of the database to store policy reports in (default "reportsdb")
      --dbpassword string   Password to login into postgres (default "password")
      --dbport int          Port of the postgres instance (default 5432)
      --dbuser string       Username to login into postgres (default "postgres")
....
....
....
Features flags:


panic: unknown flag: --dbsslmode

goroutine 1 [running]:
main.main()
	github.com/kyverno/reports-server/main.go:20 +0x88
@surajnarwade surajnarwade changed the title Installation fails Installation via yaml manifests fails Jun 26, 2024
@vishal-chdhry
Copy link
Member

@surajnarwade looks like the manifest uses 0.0.1 alpha instead of latest, I will update the yaml to fix this. You can update the yaml to use the latest image and that should fix this

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