mirror of
https://gitplac.si/aljaxus/upn-qr.git
synced 2025-12-17 04:00:59 +00:00
Update .gitlab-ci.yml, manifests/upn-qr.yaml, .gitlab/agent/upn-qr-agent/config.yaml
This commit is contained in:
57
manifests/upn-qr.yaml
Normal file
57
manifests/upn-qr.yaml
Normal file
@@ -0,0 +1,57 @@
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: upn-qr-dpl
|
||||
namespace: aljaxus-upn-qr
|
||||
labels:
|
||||
app: upn-qr
|
||||
spec:
|
||||
replicas: 1
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
app: upn-qr
|
||||
spec:
|
||||
imagePullSecrets:
|
||||
- name: upn-qr-registrypull
|
||||
containers:
|
||||
- name: upn-qr-ct
|
||||
image: registry.gitplac.si/aljaxus/upn-qr
|
||||
imagePullPolicy: Always
|
||||
ports:
|
||||
- containerPort: 80
|
||||
|
||||
---
|
||||
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: upn-qr-svc
|
||||
namespace: aljaxus-upn-qr
|
||||
spec:
|
||||
type: ClusterIP
|
||||
selector:
|
||||
app: upn-qr
|
||||
ports:
|
||||
- protocol: TCP
|
||||
port: 80
|
||||
targetPort: 80
|
||||
|
||||
---
|
||||
|
||||
apiVersion: networking.k8s.io/v1
|
||||
kind: Ingress
|
||||
metadata:
|
||||
name: upn-qr-
|
||||
namespace: aljaxus-upn-qr
|
||||
spec:
|
||||
rules:
|
||||
- http:
|
||||
paths:
|
||||
- path: /
|
||||
pathType: Prefix
|
||||
backend:
|
||||
service:
|
||||
name: upn-qr-svc
|
||||
port:
|
||||
number: 80
|
||||
Reference in New Issue
Block a user