ci / audit (pull_request) Successful in 22s
CR: https://cmdb.knownelement.com/front/change.form.php?id=22 Ticket: https://projects.knownelement.com/issues/824
42 lines
1.1 KiB
YAML
42 lines
1.1 KiB
YAML
apiVersion: apps/v1
|
|
kind: Deployment
|
|
metadata:
|
|
name: kuma-glpi-bridge
|
|
namespace: kuma-glpi-bridge
|
|
spec:
|
|
replicas: 1
|
|
selector:
|
|
matchLabels: {app: kuma-glpi-bridge}
|
|
template:
|
|
metadata:
|
|
labels: {app: kuma-glpi-bridge}
|
|
spec:
|
|
containers:
|
|
- name: bridge
|
|
image: git.knownelement.com/knel/kuma-glpi-bridge@sha256:2127c0bb24e0e5f2c57ae89966212b3fb15d2ff22efaa42f84844a61883c8098
|
|
ports: [{containerPort: 8080}]
|
|
envFrom: [{secretRef: {name: glpi-creds}}]
|
|
resources:
|
|
requests: {cpu: 10m, memory: 16Mi}
|
|
limits: {memory: 64Mi}
|
|
livenessProbe:
|
|
httpGet: {path: /healthz, port: 8080}
|
|
initialDelaySeconds: 5
|
|
securityContext:
|
|
runAsNonRoot: true
|
|
readOnlyRootFilesystem: true
|
|
allowPrivilegeEscalation: false
|
|
capabilities: {drop: [ALL]}
|
|
---
|
|
apiVersion: v1
|
|
kind: Service
|
|
metadata:
|
|
name: kuma-glpi-bridge
|
|
namespace: kuma-glpi-bridge
|
|
spec:
|
|
type: NodePort
|
|
selector: {app: kuma-glpi-bridge}
|
|
ports:
|
|
- port: 8080
|
|
nodePort: 30801
|