Skip to content

Instantly share code, notes, and snippets.

@audacioustux
Last active December 30, 2023 12:37
Show Gist options
  • Save audacioustux/95ac96c90daccb860f204d4ab734f95d to your computer and use it in GitHub Desktop.
Save audacioustux/95ac96c90daccb860f204d4ab734f95d to your computer and use it in GitHub Desktop.
open Edx configs
apiVersion: cert-manager.io/v1
kind: Issuer
metadata:
name: self-signed
spec:
selfSigned: {}
---
apiVersion: cert-manager.io/v1
kind: Certificate
metadata:
name: ca
spec:
isCA: true
privateKey:
algorithm: ECDSA
size: 256
secretName: ca
commonName: ca
issuerRef:
name: self-signed
kind: Issuer
---
apiVersion: cert-manager.io/v1
kind: Issuer
metadata:
name: ca-issuer
spec:
ca:
secretName: ca
CMS_HOST:
CMS_OAUTH2_SECRET:
CONTACT_EMAIL:
ENABLE_HTTPS: true
ENABLE_WEB_PROXY: false
ID:
JWT_RSA_PRIVATE_KEY:
LANGUAGE_CODE: en
LMS_HOST:
MYSQL_ROOT_PASSWORD:
OPENEDX_MYSQL_PASSWORD:
OPENEDX_SECRET_KEY:
PLATFORM_NAME:
PLUGINS:
- indigo
- mfe
PLUGIN_INDEXES:
- https://overhang.io/tutor/main
RUN_SMTP: false
SMTP_HOST: email-smtp.eu-north-1.amazonaws.com
SMTP_PASSWORD:
SMTP_PORT: 587
SMTP_USERNAME:
SMTP_USE_TLS: true
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: openedx
annotations:
cert-manager.io/issuer: ca-issuer
spec:
rules:
- host: nobinalo.com
http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: caddy
port:
number: 80
- host: "*.nobinalo.com"
http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: caddy
port:
number: 80
tls:
- hosts:
- nobinalo.com
- "*.nobinalo.com"
secretName: ca
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment