diff --git a/values.yaml b/values.yaml index beee593..7001d3b 100644 --- a/values.yaml +++ b/values.yaml @@ -1,25 +1,32 @@ -replicaCount: 1 +# 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 - wordpress: + yourls: registry: docker.io - repository: repo-name - tag: "fpm-alpine" + repository: yourls + tag: "1.10.2-fpm-alpine" pullPolicy: IfNotPresent -service: - # type: ClusterIP - type: LoadBalancer - port: 80 +# Replica count +replicaCount: 1 +# Service configuration +service: + type: ClusterIP + port: 80 + targetPort: 80 + +# Ingress configuration ingress: enabled: false - className: "" + className: "nginx" annotations: {} # { # acme.cert-manager.io/http01-ingress-class: "nginx", @@ -33,28 +40,60 @@ ingress: - path: / pathType: Prefix tls: [] - # [ - # { - # hosts: [ "example.com" ], - # secretName: "example-tls" - # } - # ] + # - secretName: yourls-tls + # hosts: + # - example.tld -persistence: +# MySQL/MariaDB configuration +mysql: enabled: true - accessMode: ReadWriteOnce - size: 1Gi + auth: + rootPassword: "changeme" + database: "yourls" + username: "yourls" + password: "yourls" + primary: + persistence: + enabled: true + size: 8Gi -nginx: - customConfig: - enabled: false - snippet: |- +# 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 -externalDatabase: - host: mariadb-hostname - port: 3306 - database: dbname - username: user - password: pass +# Resources +resources: + nginx: + limits: + cpu: 200m + memory: 256Mi + requests: + cpu: 100m + memory: 128Mi + yourls: + limits: + cpu: 500m + memory: 512Mi + requests: + cpu: 250m + memory: 256Mi -resources: {} +# Node selector +nodeSelector: {} + +# Tolerations +tolerations: [] + +# Affinity +affinity: {} \ No newline at end of file