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

Commit

Permalink
Removes aws access key and secret key when using STS
Browse files Browse the repository at this point in the history
  • Loading branch information
a-ryoo committed Nov 17, 2023
1 parent 4a03eda commit 1c04135
Showing 1 changed file with 4 additions and 0 deletions.
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 1c04135

Please sign in to comment.