Skip to content

Commit

Permalink
fixup! update tray/helm ES lrs backend env vars
Browse files Browse the repository at this point in the history
  • Loading branch information
SergioSim committed Nov 6, 2023
1 parent 6510ade commit 114faa2
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ arnold-bootstrap: \
$(ARNOLD) -d -c $(ARNOLD_CUSTOMER) -e $(ARNOLD_ENVIRONMENT) -a $(ARNOLD_APP) create_app_vaults && \
$(ARNOLD) -d -c $(ARNOLD_CUSTOMER) -e $(ARNOLD_ENVIRONMENT) -a elasticsearch create_app_vaults && \
$(ARNOLD) -d -c $(ARNOLD_CUSTOMER) -e $(ARNOLD_ENVIRONMENT) -- vault -a $(ARNOLD_APP) decrypt
sed -i 's/^# RALPH_BACKENDS__DATA__ES/RALPH_BACKENDS__DATA__ES/g' group_vars/customer/$(ARNOLD_CUSTOMER)/$(ARNOLD_ENVIRONMENT)/secrets/$(ARNOLD_APP).vault.yml
sed -i 's/^# RALPH_BACKENDS__/RALPH_BACKENDS__/g' group_vars/customer/$(ARNOLD_CUSTOMER)/$(ARNOLD_ENVIRONMENT)/secrets/$(ARNOLD_APP).vault.yml
source .k3d-cluster.env.sh && \
$(ARNOLD) -d -c $(ARNOLD_CUSTOMER) -e $(ARNOLD_ENVIRONMENT) -- vault -a $(ARNOLD_APP) encrypt
echo "skip_verification: True" > $(ARNOLD_APP_VARS)
Expand Down
4 changes: 2 additions & 2 deletions src/helm/ralph/vault.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
RALPH_BACKENDS__DATA__ES__HOSTS: http://elasticsearch:9200
RALPH_BACKENDS__DATA__ES__INDEX: statements
RALPH_BACKENDS__LRS__ES__HOSTS: http://elasticsearch:9200
RALPH_BACKENDS__LRS__ES__INDEX: statements
RALPH_SENTRY_DSN: https://fake@key.ingest.sentry.io/1234567
RALPH_EXECUTION_ENVIRONMENT: production

Expand Down
4 changes: 3 additions & 1 deletion src/tray/vars/vault/main.yml.j2
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
# customer: {{ customer }}
# env_type: {{ env_type }}

# ES database backend
# ES data and lrs backends
# RALPH_BACKENDS__LRS__ES__HOSTS: http://elasticsearch:9200
# RALPH_BACKENDS__LRS__ES__INDEX: statements
# RALPH_BACKENDS__DATA__ES__HOSTS: http://elasticsearch:9200
# RALPH_BACKENDS__DATA__ES__INDEX: statements

Expand Down

0 comments on commit 114faa2

Please sign in to comment.