Skip to content

Commit

Permalink
Merge pull request #2034 from ks-ci-bot/cherry-pick-2033-to-release-3.3
Browse files Browse the repository at this point in the history
[release-3.3] Add redis configuration automatically when there are multiple master
  • Loading branch information
pixiake authored Jun 29, 2022
2 parents 26b212e + 139434d commit 28e9748
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion roles/ks-core/config/templates/kubesphere-config.yaml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ data:
userSearchBase: ou=Users,dc=kubesphere,dc=io
groupSearchBase: ou=Groups,dc=kubesphere,dc=io
{% endif %}
{% if (common.redis is defined and common.redis.enabled is defined and common.redis.enabled) %}
{% if (common.redis is defined and common.redis.enabled is defined and common.redis.enabled) or (enableHA is defined and enableHA) %}
redis:
host: redis.kubesphere-system.svc
port: 6379
Expand Down

0 comments on commit 28e9748

Please sign in to comment.