You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug a clear and concise description of what the bug is.
This is the bug when deployed into the k8s cluster(it doesn't recognize or the helm chart is maybe wrong in specifying flag here):
Error: unknown flag: --pushgateway-address
Usage:
popeye [flags]
popeye [command]
Available Commands:
completion Generate the autocompletion script for the specified shell
help Help about any command
info Prints Popeye info
version Prints version/build info
Flags:
-A, --all-namespaces When present, runs linters for all namespaces
--as string Username to impersonate for the operation
--as-group stringArray Group to impersonate for the operation
--certificate-authority string Path to a cert file for the certificate authority
-c, --clear Clears the screen before a run
--client-certificate string Path to a client certificate file for TLS
--client-key string Path to a client key file for TLS
--cluster string The name of the kubeconfig cluster to use
--cluster-name string Specify a cluster name when running popeye in cluster
--context string The name of the kubeconfig context to use
-f, --file string Use a spinach YAML configuration file
--force-exit-zero Force zero exit status when report errors are present
-h, --help help for popeye
--insecure-skip-tls-verify If true, the server's caCertFile will not be checked for validity
--kubeconfig string Path to the kubeconfig file to use for CLI requests
-l, --lint string Specify a lint level (ok, info, warn, error) (default "ok")
-v, --log-level int Specify log level. Use 0|1|2|3|4 for disable|info|warn|error|debug (default 1)
--logs none Specify log file location. Use none for stdout (default "/tmp/popeye.log")
--min-score int Force non-zero exit if the cluster score is below that threshold (default 50)
-n, --namespace string If present, the namespace scope for this CLI request
-o, --out string Specify the output type (standard, jurassic, yaml, json, html, junit, score) (default "standard")
--output-file string Specify the file name to persist report to disk
--over-allocs Check for cpu/memory over allocations
--push-gtwy-password string Prometheus pushgateway auth password
--push-gtwy-url string Prometheus pushgateway address e.g. http://localhost:9091
--push-gtwy-user string Prometheus pushgateway auth username
--request-timeout string The length of time to wait before giving up on a single server request
--s3-bucket string Specify to which S3 bucket you want to save the output file
--s3-endpoint string Specify an s3 compatible endpoint when the s3-bucket option is enabled
--s3-region string Specify an s3 compatible region when the s3-bucket option is enabled
--save Specify if you want Popeye to persist the output to a file
-s, --sections strings Specify which resources to include in the scan ie -s po,svc
--token string Bearer token for authentication to the API server
--user string The name of the kubeconfig user to use
Use "popeye [command] --help" for more information about a command.
stream closed EOF for pushgw/popeye-28999367-mgbfw (popeye)
How to reproduce it?
No response
What's your helm version?
3.17.0
Enter the command that you execute and failing/misfunctioning.
Which Helm Chart is affected?
popeye
What's the chart version?
0.22.1
Enter the changed values of values.yaml?
cronJob:
outputFormat: prometheus
prometheus:
basicAuth:
enabled: true
password: P#G**q!kJv9NydEeT!Yd
user: root
pushgatewayAddress: pushgw.re-cloud.io
schedule: '* */1 * * *'
image:
pullPolicy: IfNotPresent
tag: latest
resources:
limits:
cpu: 80m
memory: 80Mi
serviceAccount:
create: true
name: popeye
Describe the bug a clear and concise description of what the bug is.
This is the bug when deployed into the k8s cluster(it doesn't recognize or the helm chart is maybe wrong in specifying flag here):
How to reproduce it?
No response
What's your helm version?
3.17.0
Enter the command that you execute and failing/misfunctioning.
helm install popeye christianhuth/popeye -n pushgw --values value-popeye.yaml
Anything else we need to know?
The text was updated successfully, but these errors were encountered: