add kustomize
All checks were successful
Gitea Actions Demo / release-image (push) Successful in 1m1s

This commit is contained in:
Ryan Cavicchioni 2024-07-02 16:32:38 -05:00
parent 949ec2f719
commit 72d77a5d7a
Signed by: ryanc
GPG Key ID: 877EEDAF9245103D
2 changed files with 30 additions and 0 deletions

24
kustomize/deployment.yaml Normal file
View File

@ -0,0 +1,24 @@
---
kind: Deployment
apiVersion: apps/v1
metadata:
name: toy
labels:
app: toy
spec:
replicas: 3
selector:
matchLabels:
app: toy
template:
metadata:
labels:
app: toy
spec:
containers:
- name: toy
image: git.kill0.net/ryanc/toy:latest
ports:
- name: web
containerPort: 4567

View File

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