|
| 1 | +apiVersion: apiextensions.k8s.io/v1 |
| 2 | +kind: CustomResourceDefinition |
| 3 | +metadata: |
| 4 | + annotations: |
| 5 | + controller-gen.kubebuilder.io/version: v0.14.0 |
| 6 | + creationTimestamp: null |
| 7 | + labels: |
| 8 | + app.kubernetes.io/component: controller |
| 9 | + app.kubernetes.io/instance: mongodb-atlas-kubernetes-operator |
| 10 | + app.kubernetes.io/name: mongodb-atlas-kubernetes-operator |
| 11 | + name: atlasstreamconnections.atlas.mongodb.com |
| 12 | +spec: |
| 13 | + group: atlas.mongodb.com |
| 14 | + names: |
| 15 | + kind: AtlasStreamConnection |
| 16 | + listKind: AtlasStreamConnectionList |
| 17 | + plural: atlasstreamconnections |
| 18 | + singular: atlasstreamconnection |
| 19 | + scope: Namespaced |
| 20 | + versions: |
| 21 | + - name: v1 |
| 22 | + schema: |
| 23 | + openAPIV3Schema: |
| 24 | + description: AtlasStreamConnection is the Schema for the atlasstreamconnections |
| 25 | + API |
| 26 | + properties: |
| 27 | + apiVersion: |
| 28 | + description: |- |
| 29 | + APIVersion defines the versioned schema of this representation of an object. |
| 30 | + Servers should convert recognized schemas to the latest internal value, and |
| 31 | + may reject unrecognized values. |
| 32 | + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources |
| 33 | + type: string |
| 34 | + kind: |
| 35 | + description: |- |
| 36 | + Kind is a string value representing the REST resource this object represents. |
| 37 | + Servers may infer this from the endpoint the client submits requests to. |
| 38 | + Cannot be updated. |
| 39 | + In CamelCase. |
| 40 | + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds |
| 41 | + type: string |
| 42 | + metadata: |
| 43 | + type: object |
| 44 | + spec: |
| 45 | + properties: |
| 46 | + clusterConfig: |
| 47 | + description: The configuration to be used to connect to a Atlas Cluster |
| 48 | + properties: |
| 49 | + name: |
| 50 | + description: Name of the cluster configured for this connection |
| 51 | + type: string |
| 52 | + role: |
| 53 | + description: The name of a Built in or Custom DB Role to connect |
| 54 | + to an Atlas Cluster |
| 55 | + properties: |
| 56 | + name: |
| 57 | + description: The name of the role to use. Can be a built in |
| 58 | + role or a custom role |
| 59 | + type: string |
| 60 | + type: |
| 61 | + description: Type of the DB role. Can be either BuiltIn or |
| 62 | + Custom |
| 63 | + enum: |
| 64 | + - BUILT_IN |
| 65 | + - CUSTOM |
| 66 | + type: string |
| 67 | + required: |
| 68 | + - name |
| 69 | + - type |
| 70 | + type: object |
| 71 | + required: |
| 72 | + - name |
| 73 | + - role |
| 74 | + type: object |
| 75 | + kafkaConfig: |
| 76 | + description: The configuration to be used to connect to a Kafka Cluster |
| 77 | + properties: |
| 78 | + authentication: |
| 79 | + description: User credentials required to connect to a Kafka Cluster. |
| 80 | + Includes the authentication type, as well as the parameters |
| 81 | + for that authentication mode |
| 82 | + properties: |
| 83 | + credentials: |
| 84 | + description: Reference to the secret containing th Username |
| 85 | + and Password of the account to connect to the Kafka cluster. |
| 86 | + properties: |
| 87 | + name: |
| 88 | + description: Name is the name of the Kubernetes Resource |
| 89 | + type: string |
| 90 | + namespace: |
| 91 | + description: Namespace is the namespace of the Kubernetes |
| 92 | + Resource |
| 93 | + type: string |
| 94 | + required: |
| 95 | + - name |
| 96 | + type: object |
| 97 | + mechanism: |
| 98 | + description: Style of authentication. Can be one of PLAIN, |
| 99 | + SCRAM-256, or SCRAM-512 |
| 100 | + enum: |
| 101 | + - PLAIN |
| 102 | + - SCRAM-256 |
| 103 | + - SCRAM-512 |
| 104 | + type: string |
| 105 | + required: |
| 106 | + - credentials |
| 107 | + - mechanism |
| 108 | + type: object |
| 109 | + bootstrapServers: |
| 110 | + description: Comma separated list of server addresses |
| 111 | + type: string |
| 112 | + config: |
| 113 | + additionalProperties: |
| 114 | + type: string |
| 115 | + description: A map of Kafka key-value pairs for optional configuration. |
| 116 | + This is a flat object, and keys can have '.' characters |
| 117 | + type: object |
| 118 | + security: |
| 119 | + description: Properties for the secure transport connection to |
| 120 | + Kafka. For SSL, this can include the trusted certificate to |
| 121 | + use |
| 122 | + properties: |
| 123 | + certificate: |
| 124 | + description: A trusted, public x509 certificate for connecting |
| 125 | + to Kafka over SSL |
| 126 | + properties: |
| 127 | + name: |
| 128 | + description: Name is the name of the Kubernetes Resource |
| 129 | + type: string |
| 130 | + namespace: |
| 131 | + description: Namespace is the namespace of the Kubernetes |
| 132 | + Resource |
| 133 | + type: string |
| 134 | + required: |
| 135 | + - name |
| 136 | + type: object |
| 137 | + protocol: |
| 138 | + description: Describes the transport type. Can be either PLAINTEXT |
| 139 | + or SSL |
| 140 | + enum: |
| 141 | + - PLAINTEXT |
| 142 | + - SSL |
| 143 | + type: string |
| 144 | + required: |
| 145 | + - protocol |
| 146 | + type: object |
| 147 | + required: |
| 148 | + - authentication |
| 149 | + - bootstrapServers |
| 150 | + - security |
| 151 | + type: object |
| 152 | + name: |
| 153 | + description: Human-readable label that uniquely identifies the stream |
| 154 | + connection |
| 155 | + type: string |
| 156 | + type: |
| 157 | + description: Type of the connection. Can be either Cluster or Kafka |
| 158 | + enum: |
| 159 | + - Kafka |
| 160 | + - Cluster |
| 161 | + - Sample |
| 162 | + type: string |
| 163 | + required: |
| 164 | + - name |
| 165 | + - type |
| 166 | + type: object |
| 167 | + status: |
| 168 | + properties: |
| 169 | + conditions: |
| 170 | + description: Conditions is the list of statuses showing the current |
| 171 | + state of the Atlas Custom Resource |
| 172 | + items: |
| 173 | + description: Condition describes the state of an Atlas Custom Resource |
| 174 | + at a certain point. |
| 175 | + properties: |
| 176 | + lastTransitionTime: |
| 177 | + description: Last time the condition transitioned from one status |
| 178 | + to another. |
| 179 | + format: date-time |
| 180 | + type: string |
| 181 | + message: |
| 182 | + description: A human readable message indicating details about |
| 183 | + the transition. |
| 184 | + type: string |
| 185 | + reason: |
| 186 | + description: The reason for the condition's last transition. |
| 187 | + type: string |
| 188 | + status: |
| 189 | + description: Status of the condition, one of True, False, Unknown. |
| 190 | + type: string |
| 191 | + type: |
| 192 | + description: Type of Atlas Custom Resource condition. |
| 193 | + type: string |
| 194 | + required: |
| 195 | + - status |
| 196 | + - type |
| 197 | + type: object |
| 198 | + type: array |
| 199 | + instances: |
| 200 | + description: List of instances using the connection configuration |
| 201 | + items: |
| 202 | + description: ResourceRefNamespaced is a reference to a Kubernetes |
| 203 | + Resource that allows to configure the namespace |
| 204 | + properties: |
| 205 | + name: |
| 206 | + description: Name is the name of the Kubernetes Resource |
| 207 | + type: string |
| 208 | + namespace: |
| 209 | + description: Namespace is the namespace of the Kubernetes Resource |
| 210 | + type: string |
| 211 | + required: |
| 212 | + - name |
| 213 | + type: object |
| 214 | + type: array |
| 215 | + observedGeneration: |
| 216 | + description: |- |
| 217 | + ObservedGeneration indicates the generation of the resource specification that the Atlas Operator is aware of. |
| 218 | + The Atlas Operator updates this field to the 'metadata.generation' as soon as it starts reconciliation of the resource. |
| 219 | + format: int64 |
| 220 | + type: integer |
| 221 | + required: |
| 222 | + - conditions |
| 223 | + type: object |
| 224 | + type: object |
| 225 | + served: true |
| 226 | + storage: true |
| 227 | + subresources: |
| 228 | + status: {} |
| 229 | +status: |
| 230 | + acceptedNames: |
| 231 | + kind: "" |
| 232 | + plural: "" |
| 233 | + conditions: null |
| 234 | + storedVersions: null |
0 commit comments