Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add support license server to navi-back #260

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions charts/navi-back/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,12 @@ See the [documentation](https://docs.2gis.com/en/on-premise/navigation) to learn
| `image.tag` | Tag | `7.3.1` |
| `image.pullPolicy` | Pull Policy | `IfNotPresent` |

### License settings

| Name | Description | Value |
| ------------- | ------------------------------------------------------------------ | ----- |
| `license.url` | URL of the License service. Ex: http(s)://license.svc **Required** | `""` |

### Navi-Back application settings

| Name | Description | Value |
Expand Down
3 changes: 3 additions & 0 deletions charts/navi-back/templates/configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -469,6 +469,9 @@ data:
}
},
{{- end }}
{{- $licenseUrl := .Values.license.url | required "Valid .Values.license.url required!" }}
"pasportool_client":
{{- toPrettyJson .Values.license | nindent 8 -}},
{{- if .Values.naviback.additionalSections }}
{{- include "tplvalues.render" ( dict "value" .Values.naviback.additionalSections "context" $) | nindent 8 }}
{{- end }}
Expand Down
8 changes: 8 additions & 0 deletions charts/navi-back/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,14 @@ image:
tag: 7.3.1


# @section License settings

# @param license.url URL of the License service. Ex: http(s)://license.svc **Required**

license:
url: ''


# @section Navi-Back application settings

# @extra naviback.ecaHost Domain name of the [Traffic Proxy service](https://docs.2gis.com/en/on-premise/traffic-proxy). <br> This URL should be accessible from all the pods within your Kubernetes cluster.
Expand Down