Skip to content

Commit

Permalink
perf: support set elasticsearch config (#69)
Browse files Browse the repository at this point in the history
Signed-off-by: yangk <[email protected]>
  • Loading branch information
yangkaa authored Jun 19, 2024
1 parent b85c821 commit 9838887
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
6 changes: 6 additions & 0 deletions templates/appstore-console.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,12 @@ spec:
spec:
containers:
- env:
- name: ES_URL
value: "{{ .Values.Cluster.elasticsearch.host }}"
- name: ES_USERNAME
value: "{{ .Values.Cluster.elasticsearch.username }}"
- name: ES_PASSWORD
value: "{{ .Values.Cluster.elasticsearch.password }}"
- name: DB_TYPE
value: mysql
- name: MYSQL_HOST
Expand Down
6 changes: 6 additions & 0 deletions values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,12 @@ Cluster:
port: 3306
username: admin

# Rainbond ElasticSearch
elasticsearch:
host: "http://192.168.0.1:9200"
username: "elastic"
password: "elastic"

# External gateway IP address
# gatewayIngressIPs: 192.168.0.1

Expand Down

0 comments on commit 9838887

Please sign in to comment.