From 376747094372f4ecc9f5659150f6f35da4e4cb4c Mon Sep 17 00:00:00 2001 From: Joshua Seals Date: Thu, 16 May 2024 15:59:42 -0400 Subject: [PATCH] and another .... --- appstore/tycho/admin.py | 2 -- appstore/tycho/conf/tycho.yaml | 42 ++++++++++++++++++++++++++++++++++ 2 files changed, 42 insertions(+), 2 deletions(-) delete mode 100644 appstore/tycho/admin.py create mode 100644 appstore/tycho/conf/tycho.yaml diff --git a/appstore/tycho/admin.py b/appstore/tycho/admin.py deleted file mode 100644 index c6fe1087..00000000 --- a/appstore/tycho/admin.py +++ /dev/null @@ -1,2 +0,0 @@ -from django.contrib import admin - diff --git a/appstore/tycho/conf/tycho.yaml b/appstore/tycho/conf/tycho.yaml new file mode 100644 index 00000000..37ac4bd0 --- /dev/null +++ b/appstore/tycho/conf/tycho.yaml @@ -0,0 +1,42 @@ +tycho: + # Configuration file for Tycho. + + # Configure the orchestrator to use. + backplane: kubernetes + compute: + platform: + kube: + ip: x # Used for minikube environments. + system: + # Configure application defaults. + defaults: + securityContext: + uid: 1000 + gid: 1000 + services: + init: + resources: + cpus: 250m + memory: 250Mi + deploy: + resources: + cpus: 0.2 + memory: 50MB + volumes: + - pvc://stdnfs_pvc:parent_dir/shared_dir + - pvc://stdnfs_pvc/shared_dir:parent_dir/shared_dir + - pvc://stdnfs_pvc/username:parent_dir/subpath_dir + + policy: + network: + ingress: + # If supplied, restrict ingress by CIDR. + restrict_by_client_cidr: true + egress: + mode: none + + templates: + # A list of alternate directories to search for templates. + # see tycho/templates for a list of templates that can be overriden. + # Place + paths: [] \ No newline at end of file