Skip to content

Commit e908d5f

Browse files
chore: update RHAI XKS chart bundle from rhods-operator main
1 parent 4fb95d5 commit e908d5f

18 files changed

Lines changed: 2744 additions & 0 deletions

charts/rhai-on-xks-chart/templates/crds/customresourcedefinition-kserves.components.platform.opendatahub.io.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -145,6 +145,7 @@ spec:
145145
type: string
146146
type: object
147147
nim:
148+
default: {}
148149
description: Configures and enables NVIDIA NIM integration
149150
properties:
150151
airGapped:
Lines changed: 157 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,157 @@
1+
{{- if .Values.enabled }}
2+
apiVersion: apiextensions.k8s.io/v1
3+
kind: CustomResourceDefinition
4+
metadata:
5+
annotations:
6+
controller-gen.kubebuilder.io/version: v0.17.3
7+
helm.sh/resource-policy: keep
8+
name: platforms.config.opendatahub.io
9+
spec:
10+
group: config.opendatahub.io
11+
names:
12+
kind: Platform
13+
listKind: PlatformList
14+
plural: platforms
15+
shortNames:
16+
- odhp
17+
singular: platform
18+
scope: Cluster
19+
versions:
20+
- additionalPrinterColumns:
21+
- description: Ready
22+
jsonPath: .status.conditions[?(@.type=="Ready")].status
23+
name: Ready
24+
type: string
25+
- description: Reason
26+
jsonPath: .status.conditions[?(@.type=="Ready")].reason
27+
name: Reason
28+
type: string
29+
name: v1alpha1
30+
schema:
31+
openAPIV3Schema:
32+
description: |-
33+
Platform is the Schema for the platforms API. It serves as the primary
34+
reconcile trigger for the module reconciler on clusters where
35+
DataScienceCluster is not installed (xKS / vanilla Kubernetes).
36+
properties:
37+
apiVersion:
38+
description: |-
39+
APIVersion defines the versioned schema of this representation of an object.
40+
Servers should convert recognized schemas to the latest internal value, and
41+
may reject unrecognized values.
42+
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
43+
type: string
44+
kind:
45+
description: |-
46+
Kind is a string value representing the REST resource this object represents.
47+
Servers may infer this from the endpoint the client submits requests to.
48+
Cannot be updated.
49+
In CamelCase.
50+
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
51+
type: string
52+
metadata:
53+
type: object
54+
spec:
55+
description: PlatformSpec defines the desired state of Platform.
56+
properties:
57+
modules:
58+
description: |-
59+
Modules declares the set of modules managed by this Platform instance.
60+
Each field corresponds to a registered module handler. Modules follow
61+
the same Managed/Removed/empty convention as DSC components: Managed
62+
deploys the module, Removed tears it down, empty means not managed.
63+
properties:
64+
monitoring:
65+
description: Monitoring controls the monitoring module operator lifecycle.
66+
properties:
67+
managementState:
68+
description: |-
69+
Set to one of the following values:
70+
71+
- "Managed" : the operator is actively managing the component and trying to keep it active.
72+
It will only upgrade the component if it is safe to do so
73+
74+
- "Removed" : the operator is actively managing the component and will not install it,
75+
or if it is installed, the operator will try to remove it
76+
enum:
77+
- Managed
78+
- Removed
79+
pattern: ^(Managed|Unmanaged|Force|Removed)$
80+
type: string
81+
type: object
82+
type: object
83+
type: object
84+
status:
85+
description: PlatformStatus defines the observed state of Platform.
86+
properties:
87+
conditions:
88+
items:
89+
properties:
90+
lastHeartbeatTime:
91+
description: |-
92+
The last time we got an update on a given condition, this should not be set and is
93+
present only for backward compatibility reasons
94+
format: date-time
95+
type: string
96+
lastTransitionTime:
97+
description: |-
98+
lastTransitionTime is the last time the condition transitioned from one status to another.
99+
This should be when the underlying condition changed.
100+
If that is not known, then using the time when the API field changed is acceptable.
101+
format: date-time
102+
type: string
103+
message:
104+
description: message is a human-readable message indicating details about the transition.
105+
type: string
106+
observedGeneration:
107+
description: |-
108+
observedGeneration represents the .metadata.generation that the condition was set based upon.
109+
For instance, if .metadata.generation is currently 12, but the .status.conditions[x].observedGeneration
110+
is 9, the condition is out of date with respect to the current state of the instance.
111+
format: int64
112+
minimum: 0
113+
type: integer
114+
reason:
115+
description: |-
116+
reason contains a programmatic identifier indicating the reason for the condition's last transition.
117+
The value should be a CamelCase string.
118+
type: string
119+
severity:
120+
description: |-
121+
Severity with which to treat failures of this type of condition.
122+
When this is not specified, it defaults to Error.
123+
type: string
124+
status:
125+
description: status of the condition, one of True, False, Unknown.
126+
enum:
127+
- "True"
128+
- "False"
129+
- Unknown
130+
type: string
131+
type:
132+
description: type of condition in CamelCase or in foo.example.com/CamelCase.
133+
maxLength: 316
134+
pattern: ^([a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*/)?(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])$
135+
type: string
136+
required:
137+
- status
138+
- type
139+
type: object
140+
type: array
141+
x-kubernetes-list-type: atomic
142+
observedGeneration:
143+
description: The generation observed by the resource controller.
144+
format: int64
145+
type: integer
146+
phase:
147+
type: string
148+
type: object
149+
type: object
150+
x-kubernetes-validations:
151+
- message: Platform name must be default
152+
rule: self.metadata.name == 'default'
153+
served: true
154+
storage: true
155+
subresources:
156+
status: {}
157+
{{- end }}

charts/rhai-on-xks-chart/templates/manager/deployment-rhods-operator.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,8 @@ spec:
114114
fieldPath: metadata.namespace
115115
- name: DEFAULT_MANIFESTS_PATH
116116
value: /opt/manifests
117+
- name: DEFAULT_CHARTS_PATH
118+
value: /opt/charts
117119
{{- range $item := .Values.rhaiOperator.relatedImages }}
118120
- name: {{ $item.name | quote }}
119121
value: {{ $item.value | quote }}

charts/rhai-on-xks-chart/templates/rbac/clusterrole-rhods-operator-role.yaml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -372,6 +372,28 @@ rules:
372372
- workbenches/finalizers
373373
verbs:
374374
- update
375+
- apiGroups:
376+
- config.opendatahub.io
377+
resources:
378+
- platforms
379+
verbs:
380+
- get
381+
- list
382+
- watch
383+
- apiGroups:
384+
- config.opendatahub.io
385+
resources:
386+
- platforms/finalizers
387+
verbs:
388+
- update
389+
- apiGroups:
390+
- config.opendatahub.io
391+
resources:
392+
- platforms/status
393+
verbs:
394+
- get
395+
- patch
396+
- update
375397
- apiGroups:
376398
- config.openshift.io
377399
resources:

0 commit comments

Comments
 (0)