# MySQL Helm Chart Values for WMS # 使用 Bitnami MySQL Chart primary: persistence: enabled: true storageClass: nfs-sc size: 50Gi resources: requests: cpu: 500m memory: 1Gi limits: cpu: 2 memory: 4Gi configuration: | [mysqld] default_authentication_plugin=mysql_native_password skip-name-resolve explicit_defaults_for_timestamp basedir=/opt/bitnami/mysql plugin_dir=/opt/bitnami/mysql/lib/plugin port=3306 socket=/opt/bitnami/mysql/tmp/mysql.sock datadir=/bitnami/mysql/data tmpdir=/opt/bitnami/mysql/tmp max_allowed_packet=16M bind-address=* pid-file=/opt/bitnami/mysql/tmp/mysqld.pid log-error=/opt/bitnami/mysql/logs/mysqld.log character-set-server=UTF8 collation-server=utf8_general_ci [client] port=3306 socket=/opt/bitnami/mysql/tmp/mysql.sock default-character-set=UTF8 plugin_dir=/opt/bitnami/mysql/lib/plugin [manager] port=3306 socket=/opt/bitnami/mysql/tmp/mysql.sock pid-file=/opt/bitnami/mysql/tmp/mysqld.pid mysqlDatabase: cpte-wms mysqlUser: wms_user mysqlPassword: cpte@mysql123 mysqlRootPassword: root@mysql123 secondary: enabled: true replicas: 1 persistence: enabled: true storageClass: nfs-sc size: 50Gi resources: requests: cpu: 500m memory: 1Gi limits: cpu: 2 memory: 4Gi metrics: enabled: true serviceMonitor: enabled: true namespace: wms-system interval: 30s service: type: ClusterIP ports: mysql: 3306 volumePermissions: enabled: true podSecurityContext: enabled: true fsGroup: 1001 containerSecurityContext: enabled: true runAsUser: 1001 runAsNonRoot: true livenessProbe: enabled: true initialDelaySeconds: 60 periodSeconds: 10 timeoutSeconds: 5 failureThreshold: 3 successThreshold: 1 readinessProbe: enabled: true initialDelaySeconds: 30 periodSeconds: 10 timeoutSeconds: 5 failureThreshold: 3 successThreshold: 1 startupProbe: enabled: true initialDelaySeconds: 0 periodSeconds: 5 timeoutSeconds: 3 failureThreshold: 60