diff --git a/qr-gen/deploy.yaml b/qr-gen/deploy.yaml new file mode 100644 index 0000000..0ab6416 --- /dev/null +++ b/qr-gen/deploy.yaml @@ -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 \ No newline at end of file diff --git a/qr-gen/kustomization.yaml b/qr-gen/kustomization.yaml new file mode 100644 index 0000000..4533d76 --- /dev/null +++ b/qr-gen/kustomization.yaml @@ -0,0 +1,6 @@ +apiVersion: kustomize.config.k8s.io/v1beta1 +kind: Kustomization + +resources: + - deploy.yaml + - svc.yaml \ No newline at end of file diff --git a/qr-gen/svc.yaml b/qr-gen/svc.yaml new file mode 100644 index 0000000..741ad16 --- /dev/null +++ b/qr-gen/svc.yaml @@ -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