Skip to content

Commit

Permalink
ClusterServiceVersion (CSV) for v1.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
bradfordcp committed May 21, 2020
1 parent 7766488 commit 67de3e2
Show file tree
Hide file tree
Showing 8 changed files with 282 additions and 908 deletions.
6 changes: 6 additions & 0 deletions PACKAGING.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,3 +53,9 @@ operator-sdk generate csv --make-manifests=false --csv-version d.e.f --from-vers
```bash
operator-sdk generate csv --operator-name cass-operator --csv-version 1.1.0 --make-manifests=false --from-version 1.0.0
```

## Defining Descriptors

https://github.com/openshift/console/blob/master/frontend/packages/operator-lifecycle-manager/src/components/descriptors/reference/reference.md

## Validating Operator SDK Manifests
16 changes: 10 additions & 6 deletions operator/.osdk-scorecard.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,13 @@ scorecard:
# `basic` tests configured to test 2 CRs
- basic:
cr-manifest:
- "example-cassdc-yaml/cassandra-3.11.6/example-cassdc-minimal.yaml"
# `olm` tests configured to test 2 CRs
- olm:
cr-manifest:
- "example-cassdc-yaml/cassandra-3.11.6/example-cassdc-minimal.yaml"
csv-path: "deploy/olm-catalog/cass-operator/1.1.0/cass-operator.v1.1.0.clusterserviceversion.yaml"
- "example-cassdc-yaml/cassandra-3.11.6/example-cassdc-scorecard.yaml"
# - "example-cassdc-yaml/dse-6.8.0/example-cassdc-scorecard.yaml"

# OLM tests may only test one CR
# - olm:
# cr-manifest:
# - "example-cassdc-yaml/cassandra-3.11.6/example-cassdc-scorecard.yaml"
# # - "example-cassdc-yaml/dse-6.8.0/example-cassdc-scorecard.yaml"
# csv-path: "deploy/olm-catalog/cass-operator/1.0.0/cass-operator.v1.0.0.clusterserviceversion.yaml"

Large diffs are not rendered by default.

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
channels:
- currentCSV: cass-operator.v1.1.0
- currentCSV: cass-operator.v1.0.0
name: stable
defaultChannel: stable
packageName: cass-operator
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
apiVersion: cassandra.datastax.com/v1beta1
kind: CassandraDatacenter
metadata:
name: dc1
namespace: default
spec:
size: 1
resources: {}
clusterName: cluster1
serverVersion: 3.11.6
racks:
- name: r1
serverType: cassandra
storageConfig:
cassandraDataVolumeClaimSpec:
accessModes:
- ReadWriteOnce
resources:
requests:
storage: 500Mi
storageClassName: local-storage
managementApiAuth:
insecure: {}
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
apiVersion: cassandra.datastax.com/v1beta1
kind: CassandraDatacenter
metadata:
name: dc1
namespace: default
spec:
size: 1
resources: {}
clusterName: cluster1
serverVersion: 6.8.0
racks:
- name: r1
serverType: dse
storageConfig:
cassandraDataVolumeClaimSpec:
accessModes:
- ReadWriteOnce
resources:
requests:
storage: 500Mi
storageClassName: local-storage
managementApiAuth:
insecure: {}

0 comments on commit 67de3e2

Please sign in to comment.