Initial commit

Signed-off-by: Kent <kent.rancourt@gmail.com>
This commit is contained in:
Kent
2023-04-12 11:26:11 -04:00
commit aa21f540fb
6 changed files with 49 additions and 0 deletions

17
base/deploy.yaml Normal file
View File

@@ -0,0 +1,17 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: kargo-demo
spec:
replicas: 1
selector:
matchLabels:
app: kargo-demo
template:
metadata:
labels:
app: kargo-demo
spec:
containers:
- name: nginx
image: nginx:placeholder

6
base/kustomization.yaml Normal file
View File

@@ -0,0 +1,6 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- deploy.yaml
- service.yaml

11
base/service.yaml Normal file
View File

@@ -0,0 +1,11 @@
apiVersion: v1
kind: Service
metadata:
name: foo
spec:
selector:
app: foo
ports:
- protocol: TCP
port: 3000
targetPort: 80

5
env/prod/kustomization.yaml vendored Normal file
View File

@@ -0,0 +1,5 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- ../../base

5
env/stage/kustomization.yaml vendored Normal file
View File

@@ -0,0 +1,5 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- ../../base

5
env/test/kustomization.yaml vendored Normal file
View File

@@ -0,0 +1,5 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- ../../base