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

Commit ef3ab17

Browse files
author
viovanov
committed
Merge remote-tracking branch 'origin/master' into release-2.5
2 parents 3461d9a + fee0d5b commit ef3ab17

File tree

10 files changed

+39
-7
lines changed

10 files changed

+39
-7
lines changed

bosh/releases/pre_render_scripts/uaa/uaa/jobs/patch_pre-start.sh

+6-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ fi
1616
patch --verbose "${target}" <<'EOT'
1717
--- pre-start.erb 2019-12-04 08:37:51.046503943 +0100
1818
+++ - 2019-12-04 08:41:36.055142488 +0100
19-
@@ -32,9 +32,24 @@
19+
@@ -32,9 +32,29 @@
2020
<% end %>
2121
2222
log "Trying to run update-ca-certificates..."
@@ -36,6 +36,11 @@ patch --verbose "${target}" <<'EOT'
3636
+ mv /var/lib/ca-certificates/ca-bundle.pem /etc/ssl/certs/"$(basename "${OS_CERTS_FILE}")"
3737
+ ;;
3838
+
39+
+ *rhel|centos|fedora*)
40+
+ timeout --signal=KILL 180s /usr/bin/update-ca-trust
41+
+ cp /etc/ssl/certs/ca-bundle.crt ${OS_CERTS_FILE}
42+
+ ;;
43+
+
3944
+ *)
4045
+ echo "Unsupported operating system: ${PRETTY_NAME}"
4146
+ exit 42

chart/config/releases.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ releases:
2020
tag: 0.1.0
2121
brain-tests:
2222
condition: testing.brain_tests.enabled
23-
version: v0.0.14
23+
version: v0.0.15
2424
bosh-dns-aliases:
2525
# not needed for kubecf; functionality provided by quarks-operator
2626
condition: false

chart/config/unsupported.yaml

+3
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@ unsupported:
1010
Don't use properties.diego-cell.garden.grootfs.reserved_space_for_other_jobs_in_mb.
1111
Use sizing.diego_cell.ephemeral_disk.size to set the amount of disk available to the cell.
1212
13+
features.routing_api.enabled && features.eirini.enabled: |
14+
Cannot activate routing-api for eirini. It is not yet supported by this scheduler.
15+
1316
features.embedded_database.enabled && features.external_database.enabled: |
1417
Cannot simultaneously activate both features.embedded_database and features.external_database.
1518

chart/templates/_features.tpl

+4
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,8 @@
1313
{{- else }}
1414
{{- $_ := merge $.Values (dict "features" (dict "external_blobstore" (dict "enabled" false))) }}
1515
{{- end}}
16+
{{- /* Fix routing_api to proper (per-scheduler) default when not overriden by user */}}
17+
{{- if kindIs "invalid" $.Values.features.routing_api.enabled }}
18+
{{- $_ := set $.Values.features.routing_api "enabled" (not $.Values.features.eirini.enabled) }}
19+
{{- end }}
1620
{{- end }}

chart/values.schema.yaml

+9
Original file line numberDiff line numberDiff line change
@@ -306,6 +306,15 @@ properties:
306306
password: {type: string}
307307
additionalProperties: false
308308
additionalProperties: false
309+
310+
routing_api:
311+
type: object
312+
properties:
313+
enabled:
314+
oneOf:
315+
- type: boolean
316+
- type: 'null'
317+
309318
additionalProperties:
310319
type: object
311320
properties:

chart/values.yaml

+2-1
Original file line numberDiff line numberDiff line change
@@ -348,7 +348,8 @@ features:
348348
routing_api:
349349
# Enable the routing API. Disabling this will also disable TCP routing, which is used for TCP
350350
# port forwarding.
351-
enabled: true
351+
# Enabled by default, except under Eirini, where the routing-api is not (yet) supported.
352+
enabled: ~
352353
embedded_database:
353354
# Enable the embedded database. If this is disabled, then features.external_database should be
354355
# configured to use an external database.

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: cb8893522bd1b81878186d866becb01bcc67f6c7dacb71e3e0a6e48e9b014410
106+
sha256: 9d4f8219a204b7f0b90170c4289b0df80e6da350f8941f047bc6e873ba22ad4c
107107
url: https://s3.amazonaws.com/cf-operators/release/helm-charts/cf-operator-{version}.tgz
108-
version: 6.1.15%2B0.g89a56300
108+
version: 6.1.17%2B0.gec409fd7
109109
kube_dashboard:
110110
sha256: f849252870818a2971dfc3c4f8a8c5f58a57606bc2b5f221d7ab693e1d1190e0
111111
url: https://raw.githubusercontent.com/kubernetes/dashboard/{version}/aio/deploy/recommended.yaml

doc/rfd/README.md

+5
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,13 @@
33

44
| state | RFD |
55
| --------- | ------------------------------------------------------------- |
6+
| publish | [RFD 0 Request for Discussion](./rfd/0000/README.md) |
67
| abandoned | [RFD 1 Record architecture decisions](./rfd/0001/README.md) |
78
| publish | [RFD 2 Git Commit Messages](./rfd/0002/README.md) |
89
| publish | [RFD 3 Deprecate Bazel](./rfd/0003/README.md) |
910
| publish | [RFD 4 Upgrade Testing Methodology When Releasing](./rfd/0004/README.md) |
1011
| publish | [RFD 5 Limit the Languages, Data Formats, and Tools Used by KubeCF](./rfd/0005/README.md) |
12+
13+
## Introduction
14+
15+
To know the RFD process and states please visit the [RFD 0](./rfd/0000/README.md).

doc/rfd/rfd/0000/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ state: discussion
44
discussion: https://github.com/cloudfoundry-incubator/kubecf/pull/1223
55
---
66

7-
# Request for Discussion
7+
# RFD 0 Request for Discussion
88

99
The goal is to have an constructive discussion within the team about an idea and capture it in a
1010
document known by RFD.

scripts/image_list.rb

+6-1
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,12 @@ def initialize(chart:, values:)
9191
# Provide required value to avoid schema validation failure
9292
values['system_domain'] = 'example.com'
9393
# Eirini will throw an error unless a compatible stack is selected
94-
values['install_stacks'] = ['sle15']
94+
if values['features']['eirini']['enabled']
95+
values['install_stacks'] = ['sle15']
96+
# Chart will throw an error when trying to use both eirini and
97+
# routing_api. Avoid.
98+
values['features']['routing_api']['enabled'] = false
99+
end
95100
Tempfile.open(['values-', '.yaml']) do |values_file|
96101
values_file.write values.to_yaml
97102
values_file.close

0 commit comments

Comments
 (0)