diff --git a/charts/unifi-controller/templates/deployment.yaml b/charts/unifi-controller/templates/deployment.yaml index 736c07c..2a8fef6 100644 --- a/charts/unifi-controller/templates/deployment.yaml +++ b/charts/unifi-controller/templates/deployment.yaml @@ -57,6 +57,13 @@ spec: # path: / # port: http # initialDelaySeconds: 120 + env: + - name: TZ + value: {{ .Values.config.timezone }} + - name: MEM_STARTUP + value: {{ .Values.config.jvmMemory.startup }} + - name: MEM_LIMIT + value: {{ .Values.config.jvmMemory.limit }} resources: {{- toYaml .Values.resources | nindent 12 }} {{- with .Values.nodeSelector }} diff --git a/charts/unifi-controller/values.yaml b/charts/unifi-controller/values.yaml index 3c8510f..e8c69c5 100644 --- a/charts/unifi-controller/values.yaml +++ b/charts/unifi-controller/values.yaml @@ -12,6 +12,12 @@ imagePullSecrets: [] nameOverride: "" fullnameOverride: "" +config: + timezone: Etc/UTC + jvmMemory: + startup: default + limit: default + serviceAccount: # Specifies whether a service account should be created create: true