feat(dummyhttp): first version of the application
All checks were successful
multi-semantic-release / multi-semantic-release (push) Successful in 13s
All checks were successful
multi-semantic-release / multi-semantic-release (push) Successful in 13s
This commit is contained in:
parent
4ebd3d8601
commit
979ecd44dc
6 changed files with 88 additions and 0 deletions
36
dummyhttp/deployment.yaml
Normal file
36
dummyhttp/deployment.yaml
Normal 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
|
Loading…
Add table
Add a link
Reference in a new issue