Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions charts/testops/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@ Entries are ordered by priority:
3. `[ENHANCEMENT]` Improvements to existing features
4. `[BUGFIX]` Fixes for defects

## 5.25.1

- [BUGFIX] Added SQS secrets to secret.yaml and vault.yaml

## 5.25.0

- [FEATURE] Added support of AWS SQS messaging service.
Expand Down
2 changes: 1 addition & 1 deletion charts/testops/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
apiVersion: v2
name: testops
version: 5.22.0
version: 5.25.1
appVersion: 25.3.2
kubeVersion: '>= 1.20.0-0'

Expand Down
7 changes: 7 additions & 0 deletions charts/testops/templates/infra/secret.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,15 @@ data:
cryptoPass: {{ randAlphaNum 64 | b64enc | quote }}
{{- end }}

{{- if eq .Values.messaging.type "rabbitmq" }}
rabbitUser: {{ .Values.rabbitmq.auth.username | b64enc | quote }}
rabbitPass: {{ .Values.rabbitmq.auth.password | b64enc | quote }}
{{- end }}

{{- if eq .Values.messaging.type "sqs" }}
sqsAccessKey: {{ .Values.messaging.sqs.accessKey | b64enc | quote }}
sqsSecretKey: {{ .Values.messaging.sqs.secretKey | b64enc | quote }}
{{- end }}

{{- if not .Values.postgresql.enabled }}
testopsDbUser: {{ .Values.datasources.mainDatasource.username | b64enc | quote }}
Expand Down
19 changes: 19 additions & 0 deletions charts/testops/templates/infra/vault.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,15 +32,23 @@ spec:
{{- end }}
- objectName: "redisPass"
key: "redisPass"
{{- if eq .Values.messaging.type "rabbitmq" }}
- objectName: "rabbitUser"
key: "rabbitUser"
- objectName: "rabbitPass"
key: "rabbitPass"
{{- end }}
{{- if not .Values.storage.awsSTS.enabled }}
- objectName: "s3AccessKey"
key: "s3AccessKey"
- objectName: "s3SecretKey"
key: "s3SecretKey"
{{- if eq .Values.messaging.type "sqs" }}
- objectName: "sqsAccessKey"
key: "sqsAccessKey"
- objectName: "sqsSecretKey"
key: "sqsSecretKey"
{{- end }}
{{- end }}
- objectName: "smtpUsername"
key: "smtpUsername"
Expand Down Expand Up @@ -110,13 +118,15 @@ spec:
secretPath: "{{ .Values.vault.secretPath }}"
secretKey: "redis_pass"

{{- if eq .Values.messaging.type "rabbitmq" }}
- objectName: "rabbitUser"
secretPath: "{{ .Values.vault.secretPath }}"
secretKey: "rabbit_user"

- objectName: "rabbitPass"
secretPath: "{{ .Values.vault.secretPath }}"
secretKey: "rabbit_pass"
{{- end }}

{{- if not .Values.storage.awsSTS.enabled }}
- objectName: "s3AccessKey"
Expand All @@ -126,6 +136,15 @@ spec:
- objectName: "s3SecretKey"
secretPath: "{{ .Values.vault.secretPath }}"
secretKey: "s3_secret_key"
{{- if eq .Values.messaging.type "sqs" }}
- objectName: "sqsAccessKey"
secretPath: "{{ .Values.vault.secretPath }}"
secretKey: "sqs_access_key"

- objectName: "sqsSecretKey"
secretPath: "{{ .Values.vault.secretPath }}"
secretKey: "sqs_secret_key"
{{- end }}
{{- end }}

- objectName: "smtpUsername"
Expand Down
39 changes: 21 additions & 18 deletions charts/testops/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -780,6 +780,27 @@ messaging:
# The AWS region where the SQS queues are located.
region: us-east-1
############################################################################################################
# queuePrefix is prepended to all automatically generated SQS queue names.
############################################################################################################
queuePrefix: testops
############################################################################################################
# Allows providing explicit names for SQS queues, overriding the default generated names.
# If a value is left empty, a default name will be constructed using the queuePrefix and a standard suffix
# (e.g., "testops_allure_upload_process").
############################################################################################################
queues: {}
# uploadProcess: ""
# uploadProcessDlq: ""
# uploadPostProcess: ""
# uploadPostProcessDlq: ""
# uploadCompleteProcess: ""
# integrationExportLaunch: ""
# systemCleanBlobStorage: ""
# systemDeadLetter: ""
# If you run Testops in AWS EKS you don't need stating accessKey & secretKey
accessKey: WBuetMuTAMAB4M78NG3gQ4dCFJr3SSmU
secretKey: m9F4qupW4ucKBDQBWr4rwQLSAeC6FE2L
############################################################################################################
# Consumer settings for different queue types.
# These settings allow fine-tuning of performance and resource consumption for message processing.
############################################################################################################
Expand Down Expand Up @@ -810,24 +831,6 @@ messaging:
# The duration that a received message is hidden from subsequent retrieve requests.
# Format: duration string (e.g., "10m", "1h", "30s").
visibilityTimeout: 10m
############################################################################################################
# queuePrefix is prepended to all automatically generated SQS queue names.
############################################################################################################
queuePrefix: testops
############################################################################################################
# Allows providing explicit names for SQS queues, overriding the default generated names.
# If a value is left empty, a default name will be constructed using the queuePrefix and a standard suffix
# (e.g., "testops_allure_upload_process").
############################################################################################################
queues: {}
# uploadProcess: ""
# uploadProcessDlq: ""
# uploadPostProcess: ""
# uploadPostProcessDlq: ""
# uploadCompleteProcess: ""
# integrationExportLaunch: ""
# systemCleanBlobStorage: ""
# systemDeadLetter: ""

############################################################################################################
# Software required for Testops to work
Expand Down