Commit a556afab authored by Robert Schambach's avatar Robert Schambach
Browse files

Add network configuration for binary fs fastapi

parent df1d7284
......@@ -48,7 +48,7 @@ ENV SCONE_LOG=debug
ENV LD_LIBRARY_PATH="/"
CMD sh -c "sleep 5 && python3 /rest_api.py"
CMD sh -c "python3 /rest_api.py"
......@@ -54,6 +54,25 @@ images:
content: $$SCONE::MEMCACHED_CLIENT_CERT.crt$$
- path: /etc/memcached-client.key
content: $$SCONE::MEMCACHED_CLIENT_CERT.key$$
# Network files
- path: /etc/resolv.conf
content: |
nameserver 10.96.0.10
search sgx-scone.svc.cluster.local svc.cluster.local cluster.local
options ndots:5
- path: /etc/hosts
content: |
# Kubernetes-managed hosts file.
127.0.0.1 localhost
::1 localhost ip6-localhost ip6-loopback
fe00::0 ip6-localnet
fe00::0 ip6-mcastprefix
fe00::1 ip6-allnodes
fe00::2 ip6-allrouters
10.244.2.49 secure-doc-management-fastapi-scone
- path: /etc/hostname
content: |
secure-doc-management-fastapi-scone
# Import client credentials from DB session.
secrets:
......
......@@ -99,7 +99,7 @@ source mrenclaves.sh
#envsubst < fastapi-manifest.yaml | kubectl apply -f -
#envsubst < memcached-manifest.yaml | kubectl apply -f -
cd ..
cd $PWD/..
helm install secure-doc-management $PWD/secure-doc-management \
--set global.scone.attestation.cas=$SCONE_CAS_ADDR \
--set global.imagePullSecrets\[0\].name=$IMAGE_PULL_SECRET \
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment