Compare commits
5
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
ef2cfb4e75 | ||
|
|
f375da8928 | ||
|
|
4d7ed44834 | ||
|
|
dec6c8818f | ||
|
|
770298ef3e |
@@ -0,0 +1,41 @@
|
||||
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:fa76d3ea40303684d08b26f421a37cf5b8acf1a8bde1e0b48fc483d496f20683
|
||||
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
|
||||
@@ -0,0 +1,5 @@
|
||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
resources:
|
||||
- namespace.yaml
|
||||
- deployment.yaml
|
||||
@@ -0,0 +1,4 @@
|
||||
apiVersion: v1
|
||||
kind: Namespace
|
||||
metadata:
|
||||
name: kuma-glpi-bridge
|
||||
@@ -1,4 +1,5 @@
|
||||
# apps: tenant workloads per ADR-0001 tenant classes. Empty until #700 lands.
|
||||
# apps: platform/ops workloads + tenant workloads per ADR-0001 tenant classes.
|
||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
resources: []
|
||||
resources:
|
||||
- kuma-glpi-bridge
|
||||
|
||||
Reference in New Issue
Block a user