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

Commit

Permalink
Merge remote-tracking branch 'origin/master' into release-2.5
Browse files Browse the repository at this point in the history
  • Loading branch information
viovanov committed Oct 7, 2020
2 parents fa9d38c + 55551c9 commit 8213dea
Show file tree
Hide file tree
Showing 8 changed files with 34 additions and 21 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/pull-request-queue.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
name: enqueue-pr-test
on:
# When a PR is approved, add the queue label
pull_request_review:
types: [submitted]
#pull_request_review:
# types: [submitted]
workflow_dispatch: {}

jobs:
enqueue:
Expand Down
4 changes: 2 additions & 2 deletions chart/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,5 +49,5 @@ instructions.
[3]: https://github.com/cloudfoundry-incubator/kubecf/blob/master/doc/Contribute.md#customization
[4]: https://quarks.suse.dev/docs/quarks-operator/concepts/variables/#explicit-variables
[5]: https://quarks.suse.dev/docs/quarks-operator/concepts/variables/#implicit-variables
[6]: https://kubecf.suse.dev/docs/getting-started/kubernetes-deploy/
[7]: https://kubecf.suse.dev/docs/
[6]: https://kubecf.io/docs/deployment/kubernetes-deploy/
[7]: https://kubecf.io/docs/
24 changes: 15 additions & 9 deletions chart/assets/operations/instance_groups/diego-cell.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,15 +28,7 @@
value: true

# Configure the size of the diego cell grootfs store
# We are repurposing reserved_space_for_other_jobs_in_mb as the size of the grootfs store
- type: replace
path: /instance_groups/name=diego-cell/jobs/name=garden/properties/grootfs?/reserved_space_for_other_jobs_in_mb
value: {{ .Values.sizing.diego_cell.ephemeral_disk.size }}

- type: replace
path: /instance_groups/name=diego-cell/jobs/name=rep/properties/diego?/executor/disk_capacity_mb
value: {{ .Values.sizing.diego_cell.ephemeral_disk.size }}

{{- $ephemeral_disk_size := .Values.sizing.diego_cell.ephemeral_disk.size }}
{{- if .Values.sizing.diego_cell.ephemeral_disk.storage_class }}
# Use a PVC for garden data
- type: replace
Expand All @@ -45,8 +37,22 @@
- type: replace
path: /instance_groups/name=diego-cell/persistent_disk_type?
value: {{ .Values.sizing.diego_cell.ephemeral_disk.storage_class | quote }}
- type: replace
path: /instance_groups/name=diego-cell/vm_resources?/ephemeral_disk_size
value: {{ .Values.sizing.diego_cell.ephemeral_disk.size }}
{{- /* When using a storage class / PVC, reserve some room for other uses */}}
{{- $ephemeral_disk_size = sub $ephemeral_disk_size 2048 }}
{{- end }}

# We are repurposing reserved_space_for_other_jobs_in_mb as the size of the grootfs store
- type: replace
path: /instance_groups/name=diego-cell/jobs/name=garden/properties/grootfs?/reserved_space_for_other_jobs_in_mb
value: {{ $ephemeral_disk_size }}

- type: replace
path: /instance_groups/name=diego-cell/jobs/name=rep/properties/diego?/executor/disk_capacity_mb
value: {{ $ephemeral_disk_size }}

# The loggr UDP forwarder needs some env vars specific to the container they're running in
# The INDEX env var cannot be rendered properly as part of BPM rendering, it can only be set
# correctly through pod reflection. Without this, the index would be 0 for any replica
Expand Down
6 changes: 3 additions & 3 deletions chart/config/sle15.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,19 +16,19 @@ stacks:
version: "10.93"
url: docker.io/cfcontainerization
suse-staticfile-buildpack:
version: "1.5.11.1"
version: "1.5.12.1"
suse-java-buildpack:
version: "4.32.1.1"
suse-ruby-buildpack:
version: "1.8.25.1"
suse-dotnet-core-buildpack:
version: "2.3.16.1"
suse-nodejs-buildpack:
version: "1.7.29.1"
version: "1.7.30.1"
suse-go-buildpack:
version: "1.9.19.1"
suse-python-buildpack:
version: "1.7.22.1"
version: "1.7.23.1"
suse-php-buildpack:
version: "4.4.22.1"
suse-nginx-buildpack:
Expand Down
6 changes: 5 additions & 1 deletion chart/templates/NOTES.txt
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,10 @@
{{- if not .Values.features.eirini.enabled }}
{{- $cell_count := .Values.sizing.diego_cell.instances | default 1 }}
{{- $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. */}}
{{- $disk_size = sub $disk_size 2048 }}
{{- end }}
{{- $app_disk_quota := 1024 }}

{{- include "_config.lookup" (list $ "properties.api.cloud_controller_ng.cc.default_app_disk_in_mb") }}
Expand All @@ -34,4 +38,4 @@
{{- end }}

The online documentation (release notes, deployment guide) can be found at
https://kubecf.suse.dev/docs
https://kubecf.io/docs
2 changes: 2 additions & 0 deletions chart/templates/rbac.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,9 @@ metadata:
spec:
allowPrivilegeEscalation: true
allowedCapabilities:
- NET_ADMIN
- NET_BIND_SERVICE
- NET_RAW
- SYS_ADMIN
- SYS_RESOURCE
defaultAllowPrivilegeEscalation: true
Expand Down
4 changes: 2 additions & 2 deletions chart/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -371,7 +371,7 @@ features:
resource_directory_key: ~

# Configuration for the external database; see also features.embedded_database. Please refer to
# https://kubecf.suse.dev/docs/getting-started/kubernetes-deploy/#external-database for details.
# https://kubecf.io/docs/deployment/kubernetes-deploy/#external-database for details.
external_database:
enabled: false
require_ssl: false
Expand Down Expand Up @@ -447,7 +447,7 @@ testing:
ccdb:
encryption:
# Configure CCDB key rotation. Please see
# https://kubecf.suse.dev/docs/tasks/secrets/#rotating-the-ccdb-encryption-keys for details.
# https://kubecf.io/docs/tasks/secrets/#rotating-the-ccdb-encryption-keys for details.
rotation:
# Key labels must be <= 240 characters long.
key_labels:
Expand Down
4 changes: 2 additions & 2 deletions dependencies.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -103,9 +103,9 @@ binaries:
# Additional files we need to download; see http_file() invocation in WORKSPACE.
external_files:
cf_operator:
sha256: b9681197c6e53d115396c5e837a5dbb0fa2c3c26d89cb3e274e3d026a846f6f6
sha256: b45835a3b629cf099901ba37d1ba99744d99ac32a41b35aafc2e445fd74ad016
url: https://s3.amazonaws.com/cf-operators/release/helm-charts/cf-operator-{version}.tgz
version: 6.1.10%2B0.g7b1a5f2f
version: 6.1.12%2B0.gfc4e8327
kube_dashboard:
sha256: f849252870818a2971dfc3c4f8a8c5f58a57606bc2b5f221d7ab693e1d1190e0
url: https://raw.githubusercontent.com/kubernetes/dashboard/{version}/aio/deploy/recommended.yaml
Expand Down

0 comments on commit 8213dea

Please sign in to comment.