feat(thelounge): add config.js with LDAP, reverseProxy, and sqlite storage
Best Practices / Kube-score Analysis (push) Has been cancelled
Best Practices / Polaris Audit (push) Has been cancelled
Best Practices / Resource Usage Analysis (push) Has been cancelled
Best Practices / PR Summary Report (push) Has been cancelled
Best Practices / Polaris PR Review (push) Has been cancelled
Security Scan / Trivy Security Scan (push) Has been cancelled
Security Scan / Trivy PR Review (push) Has been cancelled
Security Scan / Checkov IaC Scan (push) Has been cancelled
Security Scan / Checkov PR Review (push) Has been cancelled
Validate Manifests / Kustomize Build Test (push) Has been cancelled
Validate Manifests / Kubernetes Schema Validation (push) Has been cancelled
Validate Manifests / YAML Lint (push) Has been cancelled
Best Practices / Kube-score Analysis (push) Has been cancelled
Best Practices / Polaris Audit (push) Has been cancelled
Best Practices / Resource Usage Analysis (push) Has been cancelled
Best Practices / PR Summary Report (push) Has been cancelled
Best Practices / Polaris PR Review (push) Has been cancelled
Security Scan / Trivy Security Scan (push) Has been cancelled
Security Scan / Trivy PR Review (push) Has been cancelled
Security Scan / Checkov IaC Scan (push) Has been cancelled
Security Scan / Checkov PR Review (push) Has been cancelled
Validate Manifests / Kustomize Build Test (push) Has been cancelled
Validate Manifests / Kubernetes Schema Validation (push) Has been cancelled
Validate Manifests / YAML Lint (push) Has been cancelled
This commit is contained in:
@@ -0,0 +1,26 @@
|
||||
apiVersion: v1
|
||||
kind: ConfigMap
|
||||
metadata:
|
||||
name: thelounge-config
|
||||
namespace: irc
|
||||
data:
|
||||
config.js: |
|
||||
module.exports = {
|
||||
public: false,
|
||||
reverseProxy: true,
|
||||
port: 9000,
|
||||
|
||||
messageStorage: ["sqlite"],
|
||||
storagePolicy: {
|
||||
enabled: true,
|
||||
maxAgeDays: 365,
|
||||
deletionPolicy: "statusOnly",
|
||||
},
|
||||
|
||||
ldap: {
|
||||
enable: true,
|
||||
url: "ldap://ak-outpost-ldap-outpost.auth.svc.cluster.local",
|
||||
primaryKey: "cn",
|
||||
baseDN: "ou=users,dc=farh,dc=net",
|
||||
},
|
||||
};
|
||||
@@ -5,3 +5,4 @@ resources:
|
||||
- service.yaml
|
||||
- httproute.yaml
|
||||
- authorizationpolicy.yaml
|
||||
- config.yaml
|
||||
|
||||
@@ -62,6 +62,10 @@ spec:
|
||||
volumeMounts:
|
||||
- name: config
|
||||
mountPath: /var/opt/thelounge
|
||||
- name: thelounge-config
|
||||
mountPath: /var/opt/thelounge/config.js
|
||||
subPath: config.js
|
||||
readOnly: true
|
||||
resources:
|
||||
requests:
|
||||
cpu: "100m"
|
||||
@@ -86,6 +90,10 @@ spec:
|
||||
periodSeconds: 5
|
||||
timeoutSeconds: 1
|
||||
failureThreshold: 3
|
||||
volumes:
|
||||
- name: thelounge-config
|
||||
configMap:
|
||||
name: thelounge-config
|
||||
volumeClaimTemplates:
|
||||
- metadata:
|
||||
name: config
|
||||
|
||||
Reference in New Issue
Block a user