diff --git a/README.md b/README.md index d8262e9..91d4f75 100644 --- a/README.md +++ b/README.md @@ -39,8 +39,9 @@ mysql -uroot -pgkxl650 zd_rescue < ./zd_rescue.sql ``` cd rabbitmq && helm dependency update && cd .. -helm upgrade -i rabbitmq rabbitmq/ --set auth.password="123456" --values local-values/rabbitmq/crm1.yaml -n crm1 + helm upgrade -i rabbitmq rabbitmq/ --set auth.password="gkxl650" --set auth.erlangCookie='gkxl650' --values local-values/rabbitmq/crm1.yaml -n crm1 + ``` diff --git a/local-values/nacos/crm1-values.yaml b/local-values/nacos/crm1-values.yaml index 3b41391..cd81518 100644 --- a/local-values/nacos/crm1-values.yaml +++ b/local-values/nacos/crm1-values.yaml @@ -10,7 +10,7 @@ global: nacos: image: repository: nacos/nacos-server - tag: 1.4.2 + tag: v2.0.3 pullPolicy: IfNotPresent plugin: enable: true @@ -27,7 +27,7 @@ nacos: # type: embedded type: mysql db: - host: mysql-crm1 + host: mysql name: nacos port: 3306 username: root diff --git a/local-values/rabbitmq/crm1.yaml b/local-values/rabbitmq/crm1.yaml index 0a8dbe6..be2a567 100644 --- a/local-values/rabbitmq/crm1.yaml +++ b/local-values/rabbitmq/crm1.yaml @@ -115,7 +115,7 @@ auth: ## @param auth.erlangCookie Erlang cookie to determine whether different nodes are allowed to communicate with each other ## ref: https://github.com/bitnami/bitnami-docker-rabbitmq#environment-variables ## - erlangCookie: "" + erlangCookie: "gkxl650" ## @param auth.existingErlangSecret Existing secret with RabbitMQ Erlang cookie (must contain a value for `rabbitmq-erlang-cookie` key) ## e.g: ## existingErlangSecret: name-of-existing-secret @@ -276,7 +276,7 @@ extraContainerPorts: [] ## @param configuration [string] RabbitMQ Configuration file content: required cluster configuration ## Do not override unless you know what you are doing. ## To add more configuration, use `extraConfiguration` of `advancedConfiguration` instead -## +##$RABBITMQ_ERLANG_COOKIE configuration: |- management.path_prefix = /mq {{- if not .Values.loadDefinition.enabled -}}