fixed geoip tag
This commit is contained in:
+296
-296
@@ -44,18 +44,18 @@ spec:
|
||||
app.kubernetes.io/name: wger-redis
|
||||
spec:
|
||||
containers:
|
||||
- name: redis
|
||||
image: redis:7.2-alpine
|
||||
ports:
|
||||
- containerPort: 6379
|
||||
name: redis
|
||||
resources:
|
||||
requests:
|
||||
cpu: 50m
|
||||
memory: 64Mi
|
||||
limits:
|
||||
cpu: 200m
|
||||
memory: 128Mi
|
||||
- name: redis
|
||||
image: redis:7.2-alpine
|
||||
ports:
|
||||
- containerPort: 6379
|
||||
name: redis
|
||||
resources:
|
||||
requests:
|
||||
cpu: 50m
|
||||
memory: 64Mi
|
||||
limits:
|
||||
cpu: 200m
|
||||
memory: 128Mi
|
||||
---
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
@@ -82,158 +82,158 @@ spec:
|
||||
securityContext:
|
||||
fsGroup: 1000
|
||||
containers:
|
||||
- name: nginx
|
||||
image: nginx:alpine
|
||||
ports:
|
||||
- containerPort: 80
|
||||
name: http
|
||||
volumeMounts:
|
||||
- name: static
|
||||
mountPath: /home/wger/static
|
||||
readOnly: true
|
||||
- name: media
|
||||
mountPath: /home/wger/media
|
||||
readOnly: true
|
||||
- name: nginx-config
|
||||
mountPath: /etc/nginx/conf.d/default.conf
|
||||
subPath: nginx.conf
|
||||
- name: wger
|
||||
image: ghcr.io/kisfenyo/wger-oidc:latest
|
||||
imagePullPolicy: Always
|
||||
env:
|
||||
# Django settings
|
||||
- name: SECRET_KEY
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: wger-app
|
||||
key: secret-key
|
||||
- name: SIGNING_KEY
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: wger-app
|
||||
key: signing-key
|
||||
- name: DJANGO_DEBUG
|
||||
value: "False"
|
||||
- name: WGER_INSTANCE
|
||||
value: "https://workout.dooplex.hu"
|
||||
- name: TIME_ZONE
|
||||
value: "Europe/Budapest"
|
||||
- name: DJANGO_SETTINGS_MODULE
|
||||
value: "config.settings.production"
|
||||
- name: DJANGO_CACHE_TIMEOUT
|
||||
value: "120"
|
||||
# Database
|
||||
- name: DJANGO_DB_ENGINE
|
||||
value: "django.db.backends.postgresql"
|
||||
- name: DJANGO_DB_HOST
|
||||
value: "postgresql-rw.database-system.svc.cluster.local"
|
||||
- name: DJANGO_DB_PORT
|
||||
value: "5432"
|
||||
- name: DJANGO_DB_DATABASE
|
||||
value: "wger"
|
||||
- name: DJANGO_DB_USER
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: wger-db
|
||||
key: username
|
||||
- name: DJANGO_DB_PASSWORD
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: wger-db
|
||||
key: password
|
||||
# Cache
|
||||
- name: DJANGO_CACHE_BACKEND
|
||||
value: "django_redis.cache.RedisCache"
|
||||
- name: DJANGO_CACHE_LOCATION
|
||||
value: "redis://wger-redis:6379/1"
|
||||
- name: DJANGO_CACHE_CLIENT_CLASS
|
||||
value: "django_redis.client.DefaultClient"
|
||||
# Celery
|
||||
- name: CELERY_BROKER
|
||||
value: "redis://wger-redis:6379/2"
|
||||
- name: CELERY_BACKEND
|
||||
value: "redis://wger-redis:6379/2"
|
||||
- name: ENABLE_OIDC
|
||||
value: "True"
|
||||
- name: OIDC_RP_CLIENT_ID
|
||||
value: "AXr6k4P1JcgKKMcvGeXOLwd69MJ1UVjz3fW80mEg"
|
||||
- name: OIDC_RP_CLIENT_SECRET
|
||||
value: "oaj4yWum0skWoAJVf4VvXSSnc4pdaWQbKtyPaMaG6prBN0av1b1w7bna6nUALoIXwSQWu9seFZl66XsYxaFWXVXcWyI6B63rl5saIFCifVg9hqkl6RlhxHL4X4u42pqd"
|
||||
- name: OIDC_RP_SIGN_ALGO
|
||||
value: "RS256"
|
||||
- name: CSRF_TRUSTED_ORIGINS
|
||||
value: "https://workout.dooplex.hu"
|
||||
# Authentik Endpoints (Replace 'authentik.dooplex.hu' with your actual Authentik domain)
|
||||
- name: OIDC_OP_LOGOUT_ENDPOINT
|
||||
value: "https://authentik.dooplex.hu/application/o/workout/end-session/"
|
||||
- name: OIDC_LOGIN_BUTTON_TEXT
|
||||
value: "Login with Authentik"
|
||||
- name: OIDC_ALLOW_CREATE_USER
|
||||
value: "true"
|
||||
- name: OIDC_OP_AUTHORIZATION_ENDPOINT
|
||||
value: "https://authentik.dooplex.hu/application/o/authorize/"
|
||||
- name: OIDC_OP_TOKEN_ENDPOINT
|
||||
value: "https://authentik.dooplex.hu/application/o/token/"
|
||||
- name: OIDC_OP_USER_ENDPOINT
|
||||
value: "https://authentik.dooplex.hu/application/o/userinfo/"
|
||||
- name: OIDC_OP_JWKS_ENDPOINT
|
||||
value: "https://authentik.dooplex.hu/application/o/workout/jwks/"
|
||||
# Email (disabled - no email sending)
|
||||
- name: ENABLE_EMAIL
|
||||
value: "False"
|
||||
# Media settings
|
||||
- name: DJANGO_MEDIA_ROOT
|
||||
value: "/home/wger/media"
|
||||
- name: DJANGO_STATIC_ROOT
|
||||
value: "/home/wger/static"
|
||||
# Features
|
||||
- name: ALLOW_REGISTRATION
|
||||
value: "False"
|
||||
- name: ALLOW_GUEST_USERS
|
||||
value: "False"
|
||||
- name: ALLOW_UPLOAD_VIDEOS
|
||||
value: "True"
|
||||
- name: USE_RECAPTCHA
|
||||
value: "False"
|
||||
- name: DOWNLOAD_EXERCISE_IMAGES_ON_STARTUP
|
||||
value: "True"
|
||||
ports:
|
||||
- containerPort: 8000
|
||||
name: http
|
||||
resources:
|
||||
requests:
|
||||
cpu: 100m
|
||||
memory: 256Mi
|
||||
limits:
|
||||
cpu: 1000m
|
||||
memory: 1Gi
|
||||
volumeMounts:
|
||||
- name: media
|
||||
mountPath: /home/wger/media
|
||||
- name: static
|
||||
mountPath: /home/wger/static
|
||||
livenessProbe:
|
||||
httpGet:
|
||||
path: /
|
||||
port: http
|
||||
initialDelaySeconds: 120
|
||||
periodSeconds: 30
|
||||
readinessProbe:
|
||||
httpGet:
|
||||
path: /
|
||||
port: http
|
||||
initialDelaySeconds: 60
|
||||
periodSeconds: 10
|
||||
- name: nginx
|
||||
image: nginx:alpine
|
||||
ports:
|
||||
- containerPort: 80
|
||||
name: http
|
||||
volumeMounts:
|
||||
- name: static
|
||||
mountPath: /home/wger/static
|
||||
readOnly: true
|
||||
- name: media
|
||||
mountPath: /home/wger/media
|
||||
readOnly: true
|
||||
- name: nginx-config
|
||||
mountPath: /etc/nginx/conf.d/default.conf
|
||||
subPath: nginx.conf
|
||||
- name: wger
|
||||
image: ghcr.io/kisfenyo/wger-oidc:latest
|
||||
imagePullPolicy: Always
|
||||
env:
|
||||
# Django settings
|
||||
- name: SECRET_KEY
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: wger-app
|
||||
key: secret-key
|
||||
- name: SIGNING_KEY
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: wger-app
|
||||
key: signing-key
|
||||
- name: DJANGO_DEBUG
|
||||
value: "False"
|
||||
- name: WGER_INSTANCE
|
||||
value: "https://workout.dooplex.hu"
|
||||
- name: TIME_ZONE
|
||||
value: "Europe/Budapest"
|
||||
- name: DJANGO_SETTINGS_MODULE
|
||||
value: "config.settings.production"
|
||||
- name: DJANGO_CACHE_TIMEOUT
|
||||
value: "120"
|
||||
# Database
|
||||
- name: DJANGO_DB_ENGINE
|
||||
value: "django.db.backends.postgresql"
|
||||
- name: DJANGO_DB_HOST
|
||||
value: "postgresql-rw.database-system.svc.cluster.local"
|
||||
- name: DJANGO_DB_PORT
|
||||
value: "5432"
|
||||
- name: DJANGO_DB_DATABASE
|
||||
value: "wger"
|
||||
- name: DJANGO_DB_USER
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: wger-db
|
||||
key: username
|
||||
- name: DJANGO_DB_PASSWORD
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: wger-db
|
||||
key: password
|
||||
# Cache
|
||||
- name: DJANGO_CACHE_BACKEND
|
||||
value: "django_redis.cache.RedisCache"
|
||||
- name: DJANGO_CACHE_LOCATION
|
||||
value: "redis://wger-redis:6379/1"
|
||||
- name: DJANGO_CACHE_CLIENT_CLASS
|
||||
value: "django_redis.client.DefaultClient"
|
||||
# Celery
|
||||
- name: CELERY_BROKER
|
||||
value: "redis://wger-redis:6379/2"
|
||||
- name: CELERY_BACKEND
|
||||
value: "redis://wger-redis:6379/2"
|
||||
- name: ENABLE_OIDC
|
||||
value: "True"
|
||||
- name: OIDC_RP_CLIENT_ID
|
||||
value: "AXr6k4P1JcgKKMcvGeXOLwd69MJ1UVjz3fW80mEg"
|
||||
- name: OIDC_RP_CLIENT_SECRET
|
||||
value: "oaj4yWum0skWoAJVf4VvXSSnc4pdaWQbKtyPaMaG6prBN0av1b1w7bna6nUALoIXwSQWu9seFZl66XsYxaFWXVXcWyI6B63rl5saIFCifVg9hqkl6RlhxHL4X4u42pqd"
|
||||
- name: OIDC_RP_SIGN_ALGO
|
||||
value: "RS256"
|
||||
- name: CSRF_TRUSTED_ORIGINS
|
||||
value: "https://workout.dooplex.hu"
|
||||
# Authentik Endpoints (Replace 'authentik.dooplex.hu' with your actual Authentik domain)
|
||||
- name: OIDC_OP_LOGOUT_ENDPOINT
|
||||
value: "https://authentik.dooplex.hu/application/o/workout/end-session/"
|
||||
- name: OIDC_LOGIN_BUTTON_TEXT
|
||||
value: "Login with Authentik"
|
||||
- name: OIDC_ALLOW_CREATE_USER
|
||||
value: "true"
|
||||
- name: OIDC_OP_AUTHORIZATION_ENDPOINT
|
||||
value: "https://authentik.dooplex.hu/application/o/authorize/"
|
||||
- name: OIDC_OP_TOKEN_ENDPOINT
|
||||
value: "https://authentik.dooplex.hu/application/o/token/"
|
||||
- name: OIDC_OP_USER_ENDPOINT
|
||||
value: "https://authentik.dooplex.hu/application/o/userinfo/"
|
||||
- name: OIDC_OP_JWKS_ENDPOINT
|
||||
value: "https://authentik.dooplex.hu/application/o/workout/jwks/"
|
||||
# Email (disabled - no email sending)
|
||||
- name: ENABLE_EMAIL
|
||||
value: "False"
|
||||
# Media settings
|
||||
- name: DJANGO_MEDIA_ROOT
|
||||
value: "/home/wger/media"
|
||||
- name: DJANGO_STATIC_ROOT
|
||||
value: "/home/wger/static"
|
||||
# Features
|
||||
- name: ALLOW_REGISTRATION
|
||||
value: "False"
|
||||
- name: ALLOW_GUEST_USERS
|
||||
value: "False"
|
||||
- name: ALLOW_UPLOAD_VIDEOS
|
||||
value: "True"
|
||||
- name: USE_RECAPTCHA
|
||||
value: "False"
|
||||
- name: DOWNLOAD_EXERCISE_IMAGES_ON_STARTUP
|
||||
value: "True"
|
||||
ports:
|
||||
- containerPort: 8000
|
||||
name: http
|
||||
resources:
|
||||
requests:
|
||||
cpu: 100m
|
||||
memory: 256Mi
|
||||
limits:
|
||||
cpu: 1000m
|
||||
memory: 1Gi
|
||||
volumeMounts:
|
||||
- name: media
|
||||
mountPath: /home/wger/media
|
||||
- name: static
|
||||
mountPath: /home/wger/static
|
||||
livenessProbe:
|
||||
httpGet:
|
||||
path: /
|
||||
port: http
|
||||
initialDelaySeconds: 120
|
||||
periodSeconds: 30
|
||||
readinessProbe:
|
||||
httpGet:
|
||||
path: /
|
||||
port: http
|
||||
initialDelaySeconds: 60
|
||||
periodSeconds: 10
|
||||
volumes:
|
||||
- name: nginx-config
|
||||
configMap:
|
||||
name: wger-nginx-config
|
||||
- name: media
|
||||
persistentVolumeClaim:
|
||||
claimName: wger-media
|
||||
- name: static
|
||||
persistentVolumeClaim:
|
||||
claimName: wger-static
|
||||
- name: nginx-config
|
||||
configMap:
|
||||
name: wger-nginx-config
|
||||
- name: media
|
||||
persistentVolumeClaim:
|
||||
claimName: wger-media
|
||||
- name: static
|
||||
persistentVolumeClaim:
|
||||
claimName: wger-static
|
||||
---
|
||||
# Celery worker for background tasks
|
||||
apiVersion: apps/v1
|
||||
@@ -259,58 +259,58 @@ spec:
|
||||
securityContext:
|
||||
fsGroup: 1000
|
||||
containers:
|
||||
- name: celery-worker
|
||||
image: ghcr.io/kisfenyo/wger-oidc:latest
|
||||
imagePullPolicy: Always
|
||||
command: ["/start-worker"]
|
||||
env:
|
||||
- name: SECRET_KEY
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: wger-app
|
||||
key: secret-key
|
||||
- name: SIGNING_KEY
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: wger-app
|
||||
key: signing-key
|
||||
- name: DJANGO_DB_ENGINE
|
||||
value: "django.db.backends.postgresql"
|
||||
- name: DJANGO_DB_HOST
|
||||
value: "postgresql-rw.database-system.svc.cluster.local"
|
||||
- name: DJANGO_DB_PORT
|
||||
value: "5432"
|
||||
- name: DJANGO_DB_DATABASE
|
||||
value: "wger"
|
||||
- name: DJANGO_DB_USER
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: wger-db
|
||||
key: username
|
||||
- name: DJANGO_DB_PASSWORD
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: wger-db
|
||||
key: password
|
||||
- name: DJANGO_CACHE_TIMEOUT
|
||||
value: "120"
|
||||
- name: DJANGO_CACHE_CLIENT_CLASS
|
||||
value: "django_redis.client.DefaultClient"
|
||||
- name: CELERY_BROKER
|
||||
value: "redis://wger-redis:6379/2"
|
||||
- name: CELERY_BACKEND
|
||||
value: "redis://wger-redis:6379/2"
|
||||
- name: DJANGO_CACHE_BACKEND
|
||||
value: "django_redis.cache.RedisCache"
|
||||
- name: DJANGO_CACHE_LOCATION
|
||||
value: "redis://wger-redis:6379/1"
|
||||
resources:
|
||||
requests:
|
||||
cpu: 50m
|
||||
memory: 128Mi
|
||||
limits:
|
||||
cpu: 500m
|
||||
memory: 512Mi
|
||||
- name: celery-worker
|
||||
image: ghcr.io/kisfenyo/wger-oidc:latest
|
||||
imagePullPolicy: Always
|
||||
command: ["/start-worker"]
|
||||
env:
|
||||
- name: SECRET_KEY
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: wger-app
|
||||
key: secret-key
|
||||
- name: SIGNING_KEY
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: wger-app
|
||||
key: signing-key
|
||||
- name: DJANGO_DB_ENGINE
|
||||
value: "django.db.backends.postgresql"
|
||||
- name: DJANGO_DB_HOST
|
||||
value: "postgresql-rw.database-system.svc.cluster.local"
|
||||
- name: DJANGO_DB_PORT
|
||||
value: "5432"
|
||||
- name: DJANGO_DB_DATABASE
|
||||
value: "wger"
|
||||
- name: DJANGO_DB_USER
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: wger-db
|
||||
key: username
|
||||
- name: DJANGO_DB_PASSWORD
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: wger-db
|
||||
key: password
|
||||
- name: DJANGO_CACHE_TIMEOUT
|
||||
value: "120"
|
||||
- name: DJANGO_CACHE_CLIENT_CLASS
|
||||
value: "django_redis.client.DefaultClient"
|
||||
- name: CELERY_BROKER
|
||||
value: "redis://wger-redis:6379/2"
|
||||
- name: CELERY_BACKEND
|
||||
value: "redis://wger-redis:6379/2"
|
||||
- name: DJANGO_CACHE_BACKEND
|
||||
value: "django_redis.cache.RedisCache"
|
||||
- name: DJANGO_CACHE_LOCATION
|
||||
value: "redis://wger-redis:6379/1"
|
||||
resources:
|
||||
requests:
|
||||
cpu: 50m
|
||||
memory: 128Mi
|
||||
limits:
|
||||
cpu: 500m
|
||||
memory: 512Mi
|
||||
---
|
||||
# Celery beat for scheduled tasks
|
||||
apiVersion: apps/v1
|
||||
@@ -336,54 +336,54 @@ spec:
|
||||
securityContext:
|
||||
fsGroup: 1000
|
||||
containers:
|
||||
- name: celery-beat
|
||||
image: ghcr.io/kisfenyo/wger-oidc:latest
|
||||
imagePullPolicy: Always
|
||||
command: ["/start-beat"]
|
||||
env:
|
||||
- name: SECRET_KEY
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: wger-app
|
||||
key: secret-key
|
||||
- name: SIGNING_KEY
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: wger-app
|
||||
key: signing-key
|
||||
- name: DJANGO_CACHE_TIMEOUT
|
||||
value: "120"
|
||||
- name: DJANGO_CACHE_CLIENT_CLASS
|
||||
value: "django_redis.client.DefaultClient"
|
||||
- name: DJANGO_DB_ENGINE
|
||||
value: "django.db.backends.postgresql"
|
||||
- name: DJANGO_DB_HOST
|
||||
value: "postgresql-rw.database-system.svc.cluster.local"
|
||||
- name: DJANGO_DB_PORT
|
||||
value: "5432"
|
||||
- name: DJANGO_DB_DATABASE
|
||||
value: "wger"
|
||||
- name: DJANGO_DB_USER
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: wger-db
|
||||
key: username
|
||||
- name: DJANGO_DB_PASSWORD
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: wger-db
|
||||
key: password
|
||||
- name: CELERY_BROKER
|
||||
value: "redis://wger-redis:6379/2"
|
||||
- name: CELERY_BACKEND
|
||||
value: "redis://wger-redis:6379/2"
|
||||
resources:
|
||||
requests:
|
||||
cpu: 50m
|
||||
memory: 64Mi
|
||||
limits:
|
||||
cpu: 200m
|
||||
memory: 256Mi
|
||||
- name: celery-beat
|
||||
image: ghcr.io/kisfenyo/wger-oidc:latest
|
||||
imagePullPolicy: Always
|
||||
command: ["/start-beat"]
|
||||
env:
|
||||
- name: SECRET_KEY
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: wger-app
|
||||
key: secret-key
|
||||
- name: SIGNING_KEY
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: wger-app
|
||||
key: signing-key
|
||||
- name: DJANGO_CACHE_TIMEOUT
|
||||
value: "120"
|
||||
- name: DJANGO_CACHE_CLIENT_CLASS
|
||||
value: "django_redis.client.DefaultClient"
|
||||
- name: DJANGO_DB_ENGINE
|
||||
value: "django.db.backends.postgresql"
|
||||
- name: DJANGO_DB_HOST
|
||||
value: "postgresql-rw.database-system.svc.cluster.local"
|
||||
- name: DJANGO_DB_PORT
|
||||
value: "5432"
|
||||
- name: DJANGO_DB_DATABASE
|
||||
value: "wger"
|
||||
- name: DJANGO_DB_USER
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: wger-db
|
||||
key: username
|
||||
- name: DJANGO_DB_PASSWORD
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: wger-db
|
||||
key: password
|
||||
- name: CELERY_BROKER
|
||||
value: "redis://wger-redis:6379/2"
|
||||
- name: CELERY_BACKEND
|
||||
value: "redis://wger-redis:6379/2"
|
||||
resources:
|
||||
requests:
|
||||
cpu: 50m
|
||||
memory: 64Mi
|
||||
limits:
|
||||
cpu: 200m
|
||||
memory: 256Mi
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
@@ -396,9 +396,9 @@ metadata:
|
||||
spec:
|
||||
type: ClusterIP
|
||||
ports:
|
||||
- name: redis
|
||||
port: 6379
|
||||
targetPort: redis
|
||||
- name: redis
|
||||
port: 6379
|
||||
targetPort: redis
|
||||
selector:
|
||||
app.kubernetes.io/instance: wger
|
||||
app.kubernetes.io/name: wger-redis
|
||||
@@ -414,9 +414,9 @@ metadata:
|
||||
spec:
|
||||
type: ClusterIP
|
||||
ports:
|
||||
- name: http
|
||||
port: 80
|
||||
targetPort: 80
|
||||
- name: http
|
||||
port: 80
|
||||
targetPort: 80
|
||||
selector:
|
||||
app.kubernetes.io/instance: wger
|
||||
app.kubernetes.io/name: wger
|
||||
@@ -436,36 +436,36 @@ metadata:
|
||||
nginx.ingress.kubernetes.io/ssl-redirect: "true"
|
||||
nginx.ingress.kubernetes.io/proxy-body-size: "100m"
|
||||
nginx.ingress.kubernetes.io/configuration-snippet: |
|
||||
if ($geoip2_city_country_code != "HU") {
|
||||
if ($geoip2_country_code != "HU") {
|
||||
return 403 "Access restricted to Hungary";
|
||||
}
|
||||
spec:
|
||||
ingressClassName: nginx-internal
|
||||
rules:
|
||||
- host: workout.dooplex.hu
|
||||
http:
|
||||
paths:
|
||||
- path: /
|
||||
pathType: Prefix
|
||||
backend:
|
||||
service:
|
||||
name: wger
|
||||
port:
|
||||
number: 80
|
||||
- host: workout.home
|
||||
http:
|
||||
paths:
|
||||
- path: /
|
||||
pathType: Prefix
|
||||
backend:
|
||||
service:
|
||||
name: wger
|
||||
port:
|
||||
number: 80
|
||||
- host: workout.dooplex.hu
|
||||
http:
|
||||
paths:
|
||||
- path: /
|
||||
pathType: Prefix
|
||||
backend:
|
||||
service:
|
||||
name: wger
|
||||
port:
|
||||
number: 80
|
||||
- host: workout.home
|
||||
http:
|
||||
paths:
|
||||
- path: /
|
||||
pathType: Prefix
|
||||
backend:
|
||||
service:
|
||||
name: wger
|
||||
port:
|
||||
number: 80
|
||||
tls:
|
||||
- hosts:
|
||||
- workout.dooplex.hu
|
||||
secretName: wger-tls
|
||||
- hosts:
|
||||
- workout.dooplex.hu
|
||||
secretName: wger-tls
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: PersistentVolumeClaim
|
||||
@@ -479,7 +479,7 @@ metadata:
|
||||
recurring-job.longhorn.io/source: enabled
|
||||
spec:
|
||||
accessModes:
|
||||
- ReadWriteOnce
|
||||
- ReadWriteOnce
|
||||
storageClassName: longhorn
|
||||
resources:
|
||||
requests:
|
||||
@@ -495,7 +495,7 @@ metadata:
|
||||
app.kubernetes.io/name: wger-static
|
||||
spec:
|
||||
accessModes:
|
||||
- ReadWriteOnce
|
||||
- ReadWriteOnce
|
||||
storageClassName: longhorn
|
||||
resources:
|
||||
requests:
|
||||
@@ -536,4 +536,4 @@ data:
|
||||
proxy_set_header X-Forwarded-Proto $http_x_forwarded_proto;
|
||||
}
|
||||
}
|
||||
---
|
||||
---
|
||||
|
||||
Reference in New Issue
Block a user