chore: add k8s manifests for Argo CD
This commit is contained in:
24
k8s/deployment.yaml
Normal file
24
k8s/deployment.yaml
Normal file
@@ -0,0 +1,24 @@
|
|||||||
|
apiVersion: apps/v1
|
||||||
|
kind: Deployment
|
||||||
|
metadata:
|
||||||
|
name: vultr-api
|
||||||
|
spec:
|
||||||
|
replicas: 1
|
||||||
|
revisionHistoryLimit: 2
|
||||||
|
selector:
|
||||||
|
matchLabels:
|
||||||
|
app: vultr-api
|
||||||
|
template:
|
||||||
|
metadata:
|
||||||
|
labels:
|
||||||
|
app: vultr-api
|
||||||
|
spec:
|
||||||
|
containers:
|
||||||
|
- image: gitea.anvil.it.com/kaffa/vultr-api:latest
|
||||||
|
imagePullPolicy: Always
|
||||||
|
name: vultr-api
|
||||||
|
ports:
|
||||||
|
- containerPort: 8000
|
||||||
|
protocol: TCP
|
||||||
|
imagePullSecrets:
|
||||||
|
- name: gitea-registry
|
||||||
Reference in New Issue
Block a user