Skip to content

Commit

Permalink
Merge pull request #116 from flant/fix_app_version
Browse files Browse the repository at this point in the history
Fix app.version error, fix typos in ingresses
  • Loading branch information
diafour authored Dec 6, 2018
2 parents 553bd73 + 5722f42 commit 047a260
Show file tree
Hide file tree
Showing 7 changed files with 17 additions and 12 deletions.
5 changes: 2 additions & 3 deletions charts/loghouse/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: loghouse
version: 0.2.3
appVersion: 0.2.3
# helm package override version on release. Do not change it in master.
version: latest
description: Loghouse (Fluentd, Clickhouse, Tabix, Loghouse) for collect and prepare
logs for Kubernetes cluster.
keywords:
Expand All @@ -20,4 +20,3 @@ maintainers:
email: [email protected]
- name: Ivan Mikheykin
email: [email protected]

9 changes: 5 additions & 4 deletions charts/loghouse/templates/_helpers.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,13 @@ CronJob api version


{{/*
Images version. This version can be set from cli: --set app.version=master.
Images version. This version can be set from cli: --set version=latest or --set version=0.2.1
Chart.Version is set to latest in master branch. helm package rewrite it to tag value for releases.
*/}}
{{- define "app.version" -}}
{{- if .Values.app.version -}}
{{- .Values.app.version -}}
{{- if .Values.version -}}
{{- .Values.version -}}
{{- else -}}
{{- .Chart.AppVersion -}}
{{- .Chart.Version -}}
{{- end -}}
{{- end -}}
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,6 @@ spec:
tls:
- hosts:
- {{ .Values.ingress.clickhouse.host }}
secretName: {{ .Values.ingress.clickhouse.tls_secret_name}}se
secretName: {{ .Values.ingress.clickhouse.tls_secret_name}}
{{- end }}
{{- end }}
2 changes: 1 addition & 1 deletion charts/loghouse/templates/loghouse/loghouse-init-db.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ metadata:
"helm.sh/hook": post-install
"helm.sh/weight": "-5"
spec:
activeDeadlineSeconds: 300
activeDeadlineSeconds: 600
template:
metadata:
name: {{ .Chart.Name }}-init-db
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ metadata:
"helm.sh/hook": post-install,post-upgrade
"helm.sh/weight": "5"
spec:
activeDeadlineSeconds: 300
activeDeadlineSeconds: 600
template:
metadata:
name: {{ .Chart.Name }}-init-tables
Expand Down
2 changes: 1 addition & 1 deletion charts/loghouse/templates/tabix/tabix-ingress.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,6 @@ spec:
tls:
- hosts:
- {{ .Values.ingress.tabix.host }}
secretName: {{ .Values.tabix.tls_secret_name }}
secretName: {{ .Values.ingress.tabix.tls_secret_name }}
{{- end }}
{{- end }}
7 changes: 6 additions & 1 deletion charts/loghouse/values.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
# Override images tag with --set version=...
# Chart.Version is used if no --set version.
# Chart.Version is set to latest in master branch. helm package rewrite it to tag value for releases.
# version: latest|0.2.3|0.2.2

# Basic-auth string. Generated by command:
# echo "PASSWORD" | htpasswd -ni USERNAME | base64 -w0
# Example:
Expand Down Expand Up @@ -31,7 +36,7 @@ ingress:
# Enable tabix
enable_tabix: false

# Docker custom path. If docker installed on seperate disk. Add to mount this path
# Docker custom path to get logs with fluentd. If docker installed on separate disk add --set to mount this path.
# docker_path: /data/docker

storage:
Expand Down

0 comments on commit 047a260

Please sign in to comment.