* chore(questions): replace port parts with templates * chore(questions): replace controller parts with templates * remove tons of whitespce * remove quotes from strings on templates * make complete controller an include * default to recreate * remove replica and strategies as it's covered from controllerStrtegies include * remove whitespace again * replace controllertype with include (deployment/daemonset/statefulset) * replace advanced port part except targetport * remove more quotes * add hidden toggle of enable the port * new includes * update build script * controller deploy/stateful/deamon template changes * replace controllerStrategies with replicas, replica#, strategy, recreate * move 2 templates into a subfolder * remove quotes * remove disabled portals from questions and defined them on values * remove enabled portal from the questions and add it on values * one more app * Portal cleanup * remove portal templates * add more includes * replace portal links * move some templates in folders * replace ingressRoot with template * more grouping * replace persistenceroot with template * replace serviceExpertRoot * replace serviceroot * fix a rogue one * vctRoot * securityContext cleanup * remove quotes from templates on string * replace vctRoot * replace advanedSecurityRoot * replace podsecurity root * Update .github/scripts/build-catalog.sh * Update values.yaml * remove dupe portal * update build-release script * fix paths * fix apps with imageSelector Co-authored-by: Kjeld Schouten-Lebbing <kjeld@schouten-lebbing.nl>
87 lines
1.8 KiB
YAML
87 lines
1.8 KiB
YAML
image:
|
|
repository: tccr.io/truecharts/kutt
|
|
pullPolicy: IfNotPresent
|
|
tag: v2.7.4@sha256:abd3d365db5416e009f532c50456cacbd1f93c8a2eb9ef9da468e383dc4a49c6
|
|
|
|
securityContext:
|
|
readOnlyRootFilesystem: false
|
|
runAsNonRoot: false
|
|
|
|
podSecurityContext:
|
|
runAsUser: 0
|
|
runAsGroup: 0
|
|
|
|
secretEnv:
|
|
MAIL_USER: ""
|
|
MAIL_PASSWORD: ""
|
|
RECAPTCHA_SITE_KEY: ""
|
|
RECAPTCHA_SECRET_KEY: ""
|
|
GOOGLE_SAFE_BROWSING_KEY: ""
|
|
GOOGLE_ANALYTICS: ""
|
|
GOOGLE_ANALYTICS_UNIVERSAL: ""
|
|
|
|
env:
|
|
PORT: "{{ .Values.service.main.ports.main.port }}"
|
|
DB_NAME: kutt
|
|
DB_USER: kutt
|
|
DB_PORT: "5432"
|
|
REDIS_PORT: "6379"
|
|
# User Defined
|
|
SITE_NAME: "My Kutt Instance"
|
|
DEFAULT_DOMAIN: "localhost:{{ .Values.service.main.ports.main.port }}"
|
|
LINK_LENGTH: 6
|
|
USER_LIMIT_PER_DAY: 50
|
|
NON_USER_COOLDOWN: 0
|
|
DEFAULT_MAX_STATS_PER_LINK: 5000
|
|
DISALLOW_REGISTRATION: false
|
|
DISALLOW_ANONYMOUS_LINKS: false
|
|
CUSTOM_DOMAIN_USE_HTTPS: false
|
|
ADMIN_EMAILS: "admin@example.com,admin@example2.com"
|
|
REPORT_EMAIL: "admin@example.com"
|
|
CONTACT_EMAIL: "admin@example.com"
|
|
MAIL_HOST: ""
|
|
MAIL_PORT: 567
|
|
MAIL_FROM: ""
|
|
MAIL_SECURE: true
|
|
DB_HOST:
|
|
secretKeyRef:
|
|
name: dbcreds
|
|
key: plainhost
|
|
DB_PASSWORD:
|
|
secretKeyRef:
|
|
name: dbcreds
|
|
key: postgresql-password
|
|
REDIS_HOST:
|
|
secretKeyRef:
|
|
name: rediscreds
|
|
key: plainhost
|
|
REDIS_PASSWORD:
|
|
secretKeyRef:
|
|
name: rediscreds
|
|
key: redis-password
|
|
JWT_SECRET:
|
|
secretKeyRef:
|
|
name: kutt-secrets
|
|
key: JWT_SECRET
|
|
|
|
service:
|
|
main:
|
|
ports:
|
|
main:
|
|
port: 10195
|
|
|
|
# Enabled redis
|
|
redis:
|
|
enabled: true
|
|
existingSecret: "rediscreds"
|
|
|
|
# Enabled postgres
|
|
postgresql:
|
|
enabled: true
|
|
existingSecret: "dbcreds"
|
|
postgresqlUsername: kutt
|
|
postgresqlDatabase: kutt
|
|
|
|
portal:
|
|
enabled: true
|