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

Commit

Permalink
added the ability to connect external certificates
Browse files Browse the repository at this point in the history
  • Loading branch information
alexey-bogdanov committed Aug 21, 2023
1 parent 49fc4a6 commit ab48618
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -218,6 +218,13 @@ spec:
- name: TLS_ENDPOINTS
value: "{{ .Values.certificates.endpoints }}"
{{- end }}

{{- if .Values.certificates.staticCerts }}
- name: STATIC_CERTS
value: "{{ join "," .Values.certificates.staticCerts }}"
{{- end }}


{{- range $name, $value := .Values.report.env.open }}
- name: {{ $name | quote }}
value: {{ $value | quote }}
Expand Down
4 changes: 4 additions & 0 deletions charts/allure-testops/templates/allure/uaa-dep.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -244,6 +244,10 @@ spec:
name: {{ $secret_name }}
key: "licenceApiToken"
{{- end }}
{{- if .Values.certificates.staticCerts }}
- name: STATIC_CERTS
value: "{{ join "," .Values.certificates.staticCerts }}"
{{- end }}
{{- range $name, $value := .Values.uaa.env.open }}
- name: {{ $name | quote }}
value: {{ $value | quote }}
Expand Down
6 changes: 6 additions & 0 deletions charts/allure-testops/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ password: admin
## These parameters needs to be updated and saved.
## These parameters is used to encrypt sensitive information in the database.
## If parameters is lost or updated, your integrations will stop working
## Update this by generating a secret e.g. like `openssl rand -base64 16` and put the output here
cryptoPass: <ChangeMePleaseDuringFirstDeployment>
jwtSecret: <ChangeMeEither>

Expand Down Expand Up @@ -268,6 +269,11 @@ certificates:
# example: endpoints: ldaps.example.com:636,rabbit.example.com:5672
# Script inside will retrieve certificate for you and store in jks store.
endpoints:
# List of endpoints with self-signed certificates
staticCerts: []
# example
# staticCerts:
# - https://example.url/ca.pem

# Provide your smtp config to let TestOps send you emails
smtp:
Expand Down

0 comments on commit ab48618

Please sign in to comment.