This commit is contained in:
Philip Haupt
2025-06-03 01:33:06 +02:00
parent 823c6e6ae6
commit 46415cae52
3 changed files with 41 additions and 0 deletions

21
qr-gen/deploy.yaml Normal file
View File

@@ -0,0 +1,21 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: my-app
spec:
replicas: 1
selector:
matchLabels:
app: my-app
template:
metadata:
labels:
app: my-app
spec:
imagePullSecrets:
- name: git-bip
containers:
- name: my-app
image: git.borninpain.de/docker/qr-gen:v1.0.0
ports:
- containerPort: 8080

View File

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

14
qr-gen/svc.yaml Normal file
View File

@@ -0,0 +1,14 @@
---
apiVersion: v1
kind: Service
metadata:
name: qr-gen
spec:
selector:
app: qr-gen
ports:
- protocol: TCP
port: 8080
targetPort: 8080
name: http
type: ClusterIP