Skip to content

Commit 82c9ad3

Browse files
New fix kustomize5 warnings (#700)
* fixed kustomize warnings in base Signed-off-by: Vikas Saxena <[email protected]> * fixed kustomize warnings in standalone Signed-off-by: Vikas Saxena <[email protected]> * fixed kustomize warnings in kubeflow Signed-off-by: Vikas Saxena <[email protected]> --------- Signed-off-by: Vikas Saxena <[email protected]>
1 parent 68dc5dc commit 82c9ad3

File tree

3 files changed

+33
-27
lines changed

3 files changed

+33
-27
lines changed

manifests/base/kustomization.yaml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,14 @@ resources:
77
- kubeflow.org_mpijobs.yaml
88
- deployment.yaml
99
- service-account.yaml
10-
commonLabels:
11-
kustomize.component: mpi-operator
12-
app: mpi-operator
13-
app.kubernetes.io/name: mpi-operator
14-
app.kubernetes.io/component: mpijob
1510
images:
1611
- name: mpioperator/mpi-operator
1712
newName: mpioperator/mpi-operator
1813
newTag: latest
14+
labels:
15+
- includeSelectors: true
16+
pairs:
17+
app: mpi-operator
18+
app.kubernetes.io/component: mpijob
19+
app.kubernetes.io/name: mpi-operator
20+
kustomize.component: mpi-operator

manifests/overlays/kubeflow/kustomization.yaml

Lines changed: 13 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,17 @@ kind: Kustomization
33
resources:
44
- ../../base
55
namespace: kubeflow
6-
commonLabels:
7-
kustomize.component: mpi-operator
8-
app: mpi-operator
9-
app.kubernetes.io/name: mpi-operator
10-
app.kubernetes.io/component: mpijob
116
patches:
12-
- target:
13-
group: apps
14-
version: v1
15-
kind: Deployment
16-
name: mpi-operator
17-
path: ./patch.yaml
7+
- path: ./patch.yaml
8+
target:
9+
group: apps
10+
kind: Deployment
11+
name: mpi-operator
12+
version: v1
13+
labels:
14+
- includeSelectors: true
15+
pairs:
16+
app: mpi-operator
17+
app.kubernetes.io/component: mpijob
18+
app.kubernetes.io/name: mpi-operator
19+
kustomize.component: mpi-operator

manifests/overlays/standalone/kustomization.yaml

Lines changed: 13 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -4,19 +4,21 @@ resources:
44
- ../../base
55
- namespace.yaml
66
namespace: mpi-operator
7-
commonLabels:
8-
kustomize.component: mpi-operator
9-
app: mpi-operator
10-
app.kubernetes.io/name: mpi-operator
11-
app.kubernetes.io/component: mpijob
127
images:
138
- name: mpioperator/mpi-operator
149
newName: mpioperator/mpi-operator
1510
newTag: master
1611
patches:
17-
- target:
18-
group: apps
19-
version: v1
20-
kind: Deployment
21-
name: mpi-operator
22-
path: ./patch.yaml
12+
- path: ./patch.yaml
13+
target:
14+
group: apps
15+
kind: Deployment
16+
name: mpi-operator
17+
version: v1
18+
labels:
19+
- includeSelectors: true
20+
pairs:
21+
app: mpi-operator
22+
app.kubernetes.io/component: mpijob
23+
app.kubernetes.io/name: mpi-operator
24+
kustomize.component: mpi-operator

0 commit comments

Comments
 (0)