values.yaml を更新
This commit is contained in:
89
values.yaml
89
values.yaml
@@ -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"
|
|
||||||
# }
|
|
||||||
# ]
|
|
||||||
|
|
||||||
|
# MySQL/MariaDB configuration
|
||||||
|
mysql:
|
||||||
|
enabled: true
|
||||||
|
auth:
|
||||||
|
rootPassword: "changeme"
|
||||||
|
database: "yourls"
|
||||||
|
username: "yourls"
|
||||||
|
password: "yourls"
|
||||||
|
primary:
|
||||||
persistence:
|
persistence:
|
||||||
enabled: true
|
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
|
accessMode: ReadWriteOnce
|
||||||
size: 1Gi
|
size: 1Gi
|
||||||
|
|
||||||
|
# Resources
|
||||||
|
resources:
|
||||||
nginx:
|
nginx:
|
||||||
customConfig:
|
limits:
|
||||||
enabled: false
|
cpu: 200m
|
||||||
snippet: |-
|
memory: 256Mi
|
||||||
|
requests:
|
||||||
|
cpu: 100m
|
||||||
|
memory: 128Mi
|
||||||
|
yourls:
|
||||||
|
limits:
|
||||||
|
cpu: 500m
|
||||||
|
memory: 512Mi
|
||||||
|
requests:
|
||||||
|
cpu: 250m
|
||||||
|
memory: 256Mi
|
||||||
|
|
||||||
externalDatabase:
|
# Node selector
|
||||||
host: mariadb-hostname
|
nodeSelector: {}
|
||||||
port: 3306
|
|
||||||
database: dbname
|
|
||||||
username: user
|
|
||||||
password: pass
|
|
||||||
|
|
||||||
resources: {}
|
# Tolerations
|
||||||
|
tolerations: []
|
||||||
|
|
||||||
|
# Affinity
|
||||||
|
affinity: {}
|
||||||
Reference in New Issue
Block a user