|
| 1 | +apiVersion: apiextensions.k8s.io/v1 |
| 2 | +kind: CustomResourceDefinition |
| 3 | +metadata: |
| 4 | + annotations: |
| 5 | + controller-gen.kubebuilder.io/version: v0.16.1 |
| 6 | + creationTimestamp: null |
| 7 | + name: dscinitializations.dscinitialization.opendatahub.io |
| 8 | +spec: |
| 9 | + group: dscinitialization.opendatahub.io |
| 10 | + names: |
| 11 | + kind: DSCInitialization |
| 12 | + listKind: DSCInitializationList |
| 13 | + plural: dscinitializations |
| 14 | + shortNames: |
| 15 | + - dsci |
| 16 | + singular: dscinitialization |
| 17 | + scope: Cluster |
| 18 | + versions: |
| 19 | + - additionalPrinterColumns: |
| 20 | + - jsonPath: .metadata.creationTimestamp |
| 21 | + name: Age |
| 22 | + type: date |
| 23 | + - description: Current Phase |
| 24 | + jsonPath: .status.phase |
| 25 | + name: Phase |
| 26 | + type: string |
| 27 | + - jsonPath: .metadata.creationTimestamp |
| 28 | + name: Created At |
| 29 | + type: string |
| 30 | + name: v1 |
| 31 | + schema: |
| 32 | + openAPIV3Schema: |
| 33 | + description: DSCInitialization is the Schema for the dscinitializations API. |
| 34 | + properties: |
| 35 | + apiVersion: |
| 36 | + description: |- |
| 37 | + APIVersion defines the versioned schema of this representation of an object. |
| 38 | + Servers should convert recognized schemas to the latest internal value, and |
| 39 | + may reject unrecognized values. |
| 40 | + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources |
| 41 | + type: string |
| 42 | + kind: |
| 43 | + description: |- |
| 44 | + Kind is a string value representing the REST resource this object represents. |
| 45 | + Servers may infer this from the endpoint the client submits requests to. |
| 46 | + Cannot be updated. |
| 47 | + In CamelCase. |
| 48 | + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds |
| 49 | + type: string |
| 50 | + metadata: |
| 51 | + type: object |
| 52 | + spec: |
| 53 | + description: DSCInitializationSpec defines the desired state of DSCInitialization. |
| 54 | + properties: |
| 55 | + applicationsNamespace: |
| 56 | + default: opendatahub |
| 57 | + description: Namespace for applications to be installed, non-configurable, |
| 58 | + default to "opendatahub" |
| 59 | + type: string |
| 60 | + x-kubernetes-validations: |
| 61 | + - message: ApplicationsNamespace is immutable |
| 62 | + rule: self == oldSelf |
| 63 | + devFlags: |
| 64 | + description: |- |
| 65 | + Internal development useful field to test customizations. |
| 66 | + This is not recommended to be used in production environment. |
| 67 | + properties: |
| 68 | + logmode: |
| 69 | + default: production |
| 70 | + enum: |
| 71 | + - devel |
| 72 | + - development |
| 73 | + - prod |
| 74 | + - production |
| 75 | + type: string |
| 76 | + manifestsUri: |
| 77 | + description: Custom manifests uri for odh-manifests |
| 78 | + type: string |
| 79 | + type: object |
| 80 | + monitoring: |
| 81 | + description: Enable monitoring on specified namespace |
| 82 | + properties: |
| 83 | + managementState: |
| 84 | + description: |- |
| 85 | + Set to one of the following values: |
| 86 | + - "Managed" : the operator is actively managing the component and trying to keep it active. |
| 87 | + It will only upgrade the component if it is safe to do so. |
| 88 | + - "Removed" : the operator is actively managing the component and will not install it, |
| 89 | + or if it is installed, the operator will try to remove it. |
| 90 | + enum: |
| 91 | + - Managed |
| 92 | + - Removed |
| 93 | + pattern: ^(Managed|Unmanaged|Force|Removed)$ |
| 94 | + type: string |
| 95 | + namespace: |
| 96 | + default: opendatahub |
| 97 | + description: Namespace for monitoring if it is enabled |
| 98 | + type: string |
| 99 | + type: object |
| 100 | + serviceMesh: |
| 101 | + description: |- |
| 102 | + Configures Service Mesh as networking layer for Data Science Clusters components. |
| 103 | + The Service Mesh is a mandatory prerequisite for single model serving (KServe) and |
| 104 | + you should review this configuration if you are planning to use KServe. |
| 105 | + For other components, it enhances user experience; e.g. it provides unified |
| 106 | + authentication giving a Single Sign On experience. |
| 107 | + properties: |
| 108 | + auth: |
| 109 | + description: |- |
| 110 | + Auth holds configuration of authentication and authorization services |
| 111 | + used by Service Mesh in Opendatahub. |
| 112 | + properties: |
| 113 | + audiences: |
| 114 | + default: |
| 115 | + - https://kubernetes.default.svc |
| 116 | + description: |- |
| 117 | + Audiences is a list of the identifiers that the resource server presented |
| 118 | + with the token identifies as. Audience-aware token authenticators will verify |
| 119 | + that the token was intended for at least one of the audiences in this list. |
| 120 | + If no audiences are provided, the audience will default to the audience of the |
| 121 | + Kubernetes apiserver (kubernetes.default.svc). |
| 122 | + items: |
| 123 | + type: string |
| 124 | + type: array |
| 125 | + namespace: |
| 126 | + description: |- |
| 127 | + Namespace where it is deployed. If not provided, the default is to |
| 128 | + use '-auth-provider' suffix on the ApplicationsNamespace of the DSCI. |
| 129 | + type: string |
| 130 | + type: object |
| 131 | + controlPlane: |
| 132 | + description: ControlPlane holds configuration of Service Mesh |
| 133 | + used by Opendatahub. |
| 134 | + properties: |
| 135 | + metricsCollection: |
| 136 | + default: Istio |
| 137 | + description: |- |
| 138 | + MetricsCollection specifies if metrics from components on the Mesh namespace |
| 139 | + should be collected. Setting the value to "Istio" will collect metrics from the |
| 140 | + control plane and any proxies on the Mesh namespace (like gateway pods). Setting |
| 141 | + to "None" will disable metrics collection. |
| 142 | + enum: |
| 143 | + - Istio |
| 144 | + - None |
| 145 | + type: string |
| 146 | + name: |
| 147 | + default: data-science-smcp |
| 148 | + description: Name is a name Service Mesh Control Plane. Defaults |
| 149 | + to "data-science-smcp". |
| 150 | + type: string |
| 151 | + namespace: |
| 152 | + default: istio-system |
| 153 | + description: Namespace is a namespace where Service Mesh is |
| 154 | + deployed. Defaults to "istio-system". |
| 155 | + type: string |
| 156 | + type: object |
| 157 | + managementState: |
| 158 | + default: Removed |
| 159 | + enum: |
| 160 | + - Managed |
| 161 | + - Unmanaged |
| 162 | + - Removed |
| 163 | + pattern: ^(Managed|Unmanaged|Force|Removed)$ |
| 164 | + type: string |
| 165 | + type: object |
| 166 | + trustedCABundle: |
| 167 | + description: |- |
| 168 | + When set to `Managed`, adds odh-trusted-ca-bundle Configmap to all namespaces that includes |
| 169 | + cluster-wide Trusted CA Bundle in .data["ca-bundle.crt"]. |
| 170 | + Additionally, this fields allows admins to add custom CA bundles to the configmap using the .CustomCABundle field. |
| 171 | + properties: |
| 172 | + customCABundle: |
| 173 | + default: "" |
| 174 | + description: |- |
| 175 | + A custom CA bundle that will be available for all components in the |
| 176 | + Data Science Cluster(DSC). This bundle will be stored in odh-trusted-ca-bundle |
| 177 | + ConfigMap .data.odh-ca-bundle.crt . |
| 178 | + type: string |
| 179 | + managementState: |
| 180 | + default: Removed |
| 181 | + description: managementState indicates whether and how the operator |
| 182 | + should manage customized CA bundle |
| 183 | + enum: |
| 184 | + - Managed |
| 185 | + - Removed |
| 186 | + - Unmanaged |
| 187 | + pattern: ^(Managed|Unmanaged|Force|Removed)$ |
| 188 | + type: string |
| 189 | + required: |
| 190 | + - customCABundle |
| 191 | + - managementState |
| 192 | + type: object |
| 193 | + required: |
| 194 | + - applicationsNamespace |
| 195 | + type: object |
| 196 | + status: |
| 197 | + description: DSCInitializationStatus defines the observed state of DSCInitialization. |
| 198 | + properties: |
| 199 | + conditions: |
| 200 | + description: Conditions describes the state of the DSCInitializationStatus |
| 201 | + resource |
| 202 | + items: |
| 203 | + description: |- |
| 204 | + Condition represents the state of the operator's |
| 205 | + reconciliation functionality. |
| 206 | + properties: |
| 207 | + lastHeartbeatTime: |
| 208 | + format: date-time |
| 209 | + type: string |
| 210 | + lastTransitionTime: |
| 211 | + format: date-time |
| 212 | + type: string |
| 213 | + message: |
| 214 | + type: string |
| 215 | + reason: |
| 216 | + type: string |
| 217 | + status: |
| 218 | + type: string |
| 219 | + type: |
| 220 | + description: ConditionType is the state of the operator's reconciliation |
| 221 | + functionality. |
| 222 | + type: string |
| 223 | + required: |
| 224 | + - status |
| 225 | + - type |
| 226 | + type: object |
| 227 | + type: array |
| 228 | + errorMessage: |
| 229 | + type: string |
| 230 | + phase: |
| 231 | + description: |- |
| 232 | + Phase describes the Phase of DSCInitializationStatus |
| 233 | + This is used by OLM UI to provide status information to the user |
| 234 | + type: string |
| 235 | + relatedObjects: |
| 236 | + description: |- |
| 237 | + RelatedObjects is a list of objects created and maintained by this operator. |
| 238 | + Object references will be added to this list after they have been created AND found in the cluster |
| 239 | + items: |
| 240 | + description: ObjectReference contains enough information to let |
| 241 | + you inspect or modify the referred object. |
| 242 | + properties: |
| 243 | + apiVersion: |
| 244 | + description: API version of the referent. |
| 245 | + type: string |
| 246 | + fieldPath: |
| 247 | + description: |- |
| 248 | + If referring to a piece of an object instead of an entire object, this string |
| 249 | + should contain a valid JSON/Go field access statement, such as desiredState.manifest.containers[2]. |
| 250 | + For example, if the object reference is to a container within a pod, this would take on a value like: |
| 251 | + "spec.containers{name}" (where "name" refers to the name of the container that triggered |
| 252 | + the event) or if no container name is specified "spec.containers[2]" (container with |
| 253 | + index 2 in this pod). This syntax is chosen only to have some well-defined way of |
| 254 | + referencing a part of an object. |
| 255 | + type: string |
| 256 | + kind: |
| 257 | + description: |- |
| 258 | + Kind of the referent. |
| 259 | + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds |
| 260 | + type: string |
| 261 | + name: |
| 262 | + description: |- |
| 263 | + Name of the referent. |
| 264 | + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names |
| 265 | + type: string |
| 266 | + namespace: |
| 267 | + description: |- |
| 268 | + Namespace of the referent. |
| 269 | + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/ |
| 270 | + type: string |
| 271 | + resourceVersion: |
| 272 | + description: |- |
| 273 | + Specific resourceVersion to which this reference is made, if any. |
| 274 | + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency |
| 275 | + type: string |
| 276 | + uid: |
| 277 | + description: |- |
| 278 | + UID of the referent. |
| 279 | + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#uids |
| 280 | + type: string |
| 281 | + type: object |
| 282 | + x-kubernetes-map-type: atomic |
| 283 | + type: array |
| 284 | + release: |
| 285 | + description: Version and release type |
| 286 | + properties: |
| 287 | + name: |
| 288 | + type: string |
| 289 | + version: |
| 290 | + type: string |
| 291 | + type: object |
| 292 | + type: object |
| 293 | + type: object |
| 294 | + served: true |
| 295 | + storage: true |
| 296 | + subresources: |
| 297 | + status: {} |
| 298 | +status: |
| 299 | + acceptedNames: |
| 300 | + kind: "" |
| 301 | + plural: "" |
| 302 | + conditions: null |
| 303 | + storedVersions: null |
0 commit comments