Skip to content

Failed to deploy the operator using helm chart on okd version 4.20.0-okd-scos.7 #975

@avyas26

Description

@avyas26

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”}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions