Skip to content

Commit

Permalink
training-operator manifests kustomize v5 upgrade
Browse files Browse the repository at this point in the history
  • Loading branch information
oksanabaza committed Sep 19, 2024
1 parent c7d4e1b commit 0f66dfa
Showing 1 changed file with 15 additions and 9 deletions.
24 changes: 15 additions & 9 deletions manifests/rhoai/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,19 +18,25 @@ configMapGenerator:
configurations:
- params.yaml

vars:
- name: image
objref:
replacements:
- source:
kind: ConfigMap
name: rhoai-config
apiVersion: v1
fieldref:
fieldpath: data.odh-training-operator-controller-image
version: v1
fieldPath: data.odh-training-operator-controller-image
targets:
- select:
kind: Deployment
name: training-operator
fieldPaths:
- spec.template.spec.containers.0.image

# Labels to add to all resources and selectors.
commonLabels:
app.kubernetes.io/name: training-operator
app.kubernetes.io/component: controller
labels:
- includeSelectors: true
pairs:
app.kubernetes.io/component: controller
app.kubernetes.io/name: training-operator

resources:
- ../base
Expand Down

0 comments on commit 0f66dfa

Please sign in to comment.