Skip to content

Commit 38c6a8f

Browse files
committed
update Kustomization API to replace deprecated fields
Signed-off-by: kahirokunn <[email protected]>
1 parent 5adb1c3 commit 38c6a8f

File tree

3 files changed

+14
-10
lines changed

3 files changed

+14
-10
lines changed
Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
11
apiVersion: kustomize.config.k8s.io/v1beta1
22
kind: Kustomization
33
namespace: cadvisor
4-
commonLabels:
5-
app: cadvisor
64
resources:
75
- daemonset.yaml
86
- namespace.yaml
97
- serviceaccount.yaml
8+
labels:
9+
- includeSelectors: true
10+
pairs:
11+
app: cadvisor
Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
1-
bases:
1+
apiVersion: kustomize.config.k8s.io/v1beta1
2+
kind: Kustomization
3+
resources:
24
- ../../base
35
patches:
4-
- stackdriver-sidecar.yaml
5-
- critical-priority.yaml
6-
- cadvisor-args.yaml
7-
- gpu-privilages.yaml
6+
- path: stackdriver-sidecar.yaml
7+
- path: critical-priority.yaml
8+
- path: cadvisor-args.yaml
Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
1-
bases:
2-
- ../../base
1+
apiVersion: kustomize.config.k8s.io/v1beta1
2+
kind: Kustomization
33
resources:
4+
- ../../base
45
- configmap.yaml
56
patches:
6-
- cadvisor-perf.yaml
7+
- path: cadvisor-perf.yaml

0 commit comments

Comments
 (0)