qr-gen
This commit is contained in:
21
qr-gen/deploy.yaml
Normal file
21
qr-gen/deploy.yaml
Normal 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
|
||||
6
qr-gen/kustomization.yaml
Normal file
6
qr-gen/kustomization.yaml
Normal 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
14
qr-gen/svc.yaml
Normal 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
|
||||
Reference in New Issue
Block a user