diff --git a/helm-chart/renku/templates/data-service/rbac.yaml b/helm-chart/renku/templates/data-service/rbac.yaml index 2e8266a05..1515a0ab6 100644 --- a/helm-chart/renku/templates/data-service/rbac.yaml +++ b/helm-chart/renku/templates/data-service/rbac.yaml @@ -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 diff --git a/helm-chart/renku/templates/notebooks/deployment.yaml b/helm-chart/renku/templates/notebooks/deployment.yaml index be4b9ed1f..db2b4c9d6 100644 --- a/helm-chart/renku/templates/notebooks/deployment.yaml +++ b/helm-chart/renku/templates/notebooks/deployment.yaml @@ -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 }} diff --git a/helm-chart/renku/templates/notebooks/role.yaml b/helm-chart/renku/templates/notebooks/role.yaml index 1ebe6b008..f7ed88d8d 100644 --- a/helm-chart/renku/templates/notebooks/role.yaml +++ b/helm-chart/renku/templates/notebooks/role.yaml @@ -79,5 +79,17 @@ rules: - list - get - watch + - apiGroups: + - shipwright.io + resources: + - buildruns + verbs: + - create + - update + - delete + - patch + - list + - get + - watch {{ end }} {{ end }}