Skip to content

Commit 126dd71

Browse files
authored
Patch version + changelog for #20 (#21)
2 parents 6a895c5 + 718b77c commit 126dd71

File tree

10 files changed

+29
-13
lines changed

10 files changed

+29
-13
lines changed

charts/sombra/CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,3 +53,9 @@
5353
* Created serviceaccount.yaml template for conditional service account creation
5454
* Updated deployment to conditionally use the specified service account
5555
* **Non-breaking change**: Service account functionality is completely opt-in and disabled by default
56+
57+
## 0.6.5
58+
59+
* Added support for client-managed secrets via `envFrom` configuration
60+
* Allow loading environment variables from ConfigMaps and Secrets using the `envFrom` field
61+
* **Non-breaking change**: `envFrom` functionality is completely opt-in and disabled by default

charts/sombra/Chart.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
apiVersion: v2
22
name: sombra
3-
description: A Helm chart for deploying sombra and its dependent services in Kubernetes
3+
description: A Helm chart to deploy Sombra and its dependent services in a Kubernetes cluster
44
type: application
5-
version: 0.6.4
5+
version: 0.6.5
66
maintainers:
77
- name: Transcend
88
99
dependencies:
1010
- name: llm-classifier
1111
condition: llm-classifier.enabled
12-
version: "0.2.0"
12+
version: "0.2.1"
1313
- name: pathfinder
1414
condition: pathfinder.enabled
15-
version: "0.2.0"
15+
version: "0.2.1"
Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
apiVersion: v2
22
name: llm-classifier
3-
description: A Helm chart for deploying LLM Classifier in Kubernetes cluster
3+
description: A Helm chart to deploy the LLM Classifier in a Kubernetes cluster
44
type: application
5-
version: 0.2.0
6-
5+
version: 0.2.1

charts/sombra/charts/llm-classifier/templates/deployment.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,10 @@ spec:
3333
- name: {{ .Chart.Name }}
3434
image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}"
3535
imagePullPolicy: {{ .Values.image.pullPolicy }}
36+
{{- if .Values.envFrom }}
37+
envFrom:
38+
{{- toYaml .Values.envFrom | nindent 12 }}
39+
{{- end }}
3640
env:
3741
{{- range $name, $value := .Values.envs }}
3842
- name: {{ $value.name }}

charts/sombra/charts/llm-classifier/values.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,8 @@ envs:
4444
# - name: LLM_KEY_PATH
4545
# value: "/etc/llm-classifier/ssl/llm-classifier.key"
4646

47+
envFrom: []
48+
4749
# Define resources as per required throughput
4850
# Make sure cluster support `nvidia.com/gpu`
4951
resources:
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
apiVersion: v2
22
name: pathfinder
3-
description: A Helm chart to deploy Pathfinder in Kubernetes cluster
3+
description: A Helm chart to deploy Pathfinder in a Kubernetes cluster
44
type: application
5-
version: 0.2.0
5+
version: 0.2.1

charts/sombra/charts/pathfinder/templates/deployment.yaml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,10 @@ spec:
3232
containers:
3333
- name: {{ .Chart.Name }}
3434
image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}"
35-
imagePullPolicy: {{ .Values.image.pullPolicy }}
35+
{{- if .Values.envFrom }}
36+
envFrom:
37+
{{- toYaml .Values.envFrom | nindent 12 }}
38+
{{- end }}
3639
env:
3740
- name: RUN_DATADOG_APM
3841
value: 'false'

charts/sombra/charts/pathfinder/values.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,8 @@ envs:
8181
- name: REQUIRE_AUTHENTICATION
8282
value: 'true'
8383

84+
envFrom: []
85+
8486
# Enable to use horizontal pod autoscaling based of metrics
8587
autoscaling:
8688
enabled: false

charts/sombra/templates/deployment.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ spec:
4040
imagePullPolicy: {{ .Values.image.pullPolicy }}
4141
{{- if .Values.envFrom }}
4242
envFrom:
43-
{{- toYaml .Values.envFrom | nindent 12 }}
43+
{{- toYaml .Values.envFrom | nindent 12 }}
4444
{{- end }}
4545
env:
4646
{{- if gt $envs_as_secret_len 0 -}}

charts/sombra/values.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -141,8 +141,6 @@ transcend_ingress:
141141
# Configure the container service with the minimum set of environment variables
142142
# @see https://docs.transcend.io/docs/security/end-to-end-encryption/deploying-sombra#3.-configure-the-container-service-with-the-minimum-set-of-environment-variables
143143

144-
envFrom: []
145-
146144
# These environment variables are saved as secret
147145
envs_as_secret:
148146
- name: JWT_ECDSA_KEY
@@ -160,6 +158,8 @@ envs:
160158
- name: LLM_CLASSIFIER_URL
161159
value: http://<RELEASE_NAME>-llm-classifier.transcend.svc:6081
162160

161+
envFrom: []
162+
163163
# Set to true when deploying multiple Sombra gateways
164164
isMultiTenant: false
165165

0 commit comments

Comments
 (0)