Skip to content

Commit

Permalink
k8s-watcher shipwright
Browse files Browse the repository at this point in the history
  • Loading branch information
Panaetius committed Dec 10, 2024
1 parent d13b9c6 commit ad803c0
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 0 deletions.
12 changes: 12 additions & 0 deletions helm-chart/renku/templates/data-service/rbac.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,18 @@ rules:
- list
- get
- watch
- apiGroups:
- shipwright.io
resources:
- buildruns
verbs:
- create
- update
- delete
- patch
- list
- get
- watch
---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
Expand Down
6 changes: 6 additions & 0 deletions helm-chart/renku/templates/notebooks/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,12 @@ spec:
value: v1alpha1
- name: K8S_WATCHER_AMALTHEA_SESSION_PLURAL
value: amaltheasessions
- name: K8S_WATCHER_SHIPWRIGHT_BUILDRUN_GROUP
value: shipwright.io
- name: K8S_WATCHER_SHIPWRIGHT_BUILDRUN_VERSION
value: v1beta1
- name: K8S_WATCHER_SHIPWRIGHT_BUILDRUN_PLURAL
value: buildruns
- name: K8S_WATCHER_NAMESPACES
{{ if .Values.notebooks.sessionsNamespace }}
value: {{ list .Release.Namespace .Values.notebooks.sessionsNamespace | uniq | toJson | quote }}
Expand Down
12 changes: 12 additions & 0 deletions helm-chart/renku/templates/notebooks/role.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -79,5 +79,17 @@ rules:
- list
- get
- watch
- apiGroups:
- shipwright.io
resources:
- buildruns
verbs:
- create
- update
- delete
- patch
- list
- get
- watch
{{ end }}
{{ end }}

0 comments on commit ad803c0

Please sign in to comment.