Make Kustomize manifests more modular
This commit is contained in:
parent
7fc61df477
commit
c57d3303ed
8
kustomize/app/kustomization.yaml
Normal file
8
kustomize/app/kustomization.yaml
Normal file
@ -0,0 +1,8 @@
|
||||
---
|
||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
namespace: toy
|
||||
resources:
|
||||
- deployment.yaml
|
||||
- services.yaml
|
||||
- ingress.yaml
|
@ -3,6 +3,5 @@ apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
namespace: toy
|
||||
resources:
|
||||
- deployment.yaml
|
||||
- services.yaml
|
||||
- ingress.yaml
|
||||
- namespace.yaml
|
||||
- ./app
|
||||
|
6
kustomize/namespace.yaml
Normal file
6
kustomize/namespace.yaml
Normal file
@ -0,0 +1,6 @@
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: Namespace
|
||||
metadata:
|
||||
name: toy
|
||||
|
Loading…
Reference in New Issue
Block a user