Skip to content

Commit

Permalink
fix config.json template, add charset to nginx config (#52)
Browse files Browse the repository at this point in the history
  • Loading branch information
a13x5 authored and ilyakooo0 committed Jul 28, 2021
1 parent 9a87bbd commit ee8b278
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion charts/helm3/octopod/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v2
name: octopod
description: An opensource self-hosted solution for managing multiple deployments in a Kubernetes cluster.
type: application
version: 0.3.1
version: 0.3.2
appVersion: 1.2.1
keywords:
- kubernetes
Expand Down
5 changes: 3 additions & 2 deletions charts/helm3/octopod/templates/nginx-configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ data:
root /www;
index index.html;
error_page 404 =200 /index.html;
charset utf-8;
gzip on;
gzip_disable msie6;
gzip_buffers 32 4k;
Expand All @@ -21,8 +22,8 @@ data:
}
config.json: |
{
"app_url": "{{ printf "%s://%s" (include "httpScheme" .) .Values.ingress.app.host}}",
"ws_url": "{{ printf "%s://%s" (include "wsScheme" .) .Values.ingress.ws.host}}",
"app_url": "{{ printf "%s://%s" (include "httpScheme" .) (include "appIngressHost" . )}}",
"ws_url": "{{ printf "%s://%s" (include "wsScheme" .) (include "wsIngressHost" .) }}",
"app_auth": "Basic {{ printf "octopod:%s" $octopodAppAuthPassword | b64enc }}",
{{- if .Values.kubernetesDashboard.enabled }}
"kubernetes_dashboard_url_template": "{{ .Values.kubernetesDashboard.url }}/#/search?namespace={{ .Values.octopod.deploymentNamespace }}&q="
Expand Down

0 comments on commit ee8b278

Please sign in to comment.