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 namespace: default
spec: spec:
secretName: c4k-common-cert secretName: c4k-common-cert
commonName: FQDN commonName: jitsi.test.meissa.de
duration: 2160h # 90d duration: 2160h # 90d
renewBefore: 720h # 30d renewBefore: 720h # 30d
dnsNames: dnsNames:
- FQDN - jitsi.test.meissa.de
issuerRef: issuerRef:
name: staging name: staging
kind: ClusterIssuer kind: ClusterIssuer

View file

@ -12,16 +12,16 @@ metadata:
spec: spec:
tls: tls:
- hosts: - hosts:
- FQDN - jitsi.test.meissa.de
secretName: c4k-common-cert secretName: c4k-common-cert
rules: rules:
- host: FQDN - host: jitsi.test.meissa.de
http: http:
paths: paths:
- pathType: Prefix - pathType: Prefix
path: "/" path: "/"
backend: backend:
service: service:
name: SERVICE_NAME name: taiga-gateway-service
port: port:
number: 80 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: labels:
app: postgres app: postgres
spec: spec:
storageClassName: REPLACEME storageClassName: postgres
accessModes: accessModes:
- ReadWriteOnce - ReadWriteOnce
resources: resources:
requests: requests:
storage: REPLACEME storage: postgres

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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