Skip to content
This repository has been archived by the owner on Oct 22, 2021. It is now read-only.

Commit

Permalink
Merge pull request #1593 from cloudfoundry-incubator/ak-kubecf-1479-n…
Browse files Browse the repository at this point in the history
…otes.txt-2

feat: Auto-adapt NOTES.txt to HA changes in underlying CF manifest.
  • Loading branch information
viccuad authored Nov 17, 2020
2 parents 46f3297 + c86d9cd commit 89d3953
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion chart/templates/NOTES.txt
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@
to monitor continuously.

{{- if not .Values.features.eirini.enabled }}
{{- $cell_count := .Values.sizing.diego_cell.instances | default (ternary 3 1 .Values.high_availability) }}
{{- $_ := include "_config.lookupManifest" (list $ "instance_groups/name=diego-cell/instances") }}
{{- $cell_count := .Values.sizing.diego_cell.instances | default (ternary $.kubecf.retval 1 .Values.high_availability) }}
{{- $disk_size := .Values.sizing.diego_cell.ephemeral_disk.size }}
{{- if .Values.sizing.diego_cell.storage_class }}
{{- /* when using a storage class, we will reserve space for other uses. */}}
Expand Down

0 comments on commit 89d3953

Please sign in to comment.