Files
Tariq HasanandGitHub 1f57df4484 ci(boilerplate): enhance copyright boilerplate enforcement (#3665)
* ci(boilerplate): enforce copyright headers on YAML files

Signed-off-by: tariq-hasan <[email protected]>

* ci(boilerplate): enforce year-less header for new files

Signed-off-by: tariq-hasan <[email protected]>

---------

Signed-off-by: tariq-hasan <[email protected]>
2026-07-03 13:39:54 +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: latest
# 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