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

Commit 8213dea

Browse files
author
viovanov
committed
Merge remote-tracking branch 'origin/master' into release-2.5
2 parents fa9d38c + 55551c9 commit 8213dea

File tree

8 files changed

+34
-21
lines changed

8 files changed

+34
-21
lines changed

.github/workflows/pull-request-queue.yaml

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
name: enqueue-pr-test
22
on:
33
# When a PR is approved, add the queue label
4-
pull_request_review:
5-
types: [submitted]
4+
#pull_request_review:
5+
# types: [submitted]
6+
workflow_dispatch: {}
67

78
jobs:
89
enqueue:

chart/README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -49,5 +49,5 @@ instructions.
4949
[3]: https://github.com/cloudfoundry-incubator/kubecf/blob/master/doc/Contribute.md#customization
5050
[4]: https://quarks.suse.dev/docs/quarks-operator/concepts/variables/#explicit-variables
5151
[5]: https://quarks.suse.dev/docs/quarks-operator/concepts/variables/#implicit-variables
52-
[6]: https://kubecf.suse.dev/docs/getting-started/kubernetes-deploy/
53-
[7]: https://kubecf.suse.dev/docs/
52+
[6]: https://kubecf.io/docs/deployment/kubernetes-deploy/
53+
[7]: https://kubecf.io/docs/

chart/assets/operations/instance_groups/diego-cell.yaml

+15-9
Original file line numberDiff line numberDiff line change
@@ -28,15 +28,7 @@
2828
value: true
2929

3030
# Configure the size of the diego cell grootfs store
31-
# We are repurposing reserved_space_for_other_jobs_in_mb as the size of the grootfs store
32-
- type: replace
33-
path: /instance_groups/name=diego-cell/jobs/name=garden/properties/grootfs?/reserved_space_for_other_jobs_in_mb
34-
value: {{ .Values.sizing.diego_cell.ephemeral_disk.size }}
35-
36-
- type: replace
37-
path: /instance_groups/name=diego-cell/jobs/name=rep/properties/diego?/executor/disk_capacity_mb
38-
value: {{ .Values.sizing.diego_cell.ephemeral_disk.size }}
39-
31+
{{- $ephemeral_disk_size := .Values.sizing.diego_cell.ephemeral_disk.size }}
4032
{{- if .Values.sizing.diego_cell.ephemeral_disk.storage_class }}
4133
# Use a PVC for garden data
4234
- type: replace
@@ -45,8 +37,22 @@
4537
- type: replace
4638
path: /instance_groups/name=diego-cell/persistent_disk_type?
4739
value: {{ .Values.sizing.diego_cell.ephemeral_disk.storage_class | quote }}
40+
- type: replace
41+
path: /instance_groups/name=diego-cell/vm_resources?/ephemeral_disk_size
42+
value: {{ .Values.sizing.diego_cell.ephemeral_disk.size }}
43+
{{- /* When using a storage class / PVC, reserve some room for other uses */}}
44+
{{- $ephemeral_disk_size = sub $ephemeral_disk_size 2048 }}
4845
{{- end }}
4946

47+
# We are repurposing reserved_space_for_other_jobs_in_mb as the size of the grootfs store
48+
- type: replace
49+
path: /instance_groups/name=diego-cell/jobs/name=garden/properties/grootfs?/reserved_space_for_other_jobs_in_mb
50+
value: {{ $ephemeral_disk_size }}
51+
52+
- type: replace
53+
path: /instance_groups/name=diego-cell/jobs/name=rep/properties/diego?/executor/disk_capacity_mb
54+
value: {{ $ephemeral_disk_size }}
55+
5056
# The loggr UDP forwarder needs some env vars specific to the container they're running in
5157
# The INDEX env var cannot be rendered properly as part of BPM rendering, it can only be set
5258
# correctly through pod reflection. Without this, the index would be 0 for any replica

chart/config/sle15.yaml

+3-3
Original file line numberDiff line numberDiff line change
@@ -16,19 +16,19 @@ stacks:
1616
version: "10.93"
1717
url: docker.io/cfcontainerization
1818
suse-staticfile-buildpack:
19-
version: "1.5.11.1"
19+
version: "1.5.12.1"
2020
suse-java-buildpack:
2121
version: "4.32.1.1"
2222
suse-ruby-buildpack:
2323
version: "1.8.25.1"
2424
suse-dotnet-core-buildpack:
2525
version: "2.3.16.1"
2626
suse-nodejs-buildpack:
27-
version: "1.7.29.1"
27+
version: "1.7.30.1"
2828
suse-go-buildpack:
2929
version: "1.9.19.1"
3030
suse-python-buildpack:
31-
version: "1.7.22.1"
31+
version: "1.7.23.1"
3232
suse-php-buildpack:
3333
version: "4.4.22.1"
3434
suse-nginx-buildpack:

chart/templates/NOTES.txt

+5-1
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,10 @@
1919
{{- if not .Values.features.eirini.enabled }}
2020
{{- $cell_count := .Values.sizing.diego_cell.instances | default 1 }}
2121
{{- $disk_size := .Values.sizing.diego_cell.ephemeral_disk.size }}
22+
{{- if .Values.sizing.diego_cell.storage_class }}
23+
{{- /* when using a storage class, we will reserve space for other uses. */}}
24+
{{- $disk_size = sub $disk_size 2048 }}
25+
{{- end }}
2226
{{- $app_disk_quota := 1024 }}
2327

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

3640
The online documentation (release notes, deployment guide) can be found at
37-
https://kubecf.suse.dev/docs
41+
https://kubecf.io/docs

chart/templates/rbac.yaml

+2
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,9 @@ metadata:
1010
spec:
1111
allowPrivilegeEscalation: true
1212
allowedCapabilities:
13+
- NET_ADMIN
1314
- NET_BIND_SERVICE
15+
- NET_RAW
1416
- SYS_ADMIN
1517
- SYS_RESOURCE
1618
defaultAllowPrivilegeEscalation: true

chart/values.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -371,7 +371,7 @@ features:
371371
resource_directory_key: ~
372372

373373
# Configuration for the external database; see also features.embedded_database. Please refer to
374-
# https://kubecf.suse.dev/docs/getting-started/kubernetes-deploy/#external-database for details.
374+
# https://kubecf.io/docs/deployment/kubernetes-deploy/#external-database for details.
375375
external_database:
376376
enabled: false
377377
require_ssl: false
@@ -447,7 +447,7 @@ testing:
447447
ccdb:
448448
encryption:
449449
# Configure CCDB key rotation. Please see
450-
# https://kubecf.suse.dev/docs/tasks/secrets/#rotating-the-ccdb-encryption-keys for details.
450+
# https://kubecf.io/docs/tasks/secrets/#rotating-the-ccdb-encryption-keys for details.
451451
rotation:
452452
# Key labels must be <= 240 characters long.
453453
key_labels:

dependencies.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -103,9 +103,9 @@ binaries:
103103
# Additional files we need to download; see http_file() invocation in WORKSPACE.
104104
external_files:
105105
cf_operator:
106-
sha256: b9681197c6e53d115396c5e837a5dbb0fa2c3c26d89cb3e274e3d026a846f6f6
106+
sha256: b45835a3b629cf099901ba37d1ba99744d99ac32a41b35aafc2e445fd74ad016
107107
url: https://s3.amazonaws.com/cf-operators/release/helm-charts/cf-operator-{version}.tgz
108-
version: 6.1.10%2B0.g7b1a5f2f
108+
version: 6.1.12%2B0.gfc4e8327
109109
kube_dashboard:
110110
sha256: f849252870818a2971dfc3c4f8a8c5f58a57606bc2b5f221d7ab693e1d1190e0
111111
url: https://raw.githubusercontent.com/kubernetes/dashboard/{version}/aio/deploy/recommended.yaml

0 commit comments

Comments
 (0)