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 9, 2020
2 parents 3461d9a + fee0d5b commit ef3ab17
Show file tree
Hide file tree
Showing 10 changed files with 39 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ fi
patch --verbose "${target}" <<'EOT'
--- pre-start.erb 2019-12-04 08:37:51.046503943 +0100
+++ - 2019-12-04 08:41:36.055142488 +0100
@@ -32,9 +32,24 @@
@@ -32,9 +32,29 @@
<% end %>
log "Trying to run update-ca-certificates..."
Expand All @@ -36,6 +36,11 @@ patch --verbose "${target}" <<'EOT'
+ mv /var/lib/ca-certificates/ca-bundle.pem /etc/ssl/certs/"$(basename "${OS_CERTS_FILE}")"
+ ;;
+
+ *rhel|centos|fedora*)
+ timeout --signal=KILL 180s /usr/bin/update-ca-trust
+ cp /etc/ssl/certs/ca-bundle.crt ${OS_CERTS_FILE}
+ ;;
+
+ *)
+ echo "Unsupported operating system: ${PRETTY_NAME}"
+ exit 42
Expand Down
2 changes: 1 addition & 1 deletion chart/config/releases.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ releases:
tag: 0.1.0
brain-tests:
condition: testing.brain_tests.enabled
version: v0.0.14
version: v0.0.15
bosh-dns-aliases:
# not needed for kubecf; functionality provided by quarks-operator
condition: false
Expand Down
3 changes: 3 additions & 0 deletions chart/config/unsupported.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@ unsupported:
Don't use properties.diego-cell.garden.grootfs.reserved_space_for_other_jobs_in_mb.
Use sizing.diego_cell.ephemeral_disk.size to set the amount of disk available to the cell.
features.routing_api.enabled && features.eirini.enabled: |
Cannot activate routing-api for eirini. It is not yet supported by this scheduler.
features.embedded_database.enabled && features.external_database.enabled: |
Cannot simultaneously activate both features.embedded_database and features.external_database.
Expand Down
4 changes: 4 additions & 0 deletions chart/templates/_features.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,8 @@
{{- else }}
{{- $_ := merge $.Values (dict "features" (dict "external_blobstore" (dict "enabled" false))) }}
{{- end}}
{{- /* Fix routing_api to proper (per-scheduler) default when not overriden by user */}}
{{- if kindIs "invalid" $.Values.features.routing_api.enabled }}
{{- $_ := set $.Values.features.routing_api "enabled" (not $.Values.features.eirini.enabled) }}
{{- end }}
{{- end }}
9 changes: 9 additions & 0 deletions chart/values.schema.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -306,6 +306,15 @@ properties:
password: {type: string}
additionalProperties: false
additionalProperties: false

routing_api:
type: object
properties:
enabled:
oneOf:
- type: boolean
- type: 'null'

additionalProperties:
type: object
properties:
Expand Down
3 changes: 2 additions & 1 deletion chart/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -348,7 +348,8 @@ features:
routing_api:
# Enable the routing API. Disabling this will also disable TCP routing, which is used for TCP
# port forwarding.
enabled: true
# Enabled by default, except under Eirini, where the routing-api is not (yet) supported.
enabled: ~
embedded_database:
# Enable the embedded database. If this is disabled, then features.external_database should be
# configured to use an external database.
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: cb8893522bd1b81878186d866becb01bcc67f6c7dacb71e3e0a6e48e9b014410
sha256: 9d4f8219a204b7f0b90170c4289b0df80e6da350f8941f047bc6e873ba22ad4c
url: https://s3.amazonaws.com/cf-operators/release/helm-charts/cf-operator-{version}.tgz
version: 6.1.15%2B0.g89a56300
version: 6.1.17%2B0.gec409fd7
kube_dashboard:
sha256: f849252870818a2971dfc3c4f8a8c5f58a57606bc2b5f221d7ab693e1d1190e0
url: https://raw.githubusercontent.com/kubernetes/dashboard/{version}/aio/deploy/recommended.yaml
Expand Down
5 changes: 5 additions & 0 deletions doc/rfd/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,13 @@

| state | RFD |
| --------- | ------------------------------------------------------------- |
| publish | [RFD 0 Request for Discussion](./rfd/0000/README.md) |
| abandoned | [RFD 1 Record architecture decisions](./rfd/0001/README.md) |
| publish | [RFD 2 Git Commit Messages](./rfd/0002/README.md) |
| publish | [RFD 3 Deprecate Bazel](./rfd/0003/README.md) |
| publish | [RFD 4 Upgrade Testing Methodology When Releasing](./rfd/0004/README.md) |
| publish | [RFD 5 Limit the Languages, Data Formats, and Tools Used by KubeCF](./rfd/0005/README.md) |

## Introduction

To know the RFD process and states please visit the [RFD 0](./rfd/0000/README.md).
2 changes: 1 addition & 1 deletion doc/rfd/rfd/0000/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ state: discussion
discussion: https://github.com/cloudfoundry-incubator/kubecf/pull/1223
---

# Request for Discussion
# RFD 0 Request for Discussion

The goal is to have an constructive discussion within the team about an idea and capture it in a
document known by RFD.
Expand Down
7 changes: 6 additions & 1 deletion scripts/image_list.rb
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,12 @@ def initialize(chart:, values:)
# Provide required value to avoid schema validation failure
values['system_domain'] = 'example.com'
# Eirini will throw an error unless a compatible stack is selected
values['install_stacks'] = ['sle15']
if values['features']['eirini']['enabled']
values['install_stacks'] = ['sle15']
# Chart will throw an error when trying to use both eirini and
# routing_api. Avoid.
values['features']['routing_api']['enabled'] = false
end
Tempfile.open(['values-', '.yaml']) do |values_file|
values_file.write values.to_yaml
values_file.close
Expand Down

0 comments on commit ef3ab17

Please sign in to comment.