Skip to content

Commit

Permalink
chore: move storage limit to orbit context
Browse files Browse the repository at this point in the history
  • Loading branch information
Salim committed Jul 21, 2018
1 parent 14a8c2c commit 37a91f0
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion charts/cloudserver/templates/_env.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ env:
value: "{{ .Release.Name }}-cloudserver,{{ .Values.endpoint }}"
- name: HEALTHCHECKS_ALLOWFROM
value: "{{ .Values.allowHealthchecksFrom }}"
{{- if .Values.storageLimit.enabled }}
{{- if .Values.orbit.storageLimit.enabled }}
- name: STORAGE_LIMIT_ENABLED
value: "true"
{{- end }}
Expand Down
7 changes: 4 additions & 3 deletions charts/cloudserver/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,12 @@ orbit:
pushEndpoint: https://push.api.zenko.io
managerMode: push
workerMode: poll
storageLimit:
# This allows you to manage storage limits from Orbit
enabled: true

# When 'orbit.enabled' is 'true', these aren't used, please use
# https://zenko.io to manage your deployment
storageLimit:
# This allows you to manage storage limits from Orbit
enabled: true
endpoint: zenko.local
credentials:
keyId: deployment-specific-access-key
Expand Down

0 comments on commit 37a91f0

Please sign in to comment.