-
Bug
-
Resolution: Done
-
Normal
-
None
-
None
Description of problem:
The code snippet to install Loki has been pasted twice on top of itself, resulting in a broken code snippet
Version-Release number of selected component (if applicable):
How reproducible:
Always. The code posted does not work.
Steps to Reproduce:
1. Try to apply the code snippet:
apiVersion: operators.coreos.com/v1alpha1
kind: Subscription
metadata:
name: loki-operator
namespace: openshift-operators-redhat
spec:
charsion: operators.coreos.com/v1alpha1
kind: Subscription
metadata:
name: loki-operator
namespace: openshift-operators-redhat
spec:
channel: stable
name: loki-operator
source: redhat-operators
sourceNamespace: openshift-marketplace
Actual results:
Error from the APIServer
Expected results:
Apply was successful
Additional info:
This appears to be a mistake where on the line starting
spec: charsion: operators.coreos.com/v1alpha1
(charsion is not a valid entry here. It appears to be a mixture of the words channel and apiVersion)
The same piece of code has been pasted again.
The correct sample is:
apiVersion: operators.coreos.com/v1alpha1 kind: Subscription metadata: name: loki-operator namespace: openshift-operators-redhat spec: channel: stable name: loki-operator source: redhat-operators sourceNamespace: openshift-marketplace
- links to