Skip to content

Commit

Permalink
update gaudi resource driver chart to v0.2.0 (#63)
Browse files Browse the repository at this point in the history
* update gaudi resource driver chart to v0.2.0

Signed-off-by: Oksana Baranova <[email protected]>
  • Loading branch information
oxxenix authored Oct 29, 2024
1 parent 86eed79 commit 1686b27
Show file tree
Hide file tree
Showing 12 changed files with 64 additions and 363 deletions.
4 changes: 2 additions & 2 deletions charts/intel-gaudi-resource-driver/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@ name: intel-gaudi-resource-driver
description: A Helm chart for a Dynamic Resource Allocation (DRA) Intel Gaudi Resource Driver

type: application
version: 0.1.1
appVersion: "v0.1.1"
version: 0.2.0
appVersion: "v0.2.0"
6 changes: 2 additions & 4 deletions charts/intel-gaudi-resource-driver/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,7 @@ You may also run `helm show values` on this chart's dependencies for additional
| image.repository | string | `intel` |
| image.name | string | `"intel-gaudi-resource-driver"` |
| image.pullPolicy | string | `"IfNotPresent"` |
| image.tag | string | `"v0.1.1"` |

If you change the image tag to be used in Helm chart deployment, ensure that the version of the container image is consistent with CRDs and deployment YAMLs - they might change between releases.
| image.tag | string | `"v0.2.0"` |

> [!Note]
> Helm does not support _upgrading_ (or deleting) CRDs to prevent data loss. Only installing CRDs is supported. Details: https://github.com/helm/community/blob/main/hips/hip-0011.md
> When upgrading, CRDs from previous version need to be removed manually because Helm supports neither upgrading nor deleting CRDs, see: https://github.com/helm/community/blob/main/hips/hip-0011.md

This file was deleted.

This file was deleted.

This file was deleted.

14 changes: 7 additions & 7 deletions charts/intel-gaudi-resource-driver/templates/clusterrole.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@ metadata:
namespace: {{ include "intel-gaudi-resource-driver.namespace" . }}
rules:
- apiGroups: [""]
resources: ["pods", "nodes", "events"]
verbs: ["get", "list", "create", "watch", "patch"]
resources: ["nodes"]
verbs: ["get"]
- apiGroups: ["resource.k8s.io"]
resources: ["resourceclaims", "resourceclasses", "podschedulings","resourceclaims/status", "podschedulings/status", "podschedulingcontexts", "podschedulingcontexts/status"]
verbs: ["get", "update", "list", "watch", "patch"]
- apiGroups: ["gaudi.resource.intel.com"]
resources: ["*"]
verbs: ["*"]
resources: ["resourceslices"]
verbs: ["get", "list", "watch", "create", "update", "patch", "delete"]
- apiGroups: ["resource.k8s.io"]
resources: ["resourceclaims"]
verbs: ["get"]
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
apiVersion: resource.k8s.io/v1alpha3
kind: DeviceClass
metadata:
name: gaudi.intel.com

spec:
selectors:
- cel:
expression: device.driver == "gaudi.intel.com"
26 changes: 0 additions & 26 deletions charts/intel-gaudi-resource-driver/templates/resource-class.yaml

This file was deleted.

Loading

0 comments on commit 1686b27

Please sign in to comment.