Skip to content
Open
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
8 changes: 6 additions & 2 deletions rocketchat/templates/chat-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -102,12 +102,16 @@ spec:
name: {{ template "rocketchat.fullname" . }}
key: reg-token
{{- end }}
{{- if and .Values.license .Release.IsInstall }}
- name: ROCKETCHAT_LICENSE
{{- if .Values.license }}
- name: OVERWRITE_SETTING_Enterprise_License
valueFrom:
secretKeyRef:
name: {{ template "rocketchat.fullname" . }}
key: license
- name: OVERWRITE_SETTING_Show_Setup_Wizard
value: "completed"
- name: LICENSE_DEBUG
value: "true"
{{- end }}
{{- if .Values.prometheusScraping.enabled }}
- name: OVERWRITE_SETTING_Prometheus_Enabled
Expand Down
6 changes: 5 additions & 1 deletion rocketchat/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,11 @@ extraInitContainers: []
## Specifies a Registration Token (obtainable at https://cloud.rocket.chat)
#registrationToken: ""

## Specifies an Enterprise License
## Specifies an Enterprise License key
## When set, automatically configures:
## OVERWRITE_SETTING_Enterprise_License - injects the license key
## OVERWRITE_SETTING_Show_Setup_Wizard - marks setup as completed
## LICENSE_DEBUG - enables license debug logging
# license: ""

## Pod anti-affinity can prevent the scheduler from placing RocketChat replicas on the same node.
Expand Down