Skip to content

Commit 4f2494c

Browse files
committed
feat: mount secret correctly for helm chart
1 parent df01442 commit 4f2494c

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

helm/templates/ingestor-statefulset.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ spec:
118118

119119
{{- if and .Values.parseable.gcsModeSecret .Values.parseable.gcsModeSecret.enabled }}
120120
- name: GOOGLE_APPLICATION_CREDENTIALS
121-
value: {{ .Values.parseable.gcsModeSecret.auth.mount_path }}
121+
value: {{ .Values.parseable.gcsModeSecret.auth.mount_path }}/{{ .Values.parseable.gcsModeSecret.auth.secret_key }}
122122
{{- range $secret := .Values.parseable.gcsModeSecret.secrets }}
123123
{{- range $key := $secret.keys }}
124124
{{- $envPrefix := $secret.prefix | default "" | upper }}

helm/templates/querier-statefulset.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ spec:
112112

113113
{{- if and .Values.parseable.gcsModeSecret .Values.parseable.gcsModeSecret.enabled }}
114114
- name: GOOGLE_APPLICATION_CREDENTIALS
115-
value: {{ .Values.parseable.gcsModeSecret.auth.mount_path }}/{{ .Values.parseable.gcsModeSecret.auth.secret_key }}
115+
value: {{ .Values.parseable.gcsModeSecret.auth.mount_path }}
116116
{{- range $secret := .Values.parseable.gcsModeSecret.secrets }}
117117
{{- range $key := $secret.keys }}
118118
{{- $envPrefix := $secret.prefix | default "" | upper }}

helm/values.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ parseable:
44
tag: "v2.3.3"
55
pullPolicy: Always
66
## object store can be local-store, s3-store, blob-store or gcs-store.
7-
store: gcs-store
7+
store: local-store
88
## Set to true if you want to deploy Parseable in a HA mode (multiple ingestors + hot tier)
99
## Please note that highAvailability is not supported in local mode
1010
highAvailability:
@@ -141,7 +141,7 @@ parseable:
141141
auth:
142142
secret_name: parseable-env-secret
143143
secret_key: key.json
144-
mount_path: /var/secrets/google/key.json
144+
mount_path: /var/secrets/google
145145
secrets:
146146
- name: parseable-env-secret
147147
prefix: P_

0 commit comments

Comments
 (0)