From c571a0959a85bde8576b48984bae7bee1a99be9e Mon Sep 17 00:00:00 2001 From: Rafal Skolasinski Date: Fri, 6 Oct 2023 14:40:47 +0100 Subject: [PATCH] Add Seldon Deploy v2.2.0-rc3 Helm Chart (#51) --- helm-charts/seldon-deploy/Chart.yaml | 4 +- .../templates/role-seldon-deploy-role.yaml | 58 ++++++++++++++++++- .../templates/ui-deployment.yaml | 1 + .../seldon-deploy/templates/ui-service.yaml | 1 + .../templates/virtualservice.yaml | 1 + 5 files changed, 60 insertions(+), 5 deletions(-) diff --git a/helm-charts/seldon-deploy/Chart.yaml b/helm-charts/seldon-deploy/Chart.yaml index f3ebcd0..485f387 100644 --- a/helm-charts/seldon-deploy/Chart.yaml +++ b/helm-charts/seldon-deploy/Chart.yaml @@ -1,5 +1,5 @@ apiVersion: v2 -appVersion: "2.2.0-rc2" +appVersion: "2.2.0-rc3" description: A Helm chart for Kubernetes name: seldon-deploy -version: 2.2.0-rc2 +version: 2.2.0-rc3 diff --git a/helm-charts/seldon-deploy/templates/role-seldon-deploy-role.yaml b/helm-charts/seldon-deploy/templates/role-seldon-deploy-role.yaml index 9a326c4..80e4ec2 100644 --- a/helm-charts/seldon-deploy/templates/role-seldon-deploy-role.yaml +++ b/helm-charts/seldon-deploy/templates/role-seldon-deploy-role.yaml @@ -6,6 +6,24 @@ metadata: name: seldon-deploy-role namespace: '{{ .Release.Namespace }}' rules: + - apiGroups: + - argoproj.io + resources: + - workflows + verbs: + - get + - list + - watch + - create + - delete + - apiGroups: + - 'apiextensions.k8s.io' + resources: + - customresourcedefinitions + verbs: + - get + - list + - watch - apiGroups: - '' resources: @@ -48,6 +66,8 @@ rules: - horizontalpodautoscalers/status verbs: - get + - patch + - update - apiGroups: - machinelearning.seldon.io resources: @@ -89,7 +109,7 @@ rules: - list - patch - update - - watch + - watch - apiGroups: - mlops.seldon.io resources: @@ -138,8 +158,18 @@ rules: - virtualservices/status verbs: - get + - apiGroups: + - security.istio.io + resources: + - authorizationpolicies + verbs: + - create + - delete + - get + - list - patch - update + - watch - apiGroups: - v1 resources: @@ -177,11 +207,33 @@ rules: - update - watch - apiGroups: - - 'apiextensions.k8s.io' + - serving.knative.dev resources: - - customresourcedefinitions + - services + verbs: + - create + - delete + - get + - list + - patch + - update + - watch + - apiGroups: + - eventing.knative.dev + resources: + - triggers verbs: + - create + - delete - get - list + - patch + - update - watch + - apiGroups: + - eventing.knative.dev + resources: + - brokers + verbs: + - get {{- end }} diff --git a/helm-charts/seldon-deploy/templates/ui-deployment.yaml b/helm-charts/seldon-deploy/templates/ui-deployment.yaml index e1ec4a8..da754dd 100644 --- a/helm-charts/seldon-deploy/templates/ui-deployment.yaml +++ b/helm-charts/seldon-deploy/templates/ui-deployment.yaml @@ -1,3 +1,4 @@ +# Note: not currently used, may be useful later. {{- if .Values.ui -}} apiVersion: apps/v1 kind: Deployment diff --git a/helm-charts/seldon-deploy/templates/ui-service.yaml b/helm-charts/seldon-deploy/templates/ui-service.yaml index e932ef7..5dd1d55 100644 --- a/helm-charts/seldon-deploy/templates/ui-service.yaml +++ b/helm-charts/seldon-deploy/templates/ui-service.yaml @@ -1,3 +1,4 @@ +# Note: not currently used, may be useful later. {{- if .Values.ui -}} apiVersion: v1 kind: Service diff --git a/helm-charts/seldon-deploy/templates/virtualservice.yaml b/helm-charts/seldon-deploy/templates/virtualservice.yaml index fc3285e..5c18ab6 100644 --- a/helm-charts/seldon-deploy/templates/virtualservice.yaml +++ b/helm-charts/seldon-deploy/templates/virtualservice.yaml @@ -21,6 +21,7 @@ spec: prefix: {{ .Values.virtualService.prefix }} route: - destination: + # Note: not currently used, may be useful later. {{- if .Values.ui }} host: {{ include "seldon-deploy.fullname" . }}-ui {{ else }}