diff --git a/chart/Chart.yaml b/chart/Chart.yaml index 9a4c1f13ecfae43dc22ef3d8805b919e876621d7..bbab4daf03640d7ac32a6a60751ffd7c291d023b 100644 --- a/chart/Chart.yaml +++ b/chart/Chart.yaml @@ -1,3 +1,20 @@ +# +# STRASS +# Copyright (C) 2025 The STRASS Authors +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. +# apiVersion: v2 name: strass description: A Helm chart for Kubernetes diff --git a/chart/templates/config-map-app.yaml b/chart/templates/config-map-app.yaml index 0ba631d191c6d9f1aaf6632f313f4de8ab7f72be..146039c5c67ac7ac72ce9937241835ffac056939 100644 --- a/chart/templates/config-map-app.yaml +++ b/chart/templates/config-map-app.yaml @@ -1,3 +1,20 @@ +# +# STRASS +# Copyright (C) 2025 The STRASS Authors +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. +# apiVersion: v1 kind: ConfigMap metadata: diff --git a/chart/templates/config-map-nginx.yaml b/chart/templates/config-map-nginx.yaml index 885a68b7e517df1d6c9c28cc5d776dbcbc828bb1..4c821d3f8779bf87117a21c3683986e7b511fca2 100644 --- a/chart/templates/config-map-nginx.yaml +++ b/chart/templates/config-map-nginx.yaml @@ -1,3 +1,20 @@ +# +# STRASS +# Copyright (C) 2025 The STRASS Authors +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. +# apiVersion: v1 kind: ConfigMap metadata: diff --git a/chart/templates/deploy-app-and-service.yaml b/chart/templates/deploy-app-and-service.yaml index fe439c9e9420880c1106900b8a5994f0f307b115..ecd9d989f916fe93cf873efe95891d2d4667f4e4 100644 --- a/chart/templates/deploy-app-and-service.yaml +++ b/chart/templates/deploy-app-and-service.yaml @@ -1,3 +1,20 @@ +# +# STRASS +# Copyright (C) 2025 The STRASS Authors +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. +# --- apiVersion: apps/v1 kind: Deployment diff --git a/chart/templates/deploy-doc-and-service.yaml b/chart/templates/deploy-doc-and-service.yaml index a02bb75586ac1c52bc3a56214e89fc9052769ddc..937c5ad8327e37115e3d234dd5a0cc9d6759dcb5 100644 --- a/chart/templates/deploy-doc-and-service.yaml +++ b/chart/templates/deploy-doc-and-service.yaml @@ -1,3 +1,20 @@ +# +# STRASS +# Copyright (C) 2025 The STRASS Authors +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. +# apiVersion: v1 kind: Pod metadata: diff --git a/chart/templates/django-secret.yaml b/chart/templates/django-secret.yaml index 138737cd48df6fd0ebe4950b7a0ed49128eaf9d1..864fe873bc61176294b4811e33121fb507749940 100644 --- a/chart/templates/django-secret.yaml +++ b/chart/templates/django-secret.yaml @@ -1,3 +1,20 @@ +# +# STRASS +# Copyright (C) 2025 The STRASS Authors +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. +# apiVersion: v1 kind: Secret metadata: diff --git a/chart/templates/ingress.yaml b/chart/templates/ingress.yaml index 5f9b1a59be653ca34e65b74d207f85c7aa9fd780..9384a86ddd7c0dd27b01519671cfc7be45f16867 100644 --- a/chart/templates/ingress.yaml +++ b/chart/templates/ingress.yaml @@ -1,3 +1,20 @@ +# +# STRASS +# Copyright (C) 2025 The STRASS Authors +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. +# {{- if and $.Values.publiclyOpen (not $.Values.isProd) }} {{- required "You cannot ask for a dev instance publicly open (publiclyOpen == true and isProd == false )" "" }} {{- end}} diff --git a/chart/templates/storage.yaml b/chart/templates/storage.yaml index a3c23ca4e1966d0d174cac0113654c6582397fa8..c4e35ade19c2789bcc0651b20f3b878cbe1e5bc1 100644 --- a/chart/templates/storage.yaml +++ b/chart/templates/storage.yaml @@ -1,3 +1,20 @@ +# +# STRASS +# Copyright (C) 2025 The STRASS Authors +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. +# --- apiVersion: v1 kind: PersistentVolumeClaim diff --git a/chart/values.prod.yaml b/chart/values.prod.yaml index 76f9a7697b86669334394b9a7bb2f8dea756013d..5c815ff546657a20c68656527f72aeaab31148f2 100644 --- a/chart/values.prod.yaml +++ b/chart/values.prod.yaml @@ -1,3 +1,20 @@ +# +# STRASS +# Copyright (C) 2025 The STRASS Authors +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. +# resources: limits: memory: "2Gi" diff --git a/chart/values.yaml b/chart/values.yaml index 017a5dfa82a36178c73ac523c41076e3036234a6..7f0bc945f4fcd21e85f0526fce67b3593c0aa692 100644 --- a/chart/values.yaml +++ b/chart/values.yaml @@ -1,3 +1,20 @@ +# +# STRASS +# Copyright (C) 2025 The STRASS Authors +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. +# resources: requests: memory: "256Mi" diff --git a/src/strass/Dockerfile b/src/strass/Dockerfile index 82313de89911cccae34279a88b054d3b983b600d..16af12ee571bd851d6ba75541326cbe70181c726 100644 --- a/src/strass/Dockerfile +++ b/src/strass/Dockerfile @@ -1,3 +1,20 @@ +# +# STRASS +# Copyright (C) 2025 The STRASS Authors +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. +# FROM python:3.11-slim ENV PYTHONUNBUFFERED 1 ENV PROJECT_NAME strass