Skip to content

Commit

Permalink
Merge pull request #281 from wireapp/release_2020_06_03
Browse files Browse the repository at this point in the history
  • Loading branch information
akshaymankar authored Jun 3, 2020
2 parents 94e16b3 + db94c17 commit de7e3e8
Show file tree
Hide file tree
Showing 4 changed files with 29 additions and 2 deletions.
11 changes: 11 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,14 @@
# 2020-06-03

## Features

- Add .elasticsearch.additionalWriteIndex to brig config (#277)
- Upgrade restund to include fix from wireapp/restund#3 (#278)

## Internal Changes

- TF modules: Ensure uniqueness of cargohold bucket name (#272)

# 2020-05-25

- Fix typo in default galley helm values: teamSearchVisibility (#271)
Expand Down
2 changes: 1 addition & 1 deletion ansible/requirements.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@

- src: git+https://github.com/wireapp/ansible-restund.git
name: ansible-restund
version: v0.1.4
version: v0.1.5

- src: git+https://github.com/wireapp/ansible-tinc.git
name: ansible-tinc
Expand Down
3 changes: 3 additions & 0 deletions charts/brig/templates/configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,9 @@ data:
elasticsearch:
url: http://{{ .elasticsearch.host }}:{{ .elasticsearch.port }}
index: {{ .elasticsearch.index }}
{{- if .elasticsearch.additionalWriteIndex }}
additionalWriteIndex: {{ .elasticsearch.additionalWriteIndex }}
{{- end }}
cargohold:
host: cargohold
Expand Down
15 changes: 14 additions & 1 deletion terraform/modules/aws-cargohold-asset-storage/resources.s3.tf
Original file line number Diff line number Diff line change
@@ -1,5 +1,18 @@
resource "aws_s3_bucket" "asset_storage" {
bucket = "${var.environment}-${var.bucket_name}"
bucket = "${random_string.bucket.keepers.env}-${random_string.bucket.keepers.name}-cargohold-${random_string.bucket.result}"
acl = "private"
region = var.region
}

resource "random_string" "bucket" {
length = 8
lower = true
upper = false
number = true
special = false

keepers = {
env = var.environment
name = var.bucket_name
}
}

0 comments on commit de7e3e8

Please sign in to comment.