Skip to content

Commit

Permalink
Merge pull request #14 from nicolastakashi/feat/repo-dashboard-path-helm
Browse files Browse the repository at this point in the history
[FEAT] adding repo dash path flag
  • Loading branch information
nicolastakashi authored Nov 6, 2021
2 parents 455c7f1 + 9ae73d0 commit 5dc3344
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .github/workflows/gh-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ on:
push:
branches:
- main
paths:
- "charts/**"

jobs:
release:
Expand Down
3 changes: 3 additions & 0 deletions charts/gitana/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,9 @@ spec:
- --repository.auth.user={{ .Values.flags.repository.auth }}
- --repository.auth.user={{ .Values.flags.repository.password }}
{{- end }}
{{- if .Values.flags.repository.dashboardPath }}
- --repository.dashboard-path={{ .Values.flags.repository.dashboardPath }}
{{- end }}
- --repository.branch={{ .Values.flags.repository.branch }}
- --repository.path=/tmp/gitana/repository
- --repository.url={{ .Values.flags.repository.url }}
Expand Down
5 changes: 4 additions & 1 deletion charts/gitana/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -92,9 +92,12 @@ flags:
repository:
# repository branch (default "main")
branch: main

# folder where the dashboards are present into the git repository.
dashboardPath: ""

# repository url
url: "https://github.com/nicolastakashi/poc"
url: ""

auth: {}
# username to perform authentication
Expand Down

0 comments on commit 5dc3344

Please sign in to comment.