62 行
1.7 KiB
YAML
62 行
1.7 KiB
YAML
apiVersion: helm.cattle.io/v1
|
|
kind: HelmChart
|
|
metadata:
|
|
name: halo
|
|
namespace: apps
|
|
spec:
|
|
repo: https://halo-sigs.github.io/charts/
|
|
chart: halo
|
|
targetNamespace: apps
|
|
version: 1.3.2
|
|
valuesContent: |-
|
|
affinity:
|
|
podAffinity:
|
|
preferredDuringSchedulingIgnoredDuringExecution:
|
|
- weight: 100
|
|
podAffinityTerm:
|
|
labelSelector:
|
|
matchLabels:
|
|
cnpg.io/cluster: cnpg17-cluster-hk
|
|
role: primary
|
|
topologyKey: kubernetes.io/hostname
|
|
namespaceSelector: {}
|
|
image:
|
|
repository: halohub/halo-pro
|
|
tag: 2.22.3
|
|
service:
|
|
type: ClusterIP
|
|
ingress:
|
|
enabled: true
|
|
ingressClassName: nginx
|
|
annotations:
|
|
nginx.ingress.kubernetes.io/proxy-body-size: "50m"
|
|
nginx.ingress.kubernetes.io/configuration-snippet: |
|
|
proxy_set_header Accept-Encoding "";
|
|
subs_filter_types text/html;
|
|
subs_filter '<(script|img|link)([^>]*) (src|href)="/' '<$1$2 $3="https://cdn.fillcode.com/dev-cm/' ri;
|
|
subs_filter 'url\(\/' 'url(https://cdn.fillcode.com/dev-cm/' ri;
|
|
subs_filter '<head>' '<head><script src="/__static/pwa-cdn.js"></script>' ri;
|
|
hostname: dev.cm
|
|
path: /
|
|
pathType: Prefix
|
|
podAnnotations:
|
|
backup.velero.io/backup-volumes: halo-data
|
|
metrics:
|
|
enabled: true
|
|
mysql:
|
|
enabled: false
|
|
postgresql:
|
|
enabled: false
|
|
externalDatabase:
|
|
platform: postgresql
|
|
host: cnpg17-cluster-hk-rw.infra-data
|
|
port: 5432
|
|
user: app
|
|
password: FybaFtf6NV5jnxhj5bOPpHbO6KypZeHiyiskgAWkM5nioW2j82HtCf6GnW9xVKjE
|
|
database: halo
|
|
haloUsername: rohow
|
|
haloExternalUrl: https://dev.cm
|
|
|
|
|
|
|