Skip to content

Commit

Permalink
Merge pull request #4222 from cloudfoundry/scaling-config
Browse files Browse the repository at this point in the history
Add helm configuration for new jetstream scaling env vars
  • Loading branch information
richard-cox authored Apr 15, 2020
2 parents cc57ce5 + 3a31b6b commit 1e502c0
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 0 deletions.
2 changes: 2 additions & 0 deletions deploy/kubernetes/console/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,8 @@ The following table lists the configurable parameters of the Stratos Helm chart
|console.templatesConfigMapName|Name of config map that provides the template files for user invitation emails||
|console.userInviteSubject|Email subject of the user invitation message||
|console.techPreview|Enable/disable Tech Preview features|false|
|console.ui.listMaxSize|Override the default maximum number of entities that a configured list can fetch. When a list meets this amount additional pages are not fetched||
|console.ui.listAllowLoadMaxed|If the maximum list size is met give the user the option to fetch all results|false|
|console.localAdminPassword|Use local admin user instead of UAA - set to a password to enable||
|console.tlsSecretName|Secret containing TLS certificate to use for the Console||
|console.mariadb.external|Use an external database instead of the built-in MariaDB|false|
Expand Down
8 changes: 8 additions & 0 deletions deploy/kubernetes/console/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -255,6 +255,14 @@ spec:
value: {{ default "" .Values.console.userInviteSubject | quote }}
- name: ENABLE_TECH_PREVIEW
value: {{ default "false" .Values.console.techPreview | quote }}
{{- if .Values.console.ui }}
{{- if .Values.console.ui.listMaxSize }}
- name: UI_LIST_MAX_SIZE
value: {{.Values.console.ui.listMaxSize}}
{{- end }}
- name: UI_LIST_ALLOW_LOAD_MAXED
value: {{ default "false" .Values.console.ui.listAllowLoadMaxed | quote }}
{{- end }}
readinessProbe:
httpGet:
path: /pp/v1/ping
Expand Down
6 changes: 6 additions & 0 deletions deploy/kubernetes/console/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,12 @@ console:
# Enable/disable Tech Preview
techPreview: false

ui:
# Override the default maximum number of entities that a configured list can fetch. When a list meets this amount additional pages are not fetched
listMaxSize:
# If the maximum list size is met give the user the option to fetch all results regardless
listAllowLoadMaxed: false

# Use local admin user instead of UAA - set to a password to enable
localAdminPassword: ~

Expand Down

0 comments on commit 1e502c0

Please sign in to comment.