Skip to content

Commit

Permalink
build(repo): bump chart version
Browse files Browse the repository at this point in the history
  • Loading branch information
pedronauck committed Dec 19, 2024
1 parent ad5a3af commit 352679e
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cluster/charts/fuel-streams/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v2
appVersion: "1.0"
description: A Helm chart for Kubernetes
name: fuel-streams
version: 0.5.7
version: 0.5.8
dependencies:
- name: nats
version: 1.2.8
Expand Down
26 changes: 25 additions & 1 deletion cluster/charts/fuel-streams/templates/webserver/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,30 @@ spec:
{{- include "set-field-and-value" (dict "context" $webserver "field" "tolerations" "path" "config.tolerations") | nindent 6 }}
{{- include "k8s.security-context" (dict "context" . "service" "webserver") | nindent 6 }}

volumes:
- name: shared-data
emptyDir: {}
initContainers:
- name: init-env
image: busybox
command: ["/bin/sh", "-c"]
args:
- |
env | grep -E '^(STREAMER_MAX_WORKERS|STREAMER_API_PORT|JWT_AUTH_SECRET|USE_ELASTIC_LOGGING|USE_METRICS|AWS_S3_ENABLED|NATS_URL|NETWORK|AWS_S3_BUCKET_NAME)=' > /shared/.env
volumeMounts:
- name: shared-data
mountPath: /shared
envFrom:
- configMapRef:
name: fuel-streams-config

containers:
- name: webserver
image: "{{ $webserver.image.repository }}:{{ $webserver.image.tag | default .Chart.AppVersion }}"
imagePullPolicy: {{ $webserver.image.pullPolicy }}
volumeMounts:
- name: shared-data
mountPath: /shared

ports:
- name: webserver
Expand All @@ -62,5 +82,9 @@ spec:
{{- toYaml . | nindent 12 }}
{{- end }}

envFrom:
- secretRef:
name: fuel-streams-publisher

{{- include "k8s.hpa" (dict "context" . "service" (dict "name" "webserver" "autoscaling" $webserver.autoscaling)) }}
{{- end }}
{{- end }}

0 comments on commit 352679e

Please sign in to comment.