Skip to content
This repository was archived by the owner on Sep 21, 2020. It is now read-only.

Commit c85fc82

Browse files
committed
Update apiVersion to operators.coreos.com/v1alpha1
csv is defined under operators.coreos.com group in the latest version of OLM.
1 parent d484b16 commit c85fc82

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ Deploying an Operator is as simple as applying the Operator’s manifest to the
133133
```sh
134134
$ curl -Lo memcachedoperator.0.0.1.csv.yaml https://raw.githubusercontent.com/operator-framework/getting-started/master/memcachedoperator.0.0.1.csv.yaml
135135
$ kubectl apply -f memcachedoperator.0.0.1.csv.yaml
136-
$ kubectl get ClusterServiceVersion-v1s memcachedoperator.v0.0.1 -o json | jq '.status'
136+
$ kubectl get ClusterServiceVersion memcachedoperator.v0.0.1 -o json | jq '.status'
137137
```
138138

139139
After applying this manifest, nothing has happened yet, because the cluster does not meet the requirements specified in our manifest. Create the CustomResourceDefinition and RBAC rules for the Memcached type managed by the Operator:

memcachedoperator.0.0.1.csv.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
# This file defines the ClusterServiceVersion (CSV) to tell the catalog how to display, create and
22
# manage the application as a whole. If changes are made to the CRD for this application kind,
33
# make sure to replace those references below as well.
4-
apiVersion: app.coreos.com/v1alpha1
5-
kind: ClusterServiceVersion-v1
4+
apiVersion: operators.coreos.com/v1alpha1
5+
kind: ClusterServiceVersion
66
metadata:
77
name: memcachedoperator.v0.0.1
88
namespace: default

memcachedoperator.0.0.2.csv.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
# This file defines the ClusterServiceVersion (CSV) to tell the catalog how to display, create and
22
# manage the application as a whole. If changes are made to the CRD for this application kind,
33
# make sure to replace those references below as well.
4-
apiVersion: app.coreos.com/v1alpha1
5-
kind: ClusterServiceVersion-v1
4+
apiVersion: operators.coreos.com/v1alpha1
5+
kind: ClusterServiceVersion
66
metadata:
77
name: memcachedoperator.v0.0.2
88
namespace: default

0 commit comments

Comments
 (0)