Skip to content

Commit 3f97a8e

Browse files
mansiibfeast-ci-bot
authored andcommitted
Update charts (#71)
* Add service account with required roles to core deployment * Add filter to eliminate the need to escape json in values file * Add helm package * Add index file * Moved index and package to dist folder * Add additional env vars for error store
1 parent f675650 commit 3f97a8e

File tree

4 files changed

+42
-4
lines changed

4 files changed

+42
-4
lines changed

charts/dist/feast-0.3.0.tgz

10.9 KB
Binary file not shown.

charts/dist/index.yaml

+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
apiVersion: v1
2+
entries:
3+
feast:
4+
- apiVersion: v1
5+
appVersion: 0.3.0
6+
created: 2019-01-12T19:12:26.9585+08:00
7+
description: A Helm chart to install Feast on kubernetes
8+
digest: cba907c528b94d8b478a1c21ad75a82576505731a579877b797cdf04b2d1aa2d
9+
name: feast
10+
urls:
11+
- feast-0.3.0.tgz
12+
version: 0.3.0
13+
generated: 2019-01-12T19:12:26.95618+08:00

charts/feast/templates/core-deploy.yaml

+19-3
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,12 @@ spec:
5757
limits:
5858
cpu: {{ .Values.core.resources.limits.cpu }}
5959
memory: {{ .Values.core.resources.limits.memory }}
60+
{{- if .Values.serviceAccount }}
61+
volumeMounts:
62+
- mountPath: "/etc/gcloud/service-accounts"
63+
name: "{{ .Values.serviceAccount.name }}"
64+
readOnly: false
65+
{{- end }}
6066
env:
6167
- name: GRPC_PORT
6268
value: "{{ .Values.core.service.grpc.targetPort }}"
@@ -74,13 +80,15 @@ spec:
7480
- name: JOB_RUNNER
7581
value: {{ .Values.core.jobs.runner }}
7682
- name: JOB_OPTIONS
77-
value: {{ .Values.core.jobs.options }}
78-
- name: JOB_ERRORS_STORE_ID
79-
value: {{ .Values.core.jobs.errorsStoreId }}
83+
value: {{ .Values.core.jobs.options | toJson}}
8084
- name: JOB_MONITOR_PERIOD_MS
8185
value: "{{ .Values.core.jobs.monitoring.period }}"
8286
- name: JOB_MONITOR_INITIAL_DELAY_MS
8387
value: "{{ .Values.core.jobs.monitoring.initialDelay }}"
88+
- name: JOB_ERRORS_STORE_TYPE
89+
value: {{ .Values.core.jobs.errorsStoreType }}
90+
- name: JOB_ERRORS_STORE_OPTIONS
91+
value: {{ .Values.core.jobs.errorStoreOptions | toJson}}
8492
- name: STATSD_HOST
8593
value: {{ .Values.statsd.host }}
8694
- name: STATSD_PORT
@@ -91,3 +99,11 @@ spec:
9199
- name: DATAFLOW_LOCATION
92100
value: {{ .Values.dataflow.location }}
93101
{{- end }}
102+
{{- if .Values.serviceAccount }}
103+
- name: GOOGLE_APPLICATION_CREDENTIALS
104+
value: /etc/gcloud/service-accounts/key.json
105+
volumes:
106+
- name: "{{ .Values.serviceAccount.name }}"
107+
secret:
108+
secretName: "{{ .Values.serviceAccount.key }}"
109+
{{- end }}

charts/feast/values.yaml

+10-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,8 @@ core:
2626
jobs:
2727
runner: DirectRunner
2828
options: "{}"
29-
errorsStoreId: "STDOUT"
29+
errorsStoreType: "STDOUT"
30+
errorStoreOptions: "{}"
3031
monitoring:
3132
period: 5000
3233
initialDelay: 60000
@@ -71,3 +72,11 @@ serving:
7172
targetPort: 8080
7273
jaeger:
7374
enabled: false
75+
76+
serviceAccount:
77+
name: feast-service-account
78+
key: feast-service-account-key
79+
80+
statsd:
81+
host: "localhost"
82+
port: 8125

0 commit comments

Comments
 (0)