init: hello-cicd project setup
This commit is contained in:
25
k8s/deployment.yaml
Normal file
25
k8s/deployment.yaml
Normal file
@@ -0,0 +1,25 @@
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: hello-cicd
|
||||
namespace: student-sz11zs
|
||||
spec:
|
||||
replicas: 1
|
||||
selector:
|
||||
matchLabels:
|
||||
app: hello-cicd
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
app: hello-cicd
|
||||
spec:
|
||||
imagePullSecrets:
|
||||
- name: gitea-creds
|
||||
containers:
|
||||
- name: hello-cicd
|
||||
image: git.fpmoz.sum.ba/sz11zs/hello-cicd:latest
|
||||
ports:
|
||||
- containerPort: 8000
|
||||
env:
|
||||
- name: APP_VERSION
|
||||
value: "latest"
|
||||
Reference in New Issue
Block a user