Hi, I am hitting the below issue when I am deploying the operator using helm installation guide.
{"level":"error","ts":"2025-11-16T16:48:15.698Z","logger":"setup","msg":"","error":"the server could not find the requested resource","stacktrace":"github.com/ComplianceAsCode/compliance-operator/cmd/manager.RunOperator\n\tgithub.com/ComplianceAsCode/compliance-operator/cmd/manager/operator.go:360\ngithub.com/spf13/cobra.(*Command).execute\n\tgithub.com/spf13/cobra@v1.8.1/command.go:989\ngithub.com/spf13/cobra.(*Command).ExecuteC\n\tgithub.com/spf13/cobra@v1.8.1/command.go:1117\ngithub.com/spf13/cobra.(*Command).Execute\n\tgithub.com/spf13/cobra@v1.8.1/command.go:1041\nmain.main\n\tgithub.com/openshift/compliance-operator/main.go:47\nruntime.main\n\truntime/proc.go:272”}
{"level":"error","ts":"2025-11-16T16:48:15.768Z","logger":"setup","msg":"Error creating metrics service/secret","error":"operator metrics token not found; restarting as the service may have just been created","stacktrace":"github.com/ComplianceAsCode/compliance-operator/cmd/manager.addMetrics\n\tgithub.com/ComplianceAsCode/compliance-operator/cmd/manager/operator.go:441\ngithub.com/ComplianceAsCode/compliance-operator/cmd/manager.RunOperator\n\tgithub.com/ComplianceAsCode/compliance-operator/cmd/manager/operator.go:381\ngithub.com/spf13/cobra.(*Command).execute\n\tgithub.com/spf13/cobra@v1.8.1/command.go:989\ngithub.com/spf13/cobra.(*Command).ExecuteC\n\tgithub.com/spf13/cobra@v1.8.1/command.go:1117\ngithub.com/spf13/cobra.(*Command).Execute\n\tgithub.com/spf13/cobra@v1.8.1/command.go:1041\nmain.main\n\tgithub.com/openshift/compliance-operator/main.go:47\nruntime.main\n\truntime/proc.go:272”}
Hi, I am hitting the below issue when I am deploying the operator using helm installation guide.
{"level":"error","ts":"2025-11-16T16:48:15.698Z","logger":"setup","msg":"","error":"the server could not find the requested resource","stacktrace":"github.com/ComplianceAsCode/compliance-operator/cmd/manager.RunOperator\n\tgithub.com/ComplianceAsCode/compliance-operator/cmd/manager/operator.go:360\ngithub.com/spf13/cobra.(*Command).execute\n\tgithub.com/spf13/cobra@v1.8.1/command.go:989\ngithub.com/spf13/cobra.(*Command).ExecuteC\n\tgithub.com/spf13/cobra@v1.8.1/command.go:1117\ngithub.com/spf13/cobra.(*Command).Execute\n\tgithub.com/spf13/cobra@v1.8.1/command.go:1041\nmain.main\n\tgithub.com/openshift/compliance-operator/main.go:47\nruntime.main\n\truntime/proc.go:272”}{"level":"error","ts":"2025-11-16T16:48:15.768Z","logger":"setup","msg":"Error creating metrics service/secret","error":"operator metrics token not found; restarting as the service may have just been created","stacktrace":"github.com/ComplianceAsCode/compliance-operator/cmd/manager.addMetrics\n\tgithub.com/ComplianceAsCode/compliance-operator/cmd/manager/operator.go:441\ngithub.com/ComplianceAsCode/compliance-operator/cmd/manager.RunOperator\n\tgithub.com/ComplianceAsCode/compliance-operator/cmd/manager/operator.go:381\ngithub.com/spf13/cobra.(*Command).execute\n\tgithub.com/spf13/cobra@v1.8.1/command.go:989\ngithub.com/spf13/cobra.(*Command).ExecuteC\n\tgithub.com/spf13/cobra@v1.8.1/command.go:1117\ngithub.com/spf13/cobra.(*Command).Execute\n\tgithub.com/spf13/cobra@v1.8.1/command.go:1041\nmain.main\n\tgithub.com/openshift/compliance-operator/main.go:47\nruntime.main\n\truntime/proc.go:272”}