Skip to content

Commit

Permalink
fix: Playground should disable if playground.enabled=false (#55)
Browse files Browse the repository at this point in the history
  • Loading branch information
jon-whit authored Jul 31, 2023
1 parent 8f098d5 commit 5d31e85
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion charts/openfga/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: openfga
description: A Kubernetes Helm chart for the OpenFGA project.

type: application
version: 0.1.21
version: 0.1.22
appVersion: "v1.2.0"

home: "https://openfga.github.io/helm-charts/charts/openfga"
Expand Down
2 changes: 0 additions & 2 deletions charts/openfga/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -190,12 +190,10 @@ spec:
value: {{ .Values.authn.oidc.issuer }}
{{- end }}

{{- if .Values.playground.enabled }}
- name: OPENFGA_PLAYGROUND_ENABLED
value: "{{ .Values.playground.enabled }}"
- name: OPENFGA_PLAYGROUND_PORT
value: "{{ .Values.playground.port }}"
{{- end }}

{{- if .Values.profiler.enabled }}
- name: OPENFGA_PROFILER_ENABLED
Expand Down

0 comments on commit 5d31e85

Please sign in to comment.