Skip to content

Commit 3e9b763

Browse files
committed
Kustomize IU
1 parent 58bbdc4 commit 3e9b763

File tree

6 files changed

+22
-1
lines changed

6 files changed

+22
-1
lines changed
File renamed without changes.
+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
namespace: bgdiu
2+
resources:
3+
- bgd-svc.yaml
4+
- bgd-deployment.yaml
File renamed without changes.
+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
apiVersion: kustomize.config.k8s.io/v1beta1
2+
kind: Kustomization
3+
namespace: bgdiu
4+
resources:
5+
- ../base
6+
- bgdk-ns.yaml
7+
patchesJson6902:
8+
- target:
9+
version: v1
10+
group: apps
11+
kind: Deployment
12+
name: bgd
13+
namespace: bgdk
14+
patch: |-
15+
- op: replace
16+
path: /spec/template/spec/containers/0/env/0/value
17+
value: yellow

ch07/bgdk/base/kustomization.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
namespace: bgd
1+
namespace: bgdk
22
resources:
33
- bgd-svc.yaml
44
- bgd-deployment.yaml

0 commit comments

Comments
 (0)