values.yaml を更新

This commit is contained in:
2025-12-03 11:22:24 +00:00
parent aadcdcd13d
commit e9aa40c6cc

View File

@@ -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
# 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:
customConfig:
enabled: false
snippet: |-
limits:
cpu: 200m
memory: 256Mi
requests:
cpu: 100m
memory: 128Mi
yourls:
limits:
cpu: 500m
memory: 512Mi
requests:
cpu: 250m
memory: 256Mi
externalDatabase:
host: mariadb-hostname
port: 3306
database: dbname
username: user
password: pass
# Node selector
nodeSelector: {}
resources: {}
# Tolerations
tolerations: []
# Affinity
affinity: {}