99 lines
1.8 KiB
YAML
99 lines
1.8 KiB
YAML
# Default values for yourls-nginx chart
|
|
# This is a YAML-formatted file.
|
|
|
|
# Image configurations
|
|
image:
|
|
nginx:
|
|
registry: docker.io
|
|
repository: nginx
|
|
tag: "1.29.3-alpine-perl"
|
|
pullPolicy: IfNotPresent
|
|
yourls:
|
|
registry: docker.io
|
|
repository: yourls
|
|
tag: "1.10.2-fpm-alpine"
|
|
pullPolicy: IfNotPresent
|
|
|
|
# Replica count
|
|
replicaCount: 1
|
|
|
|
# Service configuration
|
|
service:
|
|
type: ClusterIP
|
|
port: 80
|
|
targetPort: 80
|
|
|
|
# Ingress configuration
|
|
ingress:
|
|
enabled: false
|
|
className: "nginx"
|
|
annotations: {}
|
|
# {
|
|
# acme.cert-manager.io/http01-ingress-class: "nginx",
|
|
# cert-manager.io/cluster-issuer: "letsencrypt-issuer",
|
|
# nginx.ingress.kubernetes.io/from-to-www-redirect: "true",
|
|
# nginx.ingress.kubernetes.io/proxy-body-size: "100m"
|
|
# }
|
|
hosts:
|
|
- host: example.tld
|
|
paths:
|
|
- path: /
|
|
pathType: Prefix
|
|
tls: []
|
|
# - secretName: yourls-tls
|
|
# hosts:
|
|
# - example.tld
|
|
|
|
# MySQL/MariaDB configuration
|
|
mysql:
|
|
enabled: true
|
|
auth:
|
|
rootPassword: "changeme"
|
|
database: "yourls"
|
|
username: "yourls"
|
|
password: "yourls"
|
|
primary:
|
|
persistence:
|
|
enabled: true
|
|
size: 8Gi
|
|
|
|
# YOURLS configuration
|
|
yourls:
|
|
config:
|
|
site: "https://yourls.example.com"
|
|
username: "admin"
|
|
password: "admin"
|
|
cookiekey: "modify_this_random_string"
|
|
hours_offset: 0
|
|
lang: "en"
|
|
persistence:
|
|
enabled: true
|
|
storageClass: ""
|
|
accessMode: ReadWriteOnce
|
|
size: 1Gi
|
|
|
|
# Resources
|
|
resources:
|
|
nginx:
|
|
limits:
|
|
cpu: 200m
|
|
memory: 256Mi
|
|
requests:
|
|
cpu: 100m
|
|
memory: 128Mi
|
|
yourls:
|
|
limits:
|
|
cpu: 500m
|
|
memory: 512Mi
|
|
requests:
|
|
cpu: 250m
|
|
memory: 256Mi
|
|
|
|
# Node selector
|
|
nodeSelector: {}
|
|
|
|
# Tolerations
|
|
tolerations: []
|
|
|
|
# Affinity
|
|
affinity: {} |