Skip to content

Commit

Permalink
fix anonymouse mode
Browse files Browse the repository at this point in the history
  • Loading branch information
domechn committed Aug 3, 2021
1 parent 1b1e367 commit 00eaf2a
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion charts/tellery/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apiVersion: v2
name: tellery
type: application
version: 0.0.6
version: 0.0.7
appVersion: 0.6.0-rc1
icon: https://avatars.githubusercontent.com/u/86034719?s=400&v=4
description: A Helm Chart for quickly installing highly available Tellery on Kubernetes
Expand Down
3 changes: 0 additions & 3 deletions charts/tellery/templates/configmap-server.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,3 @@ data:
SERVER_PROTO: {{ .Values.system.web.protocol }}
SERVER_HOST: {{ required "A valid system.web.host required!" .Values.system.web.host }}
SERVER_WEB_PORT: {{ .Values.system.web.port | quote }}
{{- if .Values.system.anonymous.enabled }}
ANONYMOUS: 'true'
{{- end }}
4 changes: 4 additions & 0 deletions charts/tellery/templates/deployment-server.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,10 @@ spec:
env:
- name: NODE_ENV
value: production
{{- if .Values.system.anonymous.enabled }}
- name: ANONYMOUS
value: 'true'
{{- end }}
{{- if .Values.server.env }}
{{ toYaml .Values.server.env | indent 8 }}
{{- end }}
Expand Down

0 comments on commit 00eaf2a

Please sign in to comment.