Working Base Config for Taiga #1

Merged
patdyn merged 60 commits from config-play into main 2023-09-01 10:38:18 +00:00
18 changed files with 41 additions and 51 deletions
Showing only changes of commit 152b2ce46e - Show all commits

View file

@ -7,11 +7,11 @@ metadata:
namespace: default
spec:
secretName: c4k-common-cert
commonName: FQDN
commonName: jitsi.test.meissa.de
duration: 2160h # 90d
renewBefore: 720h # 30d
dnsNames:
- FQDN
- jitsi.test.meissa.de
issuerRef:
name: staging
kind: ClusterIssuer

View file

@ -12,16 +12,16 @@ metadata:
spec:
tls:
- hosts:
- FQDN
- jitsi.test.meissa.de
secretName: c4k-common-cert
rules:
- host: FQDN
- host: jitsi.test.meissa.de
http:
paths:
- pathType: Prefix
path: "/"
backend:
service:
name: SERVICE_NAME
name: taiga-gateway-service
port:
number: 80

View file

@ -1,10 +0,0 @@
host: FQDN
http:
paths:
- pathType: Prefix
path: "/"
backend:
service:
name: SERVICE_NAME
port:
number: SERVICE_PORT

View file

@ -5,9 +5,9 @@ metadata:
labels:
app: postgres
spec:
storageClassName: REPLACEME
storageClassName: postgres
accessModes:
- ReadWriteOnce
resources:
requests:
storage: REPLACEME
storage: postgres

View file

@ -8,20 +8,20 @@ data:
# Database settings handled in deployment
# Taiga settings
TAIGA_SITES_SCHEME: TAIGA_SCHEME
TAIGA_SITES_DOMAIN: TAIGA_DOMAIN
TAIGA_SUBPATH: SUBPATH
TAIGA_SITES_SCHEME: https
TAIGA_SITES_DOMAIN: jitsi.test.meissa.de
TAIGA_SUBPATH: ""
# Email settings.
EMAIL_BACKEND: EMAIL_BACKEND # django.core.mail.backends.${EMAIL_BACKEND}.EmailBackend # ToDo move to code base
DEFAULT_FROM_EMAIL: DEFAULT_FROM_EMAIL_VALUE
EMAIL_USE_TLS: EMAIL_USE_TLS_VALUE
EMAIL_USE_SSL: EMAIL_USE_SSL_VALUE
EMAIL_HOST: EMAIL_HOST_VALUE
EMAIL_PORT: EMAIL_PORT_VALUE
EMAIL_BACKEND: console # django.core.mail.backends.${EMAIL_BACKEND}.EmailBackend # ToDo move to code base
DEFAULT_FROM_EMAIL: meissa@meissa.de
EMAIL_USE_TLS: false
EMAIL_USE_SSL: false
EMAIL_HOST: smpt.meissa.de
EMAIL_PORT: 39
# Telemetry settings
ENABLE_TELEMETRY: ENABLE_TELEMETRY_VALUE
ENABLE_TELEMETRY: false
# ...your customizations go here
# Taiga Events Settings

View file

@ -12,7 +12,7 @@ spec:
- ReadWriteOnce
resources:
requests:
storage: TAIGA_MEDIA_DATA_STORAGE_SIZE
storage: 1Gi
---
apiVersion: v1
kind: PersistentVolumeClaim
@ -28,4 +28,4 @@ spec:
- ReadWriteOnce
resources:
requests:
storage: TAIGA_STATIC_DATA_STORAGE_SIZE
storage: 1Gi

View file

@ -23,11 +23,11 @@ spec:
- name: http
containerPort: 8888
env:
- name: EVENTS_PUSH_BACKEND_URL # ToDo: check if we really need to set these URLs
valueFrom:
configMapKeyRef:
name: taiga-configmap
key: EVENTS_PUSH_BACKEND_URL
#- name: EVENTS_PUSH_BACKEND_URL # ToDo: check if we really need to set these URLs
# valueFrom:
# configMapKeyRef:
# name: taiga-configmap
# key: EVENTS_PUSH_BACKEND_URL
- name: RABBITMQ_USER
valueFrom:
secretKeyRef:

View file

@ -28,9 +28,9 @@ spec:
readOnly: false
env:
- name: RABBITMQ_ERLANG_COOKIE
value: ERLANG_COOKIE_VALUE
value: erlang-cookie-name
- name: RABBITMQ_DEFAULT_VHOST
value: RABBITMQ_VHOST
value: taiga
- name: RABBITMQ_USER
valueFrom:
secretKeyRef:

View file

@ -24,8 +24,8 @@ spec:
containerPort: 80
env:
- name: TAIGA_URL
value: TAGA_SCHEME://TAIGA_DOMAIN
value: https://jitsi.test.meissa.de
- name: TAIGA_WEBSOCKETS_URL
value: WEBSOCKETS_SCHEME://TAIGA_DOMAIN
value: https://jitsi.test.meissa.de
- name: TAIGA_SUBPATH
value: SUBPATH
value: ""

View file

@ -24,7 +24,7 @@ spec:
containerPort: 8003
env:
- name: MAX_AGE
value: ATTACHMENTS_MAX_AGE
value: 5
- name: SECRET_KEY
valueFrom:
secretKeyRef:

View file

@ -12,7 +12,7 @@ spec:
- ReadWriteOnce
resources:
requests:
storage: TAIGA_RABBITMQ_DATA_STORAGE_SIZE
storage: 1Gi
---
apiVersion: v1
kind: PersistentVolumeClaim
@ -28,4 +28,4 @@ spec:
- ReadWriteOnce
resources:
requests:
storage: TAIGA_RABBITMQ_DATA_STORAGE_SIZE
storage: 1Gi

View file

@ -6,5 +6,5 @@ metadata:
app.kubernetes.part-of: taiga
data:
# Rabbitmq settings
RABBITMQ_DEFAULT_USER: RABBITMQ_USER_VALUE # ToDo: Evaluate if we need two different users and passes for rabbitmq
RABBITMQ_DEFAULT_PASS: RABBITMQ_PASS_VALUE
RABBITMQ_DEFAULT_USER: rabbit # ToDo: Evaluate if we need two different users and passes for rabbitmq
RABBITMQ_DEFAULT_PASS: rabbit_pass

View file

@ -7,16 +7,16 @@ metadata:
data:
# Taiga settings
TAIGA_SECRET_KEY: SECRET_KEY_VALUE
TAIGA_SECRET_KEY: 59dsfgjsdf4jq3ßdfej345
# Email settings
EMAIL_HOST_USER: EMAIL_HOST_USER_VALUE
EMAIL_HOST_PASSWORD: EMAIL_HOST_USER_PASS
EMAIL_HOST_USER: meissa@meissa.de
EMAIL_HOST_PASSWORD: asdfasdf
# Rabbitmq settings
RABBITMQ_USER: RABBITMQ_USER_VALUE
RABBITMQ_PASS: RABBITMQ_PASS_VALUE
RABBITMQ_USER: rabbit
RABBITMQ_PASS: rabbit_pass
# Django settings
DJANGO_SUPERUSER_TAIGAADMIN: TAIGA_ADMIN
DJANGO_SUPERUSER_PASSWORD: TAIGA_ADMIN_PASS
DJANGO_SUPERUSER_TAIGAADMIN: taiga
DJANGO_SUPERUSER_PASSWORD: taiga_pass