Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Session helm chart #221

Merged
merged 2 commits into from
Oct 18, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
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
8 changes: 6 additions & 2 deletions Charts/qtest-session/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,18 @@ dependencies:
maintainers:
- name: byangtri
email: [email protected]
- name: pjaladi21
irunets marked this conversation as resolved.
Show resolved Hide resolved
email: [email protected]
- name: liemng
email: [email protected]
home: https://github.com/Tricentis-qTest/qtest-chart.git
kubeVersion: ">=1.24.0-0"
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 1.5.4
version: 1.6.0
# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
# follow Semantic Versioning. They should reflect the version the application is using.
# It is recommended to use it with quotes.
appVersion: "2024.2"
appVersion: 2024.2
irunets marked this conversation as resolved.
Show resolved Hide resolved
6 changes: 5 additions & 1 deletion Charts/qtest-session/templates/configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,8 @@ data:
qTestSessionPort: "{{ .Values.service.targetHttpsPort }}"
{{- else }}
qTestSessionPort: "{{ .Values.service.targetPort }}"
{{- end -}}
{{- end }}

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is for 2024.4. It's not for 2024.3.

qTestSessionNodeOptions: |-
{{- if and .Values.qTestSession.qTestSessionSSLRequired .Values.qTestSession.qTestSessionSSLCipherSuites }}
"--tls-cipher-list='{{- join ":" .Values.qTestSession.qTestSessionSSLCipherSuites -}}'"
{{- end }}
17 changes: 16 additions & 1 deletion Charts/qtest-session/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,16 @@ spec:
configMapKeyRef:
name: qtest-session-configmap
key: qTestSessionDBPort
- name: SESSION_RO_DB_PW
valueFrom:
secretKeyRef:
name: {{ .Values.secrets.name }}
key: sessionReadOnly
- name: INSIGHTS_RO_DB_PW
valueFrom:
secretKeyRef:
name: {{ .Values.secrets.name }}
key: insightsReadOnly
{{- if .Values.qTestSession.qTestSessionCustomSchemaEnable }}
- name: DATABASE_SCHEMA_SESSION
valueFrom:
Expand Down Expand Up @@ -228,7 +238,12 @@ spec:
configMapKeyRef:
name: qtest-session-configmap
key: qTestSessionSSLKey
{{- end -}}
{{- end }}
- name: NODE_OPTIONS
valueFrom:
configMapKeyRef:
name: qtest-session-configmap
key: qTestSessionNodeOptions
{{- with .Values.extraEnv }}
{{ toYaml . | indent 12 }}
{{- end }}
Expand Down
6 changes: 4 additions & 2 deletions Charts/qtest-session/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ secrets:
image:
repository: qasymphony/sessions
pullPolicy: IfNotPresent
tag: "2024.2"
tag: 2024.2
irunets marked this conversation as resolved.
Show resolved Hide resolved
imageCredentials:
enabled: false
# name: ""
Expand Down Expand Up @@ -80,6 +80,8 @@ qTestSession:
qTestSessionDBSSLMountPath: "/etc/ssl"
qTestSessionDBSSL: ""
qTestSessionDBCRT: ""
# Array of cipher suites for SSL/TLS connection in OpenSSL format (e.g. ["TLS_AES_256_GCM_SHA384", "TLS_CHACHA20_POLY1305_SHA256"])
qTestSessionSSLCipherSuites: []

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

same, this is for 2024.4 only

qTestSessionCustomSchemaEnable: false
qTestSessionCustomSchemaName: public
postgresDBPassword:
Expand Down Expand Up @@ -141,7 +143,7 @@ vpaAutoscaling:
updateMode: "Off"
resourcePolicy:
containerPolicies:
- containerName: "*"
- containerName: '*'
controlledValues: RequestsAndLimits
# HPA values
autoscaling:
Expand Down
Loading