Make Kustomize manifests more modular
All checks were successful
Gitea Actions Demo / lint (push) Successful in 1m29s
Gitea Actions Demo / test (push) Successful in 1m20s
Gitea Actions Demo / release-image (push) Successful in 1m3s

This commit is contained in:
Ryan Cavicchioni 2024-07-28 20:53:43 -05:00
parent 7fc61df477
commit c57d3303ed
Signed by: ryanc
GPG Key ID: 877EEDAF9245103D
6 changed files with 16 additions and 3 deletions

View File

@ -0,0 +1,8 @@
---
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
namespace: toy
resources:
- deployment.yaml
- services.yaml
- ingress.yaml

View File

@ -3,6 +3,5 @@ apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization kind: Kustomization
namespace: toy namespace: toy
resources: resources:
- deployment.yaml - namespace.yaml
- services.yaml - ./app
- ingress.yaml

6
kustomize/namespace.yaml Normal file
View File

@ -0,0 +1,6 @@
---
apiVersion: v1
kind: Namespace
metadata:
name: toy