Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions manifests/helm/Chart.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
apiVersion: v2
name: kubeflow-pipelines
description: Kubeflow Pipelines v2.15.0 for Kubernetes Native API Mode
type: application
version: 2.15.0
appVersion: "2.15.0"


annotations: {}
# Prerequisites:
# - cert-manager must be pre-installed (cluster-wide infrastructure)
# - Argo Workflows cluster resources must be pre-installed
# - MySQL database for ML Metadata (MLMD) - pipelines/versions stored as K8s CRs
# Note: Kubernetes-native mode stores pipelines as CRs, NOT in MySQL.
# MySQL is only used for ML Metadata artifact tracking.
75 changes: 75 additions & 0 deletions manifests/helm/templates/_helpers.tpl
Original file line number Diff line number Diff line change
@@ -0,0 +1,75 @@
{{/*
Expand the name of the chart.
*/}}
{{- define "kubeflow-pipelines.name" -}}
{{- default .Chart.Name .Values.nameOverride | trunc 63 | trimSuffix "-" }}
{{- end }}

{{/*
Create a default fully qualified app name.
*/}}
{{- define "kubeflow-pipelines.fullname" -}}
{{- if .Values.fullnameOverride }}
{{- .Values.fullnameOverride | trunc 63 | trimSuffix "-" }}
{{- else }}
{{- $name := default .Chart.Name .Values.nameOverride }}
{{- if contains $name .Release.Name }}
{{- .Release.Name | trunc 63 | trimSuffix "-" }}
{{- else }}
{{- printf "%s-%s" .Release.Name $name | trunc 63 | trimSuffix "-" }}
{{- end }}
{{- end }}
{{- end }}

{{/*
Create chart name and version as used by the chart label.
*/}}
{{- define "kubeflow-pipelines.chart" -}}
{{- printf "%s-%s" .Chart.Name .Chart.Version | replace "+" "_" | trunc 63 | trimSuffix "-" }}
{{- end }}

{{/*
Common labels
*/}}
{{- define "kubeflow-pipelines.labels" -}}
helm.sh/chart: {{ include "kubeflow-pipelines.chart" . }}
{{ include "kubeflow-pipelines.selectorLabels" . }}
{{- if .Chart.AppVersion }}
app.kubernetes.io/version: {{ .Chart.AppVersion | quote }}
{{- end }}
app.kubernetes.io/managed-by: {{ .Release.Service }}
app.kubernetes.io/part-of: kubeflow
{{- end }}

{{/*
Selector labels
*/}}
{{- define "kubeflow-pipelines.selectorLabels" -}}
app.kubernetes.io/name: {{ include "kubeflow-pipelines.name" . }}
app.kubernetes.io/instance: {{ .Release.Name }}
{{- end }}


{{/*
ServiceAccount annotations (for IRSA and custom annotations)
*/}}
{{- define "kubeflow-pipelines.serviceaccount-annotations" -}}
{{- with .Values.serviceAccount.annotations }}
{{- toYaml . | nindent 0 }}
{{- end }}
{{- end }}

{{/*
Namespace helper
*/}}
{{- define "kubeflow-pipelines.namespace" -}}
{{- .Values.namespace.name | default "kubeflow" }}
{{- end }}

{{/*
Compute checksum for config resources
*/}}
{{- define "kubeflow-pipelines.config-checksum" -}}
checksum/config: {{ include (print $.Template.BasePath "/configmap.yaml") . | sha256sum }}
checksum/secret: {{ include (print $.Template.BasePath "/externalsecret.yaml") . | sha256sum }}
{{- end }}
Loading
Loading