71 行
2.0 KiB
YAML
71 行
2.0 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.2.2
|
|
valuesContent: |-
|
|
affinity:
|
|
podAffinity:
|
|
preferredDuringSchedulingIgnoredDuringExecution:
|
|
- weight: 100
|
|
podAffinityTerm:
|
|
labelSelector:
|
|
matchLabels:
|
|
cnpg.io/cluster: cnpg-cluster-hk
|
|
role: primary
|
|
topologyKey: kubernetes.io/hostname
|
|
namespaceSelector: {}
|
|
nodeAffinity:
|
|
preferredDuringSchedulingIgnoredDuringExecution:
|
|
- weight: 1
|
|
preference:
|
|
matchExpressions:
|
|
- key: kubernetes.io/hostname
|
|
operator: In
|
|
values:
|
|
- greenhk
|
|
image:
|
|
repository: halohub/halo-pro
|
|
tag: 2.20.14
|
|
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://static.fillcode.com/dev-cm/' ri;
|
|
subs_filter 'url\(\/' 'url(https://static.fillcode.com/dev-cm/' ri;
|
|
subs_filter 'Halo' 'FillCode' r;
|
|
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: cnpg-cluster-hk-rw.infra-data
|
|
port: 5432
|
|
user: app
|
|
password: nyrHzh9WWlDZzvVw7bDFo74gKb9zsls0Sy7OwRTDWiRTNPQQQkW85taUFAoX2AIC
|
|
database: halo
|
|
haloUsername: rohow
|
|
haloExternalUrl: https://dev.cm
|
|
|
|
|
|
|