Skip to content

Commit

Permalink
Initial commit
Browse files Browse the repository at this point in the history
Signed-off-by: Kent <[email protected]>
  • Loading branch information
krancour committed Apr 12, 2023
0 parents commit aa21f54
Show file tree
Hide file tree
Showing 6 changed files with 49 additions and 0 deletions.
17 changes: 17 additions & 0 deletions base/deploy.yaml
Original file line number Diff line number Diff line change
@@ -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 changes: 6 additions & 0 deletions base/kustomization.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization

resources:
- deploy.yaml
- service.yaml
11 changes: 11 additions & 0 deletions base/service.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
apiVersion: v1
kind: Service
metadata:
name: foo
spec:
selector:
app: foo
ports:
- protocol: TCP
port: 3000
targetPort: 80
5 changes: 5 additions & 0 deletions env/prod/kustomization.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization

resources:
- ../../base
5 changes: 5 additions & 0 deletions env/stage/kustomization.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization

resources:
- ../../base
5 changes: 5 additions & 0 deletions env/test/kustomization.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization

resources:
- ../../base

0 comments on commit aa21f54

Please sign in to comment.