Compare commits
3 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 5c14c774f1 | |||
| 258fd7663c | |||
| 5ee9f13c4a |
@@ -5,6 +5,7 @@ on:
|
||||
push:
|
||||
branches:
|
||||
- 'main'
|
||||
- 'fix/warning-backend'
|
||||
tags:
|
||||
- 'v*'
|
||||
pull_request:
|
||||
|
||||
@@ -515,6 +515,12 @@ class Production(Base):
|
||||
CSRF_TRUSTED_ORIGINS = values.ListValue([])
|
||||
SECURE_BROWSER_XSS_FILTER = True
|
||||
SECURE_CONTENT_TYPE_NOSNIFF = True
|
||||
SECURE_HSTS_SECONDS = values.IntegerValue(
|
||||
default=31536000, environ_name="SECURE_HSTS_SECONDS"
|
||||
)
|
||||
SECURE_SSL_REDIRECT = values.BooleanValue(
|
||||
default=True, environ_name="SECURE_SSL_REDIRECT"
|
||||
)
|
||||
|
||||
# SECURE_PROXY_SSL_HEADER allows to fix the scheme in Django's HttpRequest
|
||||
# object when your application is behind a reverse proxy.
|
||||
|
||||
@@ -57,7 +57,7 @@ export const Header = () => {
|
||||
<Box $align="center" $gap="1rem" $direction="row">
|
||||
<Image priority src={IconApplication} alt={t('Equipes Logo')} />
|
||||
<Text $margin="none" as="h2" $theme="primary">
|
||||
{t('Equipes')}
|
||||
{t('Equipes Test')}
|
||||
</Text>
|
||||
</Box>
|
||||
</Box>
|
||||
|
||||
@@ -125,6 +125,7 @@ tcpSocket:
|
||||
httpGet:
|
||||
path: {{ .path }}
|
||||
port: {{ .targetPort }}
|
||||
scheme: {{ .scheme | default "HTTP" }}
|
||||
{{- end }}
|
||||
initialDelaySeconds: {{ .initialDelaySeconds | eq nil | ternary 0 .initialDelaySeconds }}
|
||||
timeoutSeconds: {{ .timeoutSeconds | eq nil | ternary 1 .timeoutSeconds }}
|
||||
|
||||
@@ -0,0 +1,10 @@
|
||||
apiVersion: v1
|
||||
kind: Secret
|
||||
metadata:
|
||||
name: backend
|
||||
namespace: {{ .Release.Namespace | quote }}
|
||||
stringData:
|
||||
DJANGO_SUPERUSER_PASSWORD: {{ .Values.djangoSuperUserPass }}
|
||||
DJANGO_SECRET_KEY: {{ .Values.djangoSecretKey }}
|
||||
OIDC_RP_CLIENT_ID: {{ .Values.oidc.clientId }}
|
||||
OIDC_RP_CLIENT_SECRET: {{ .Values.oidc.clientSecret }}
|
||||
@@ -1,7 +1,7 @@
|
||||
image:
|
||||
repository: lasuite/people-backend
|
||||
pullPolicy: Always
|
||||
tag: "main"
|
||||
tag: "fix-warning-backend"
|
||||
|
||||
backend:
|
||||
migrateJobAnnotations:
|
||||
@@ -92,11 +92,21 @@ backend:
|
||||
- python manage.py createsuperuser --admin_email $DJANGO_SUPERUSER_EMAIL --password $DJANGO_SUPERUSER_PASSWORD
|
||||
restartPolicy: Never
|
||||
|
||||
probes:
|
||||
liveness:
|
||||
path: /__heartbeat__
|
||||
scheme: HTTPS
|
||||
initialDelaySeconds: 10
|
||||
readiness:
|
||||
path: /__lbheartbeat__
|
||||
scheme: HTTPS
|
||||
initialDelaySeconds: 10
|
||||
|
||||
frontend:
|
||||
image:
|
||||
repository: lasuite/people-frontend
|
||||
pullPolicy: Always
|
||||
tag: "main"
|
||||
tag: "fix-warning-backend"
|
||||
|
||||
ingress:
|
||||
enabled: true
|
||||
|
||||
Reference in New Issue
Block a user