Skip to content
This repository has been archived by the owner on Sep 27, 2024. It is now read-only.

Commit

Permalink
Merge pull request #77 from qameta/vault-fix
Browse files Browse the repository at this point in the history
Removes aws access key and secret key when using STS
  • Loading branch information
a-ryoo authored Nov 17, 2023
2 parents 4a03eda + 4e8c647 commit 19c4e31
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,4 @@ jobs:
password: ${{ secrets.ARTIFACTORY_PASS }}
repoName: allure-testops
chart: charts/allure-testops
version: 4.14.4
version: 4.14.5
2 changes: 1 addition & 1 deletion charts/allure-testops/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
apiVersion: v2
name: allure-testops
version: 4.14.4
version: 4.14.5
appVersion: 4.22.0

description: Allure TestOps
Expand Down
4 changes: 4 additions & 0 deletions charts/allure-testops/templates/infra/vault.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,12 @@ spec:
key: "rabbitUser"
- objectName: "rabbitPass"
key: "rabbitPass"
{{- if not .Values.aws.enabled }}
- objectName: "s3AccessKey"
key: "s3AccessKey"
- objectName: "s3SecretKey"
key: "s3SecretKey"
{{- end }}
- objectName: "smtpUsername"
key: "smtpUsername"
- objectName: "smtpPassword"
Expand Down Expand Up @@ -108,13 +110,15 @@ spec:
secretPath: "{{ .Values.vault.secretPath }}"
secretKey: "rabbit_pass"

{{- if not .Values.aws.enabled }}
- objectName: "s3AccessKey"
secretPath: "{{ .Values.vault.secretPath }}"
secretKey: "s3_access_key"

- objectName: "s3SecretKey"
secretPath: "{{ .Values.vault.secretPath }}"
secretKey: "s3_secret_key"
{{- end }}

- objectName: "smtpUsername"
secretPath: "{{ .Values.vault.smtpPath }}"
Expand Down

0 comments on commit 19c4e31

Please sign in to comment.