Skip to content

Commit

Permalink
Merge pull request #522 from alecmerdler/ALM-754
Browse files Browse the repository at this point in the history
More Descriptors for Dynatrace Operator
  • Loading branch information
openshift-merge-robot authored Oct 24, 2018
2 parents e838f7f + e256113 commit b8f267d
Show file tree
Hide file tree
Showing 3 changed files with 31 additions and 33 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,38 @@ spec:
path: tokens
x-descriptors:
- 'urn:alm:descriptor:io.kubernetes:core:v1:Secret'
- description: >-
'Location of the Dynatrace API to connect to, including your
specific environment ID'
- description: Location of the Dynatrace API to connect to, including your specific environment ID.
displayName: API URL
path: apiUrl
x-descriptors:
- 'urn:alm:descriptor:com.tectonic.ui:label'
- description: Specifies if certificate checks should be skipped.
displayName: Skip Certificate Check
path: skipCertCheck
x-descriptors:
- 'urn:alm:descriptor:com.tectonic.ui:booleanCheck'
- description: Node selector for where pods should be scheduled.
displayName: Node Selector
path: nodeSelector
x-descriptors:
- 'urn:alm:descriptor:com.tectonic.ui:selector:core:v1:Node'
- description: The Dynatrace installer container image.
displayName: Image
path: image
- description: Define resources requests and limits for single Pods
displayName: Resource Requirements
path: resources
x-descriptors:
- 'urn:alm:descriptor:com.tectonic.ui:resourceRequirements'
statusDescriptors:
- description: Dynatrace version being used.
displayName: Version
path: version
- description: The timestamp when the instance was last updated.
displayName: Last Updated
path: updatedTimestamp
x-descriptors:
- 'urn:alm:descriptor:timestamp'
version: v1alpha1
keywords:
- monitoring
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,19 +3,16 @@ kind: ClusterServiceVersion
metadata:
name: mongodboperator.v0.3.2
namespace: placeholder

annotations:
alm-examples: >-
[{"apiVersion":"mongodb.com/v1","kind":"MongoDbStandalone","metadata":{"name":"my-standalone","namespace":"mongodb"},"spec":{"version":"4.0.2","persistent":false,"project":"my-project","credentials":"my-credentials"}},{"apiVersion":"mongodb.com/v1","kind":"MongoDbReplicaSet","metadata":{"name":"my-replica-set","namespace":"mongodb"},"spec":{"members":3,"version":"4.0.2","persistent":false,"project":"my-project","credentials":"my-credentials"}},{"apiVersion":"mongodb.com/v1","kind":"MongoDbShardedCluster","metadata":{"name":"my-sharded-cluster","namespace":"mongodb"},"spec":{"shardCount": 2, "mongodsPerShardCount": 3, "mongosCount": 2, "configServerCount": 3,"version":"4.0.2","persistent":false,"project":"my-project","credentials":"my-credentials"}}]
spec:
displayName: MongoDB
provider:
name: 'MongoDB, Inc'
maturity: stable
version: 0.3.2
keywords: ["mongodb", "database", "nosql"]

maintainers:
- email: [email protected]
name: 'MongoDB, Inc'
Expand Down Expand Up @@ -67,16 +64,13 @@ spec:
routing processes. Sharding is a A database architecture that partitions
data by key ranges and distributes the data among two or more database
instances. Sharding enables horizontal scaling.
links:
- name: Documentation
url: 'https://docs.opsmanager.mongodb.com/current/tutorial/install-k8s-operator/index.html'
icon:
- base64data: >-
iVBORw0KGgoAAAANSUhEUgAAAH8AAAB/CAYAAADGvR0TAAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH4ggYEhkp9JVi8gAAFENJREFUeNrtnXmcVeV5x7/Pe86dGUZQUdwAo4Kaam1cUAdm3DAYl1ZjmmhMYkUlkMYtMVVrVExqY7q4oabNp6EuMdpEq8ZGpf1oJCbKJgxqlWiIgIrACCgimwJznv5xlvue5d65dxjsvXPP4+d4t3OB+/7e37O/7wsNKhdNv9iZ8uqNQgOLadhfLnLA7CV/OOrT/3JMDn7D/XDh02s3bRr/h4ufz8FvNOnu1s9v2rL5/EZW+06j/eCJT09i1Pijdhb46ZpNGwa4Jw4x7097+9mGtHyN+KMn/fob/yyYK998byWLV727FXQPgfcXXjIjV/v9Uc7/nwkATHhq4t+q6pWKUjAOgroCf73wkhkc+KOOnPn9dwJceIkx5k6DwRjDyg/XsmD52+Eg7LHwkhkrc+b3Izl32nkAnDftgkcV7kRBUVQVxxhAw1ufOfBHHaaR2N+vwf/KE+fS7W0Z8LVp5z2t6BcIQPfhViS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name: mongodbstandalones.mongodb.com
Expand All @@ -85,8 +79,8 @@ spec:
group: mongodb.com
displayName: MongoDB Standalone
description: MongoDB Deployment consisting of only one host. No replication of data.

resources:
# FIXME(alecmerdler): These are probably supposed to be different resources for the different CRD configurations
- kind: Service
name: ''
version: v1
Expand All @@ -96,40 +90,35 @@ spec:
- kind: Pod
name: ''
version: v1

specDescriptors:
- description: Credentials for Ops Manager or Cloud Manager.
displayName: Credentials
path: credentials
x-descriptors:
- 'urn:alm:descriptor:io.kubernetes:core:v1:Secret'

- description: Project this deployment belongs to.
displayName: Project
path: project
x-descriptors:
- 'urn:alm:descriptor:io.kubernetes:core:v1:ConfigMap'

- description: MongoDB version to be installed.
displayName: Version
path: version
x-descriptors:
- 'urn:alm:descriptor:com.tectonic.ui:text'

- description: The service where the MongoDB deployment will be listening.
displayName: Service
path: service
x-descriptors:
- 'urn:alm:descriptor:io.kubernetes:Service'

- name: mongodbreplicasets.mongodb.com
version: v1
kind: MongoDbReplicaSet
group: mongodb.com
displayName: MongoDB Replica Set
description: MongoDB Replica Set Deployment

resources:
# FIXME(alecmerdler): These are probably supposed to be different resources for the different CRD configurations
- kind: Service
name: ''
version: v1
Expand All @@ -139,46 +128,40 @@ spec:
- kind: Pod
name: ''
version: v1

specDescriptors:
- description: Number of members in this Replica Set.
displayName: Members
path: members
x-descriptors:
- 'urn:alm:descriptor:text'

- description: Credentials for Ops Manager or Cloud Manager.
displayName: Credentials
path: credentials
x-descriptors:
- 'urn:alm:descriptor:io.kubernetes:core:v1:Secret'

- description: Project this deployment belongs to.
displayName: Project
path: project
x-descriptors:
- 'urn:alm:descriptor:io.kubernetes:core:v1:ConfigMap'

- description: MongoDB version to be installed.
displayName: Version
path: version
x-descriptors:
- 'urn:alm:descriptor:com.tectonic.ui:label'

- description: The service where this MongoDB deployment will be listening.
displayName: Service
path: service
x-descriptors:
- 'urn:alm:descriptor:io.kubernetes:Service'

- name: mongodbshardedclusters.mongodb.com
description: MongoDB Sharded Cluster Deployment
displayName: MongoDB Sharded Cluster
group: mongodb.com
kind: MongoDbShardedCluster
version: v1

resources:
# FIXME(alecmerdler): These are probably supposed to be different resources for the different CRD configurations
- kind: Service
name: ''
version: v1
Expand All @@ -188,7 +171,6 @@ spec:
- kind: Pod
name: ''
version: v1

specDescriptors:
- description: Credentials for Ops Manager or Cloud Manager.
displayName: Credentials
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -260,8 +260,6 @@ spec:
items:
type: string
value:
# FIXME(alecmerdler): Doesn't allow boolean values
type: object
description: If present, the value of this status is the same for all instances of the API resource and can be found here instead of on the API resource.
specDescriptors:
type: array
Expand All @@ -288,7 +286,6 @@ spec:
items:
type: string
value:
type: object
description: If present, the value of this spec is the same for all instances of the API Resource and can be found here instead of on the API resource.
actionDescriptors:
type: array
Expand All @@ -315,7 +312,6 @@ spec:
items:
type: string
value:
type: object
description: If present, the value of this action is the same for all instances of the API resource and can be found here instead of on the API resource.
required:
type: array
Expand Down Expand Up @@ -375,7 +371,6 @@ spec:
items:
type: string
value:
type: object
description: If present, the value of this status is the same for all instances of the API Resource and can be found here instead of on the API Resource.

customresourcedefinitions:
Expand Down Expand Up @@ -451,7 +446,6 @@ spec:
items:
type: string
value:
type: object
description: If present, the value of this status is the same for all instances of the CRD and can be found here instead of on the CR.
specDescriptors:
type: array
Expand All @@ -478,7 +472,6 @@ spec:
items:
type: string
value:
type: object
description: If present, the value of this spec is the same for all instances of the CRD and can be found here instead of on the CR.
actionDescriptors:
type: array
Expand All @@ -505,7 +498,6 @@ spec:
items:
type: string
value:
type: object
description: If present, the value of this action is the same for all instances of the CRD and can be found here instead of on the CR.
required:
type: array
Expand Down Expand Up @@ -559,7 +551,6 @@ spec:
items:
type: string
value:
type: object
description: If present, the value of this status is the same for all instances of the CRD and can be found here instead of on the CR.


Expand Down

0 comments on commit b8f267d

Please sign in to comment.