feat(dummyhttp): first version of the application
All checks were successful
multi-semantic-release / multi-semantic-release (push) Successful in 13s

This commit is contained in:
Sergio Talens-Oliag 2025-05-01 14:58:02 +02:00
parent 4ebd3d8601
commit 979ecd44dc
Signed by: sto
GPG key ID: 821AEE0FD167FBDF
6 changed files with 88 additions and 0 deletions

36
dummyhttp/deployment.yaml Normal file
View file

@ -0,0 +1,36 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: dummyhttp
labels:
app: dummyhttp
spec:
selector:
matchLabels:
app: dummyhttp
template:
metadata:
labels:
app: dummyhttp
spec:
containers:
- name: dummyhttp
image: forgejo.mixinet.net/oci/dummyhttp:1.0.0
command: [ "/bin/sh", "-c" ]
args:
- 'eval dummyhttp -b \"{\\\"c\\\": \\\"$CM_VAR\\\", \\\"s\\\": \\\"$SECRET_VAR\\\"}\"'
ports:
- containerPort: 8080
env:
- name: CM_VAR
valueFrom:
configMapKeyRef:
name: dummyhttp-configmap
key: CM_VAR
optional: true
- name: SECRET_VAR
valueFrom:
secretKeyRef:
name: dummyhttp-secret
key: SECRET_VAR
optional: true