Files
github-actions[bot] 8da39cce5f Kubeflow Trainer Official Release v2.2.1
Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-07-06 04:47:32 +00:00

47 lines
1.5 KiB
YAML

# Copyright The Kubeflow Authors.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
# Build on top of the default manager installation
resources:
- ../manager # Installs in kubeflow-system namespace
- ../../third-party/leaderworkerset # Installs in kubeflow-system namespace
- ../../base/runtimes/data-cache # ClusterTrainingRuntime (cluster-scoped)
- cluster_role.yaml # ClusterRole (cluster-scoped)
- namespace-rbac # ServiceAccount and RoleBinding in default namespace
# Add data cache image tags
images:
- name: ghcr.io/kubeflow/trainer/dataset-initializer
newTag: v2.2.1
# Patch namespace-rbac resources to install in default namespace
patches:
- target:
kind: ServiceAccount
name: kubeflow-trainer-cache-initializer
patch: |-
- op: add
path: /metadata/namespace
value: default
- target:
kind: RoleBinding
name: kubeflow-trainer-cache-initializer
patch: |-
- op: add
path: /metadata/namespace
value: default