Skip to content

Commit

Permalink
feat: support for embedded license
Browse files Browse the repository at this point in the history
  • Loading branch information
dcoraboeuf committed Oct 28, 2024
1 parent 5628c7e commit b563238
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 2 deletions.
1 change: 1 addition & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ on:
push:
branches:
- main
- beta/*

jobs:
release:
Expand Down
4 changes: 2 additions & 2 deletions charts/ontrack/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,12 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 0.11.4
version: 0.12.0+beta-1
# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
# follow Semantic Versioning. They should reflect the version the application is using.
# It is recommended to use it with quotes.
appVersion: "4.8.35"
appVersion: "4.11-beta.0"

dependencies:
- name: postgresql
Expand Down
4 changes: 4 additions & 0 deletions charts/ontrack/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -222,6 +222,10 @@ spec:
- name: ONTRACK_CONFIG_LICENSE_FIXED_ACTIVE
value: {{ .Values.ontrack.config.license.fixed.active | quote }}
{{- end }}
{{ if eq .Values.ontrack.config.license.type "embedded" }}
- name: ONTRACK_CONFIG_LICENSE_EMBEDDED_KEY
value: {{ .Values.ontrack.config.license.embedded.key | quote }}
{{- end }}
########################################
# Arbitrary environment variables
########################################
Expand Down
4 changes: 4 additions & 0 deletions charts/ontrack/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -175,6 +175,10 @@ ontrack:
token_key_name: token
# Name of the secret key which contains ID of the Stripe subscription
subscription_key_name: subscription
# For embedded license key
embedded:
# Provided license key
key: ""
# Management configuration
management:
metrics:
Expand Down

0 comments on commit b563238

Please sign in to comment.