Error creating resources by using the init bundle in RHACS

Solution Verified - Updated -

Issue

  • Applying an init bundle for RHACS as documented returns an error where the Object Kind is missing as below:

    $ oc create -f ocp-cluster-init-bundle.yaml -n stackrox
    error: unable to decode "ocp-cluster-init-bundle.yaml": Object 'Kind' is missing in '{"admissionControl":{"serviceTLS":{"cert":"-----BEGIN CERTIFICATE-----
    

Environment

  • Red Hat OpenShift Container Platform
    • 4
  • Red Hat Advanced Cluster Security for Kubernetes (RHACS)

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content