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: image:
nginx: nginx:
registry: docker.io registry: docker.io
repository: nginx repository: nginx
tag: "1.29.3-alpine-perl" tag: "1.29.3-alpine-perl"
pullPolicy: IfNotPresent pullPolicy: IfNotPresent
wordpress: yourls:
registry: docker.io registry: docker.io
repository: repo-name repository: yourls
tag: "fpm-alpine" tag: "1.10.2-fpm-alpine"
pullPolicy: IfNotPresent pullPolicy: IfNotPresent
service: # Replica count
# type: ClusterIP replicaCount: 1
type: LoadBalancer
port: 80
# Service configuration
service:
type: ClusterIP
port: 80
targetPort: 80
# Ingress configuration
ingress: ingress:
enabled: false enabled: false
className: "" className: "nginx"
annotations: {} annotations: {}
# { # {
# acme.cert-manager.io/http01-ingress-class: "nginx", # acme.cert-manager.io/http01-ingress-class: "nginx",
@@ -33,28 +40,60 @@ ingress:
- path: / - path: /
pathType: Prefix pathType: Prefix
tls: [] tls: []
# [ # - secretName: yourls-tls
# { # hosts:
# hosts: [ "example.com" ], # - example.tld
# secretName: "example-tls"
# }
# ]
persistence: # MySQL/MariaDB configuration
mysql:
enabled: true enabled: true
accessMode: ReadWriteOnce auth:
size: 1Gi rootPassword: "changeme"
database: "yourls"
username: "yourls"
password: "yourls"
primary:
persistence:
enabled: true
size: 8Gi
nginx: # YOURLS configuration
customConfig: yourls:
enabled: false config:
snippet: |- 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: # Resources
host: mariadb-hostname resources:
port: 3306 nginx:
database: dbname limits:
username: user cpu: 200m
password: pass 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: {}