This repository was archived by the owner on Jun 2, 2021. It is now read-only.
Commit 54e9048
Choose config schema based on its contents
- Use the kubernetes config schema if the kubernetes.host_url key has a
value. Otherwise use the VM config schema.
- Most contexts inherit from the Base config schema, and then add
additional config options for the VM or Kubernetes configuration. Some
contexts only exist in VM deployments, so they don't use Base
- Before we were just validating against parent schema and child schema
separately; however, splitting the schemas up without merging breaks
how we access config objects via `Config.#get`
- The `delegate` definitions in each of the child schemas was also
incorrect and fixed that
- Change the cloud_controller.yml used in test so it represent a VMs
deployment, instead of a hybrid of VMs and k8s.
- Removed Kpack::Stager logic to use blobstores, since that's no longer
supported and it was causing spec failures
- Deleted some now unused test fixtures
[#175806825]
Co-authored-by: Matt Royal <mroyal@vmware.com>
Co-authored-by: Piyali Banerjee <pbanerjee@pivotal.io>
Co-authored-by: Jaskanwal Pawar <jpawar@pivotal.io>1 parent 8f44194 commit 54e9048
44 files changed
Lines changed: 1803 additions & 1415 deletions
File tree
- config
- lib
- cloud_controller
- config_schemas
- base
- kubernetes
- vms
- kpack
- vcap
- spec
- fixtures/vcap
- request
- unit
- actions
- routing
- v2
- controllers/runtime
- lib
- cloud_controller
- backends
- kpack
- kubernetes
- vcap
- models/runtime
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
293 | 293 | | |
294 | 294 | | |
295 | 295 | | |
296 | | - | |
297 | | - | |
298 | | - | |
299 | | - | |
300 | | - | |
301 | | - | |
302 | | - | |
303 | | - | |
304 | | - | |
305 | | - | |
| 296 | + | |
| 297 | + | |
| 298 | + | |
| 299 | + | |
| 300 | + | |
| 301 | + | |
| 302 | + | |
| 303 | + | |
| 304 | + | |
| 305 | + | |
306 | 306 | | |
307 | 307 | | |
308 | 308 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
9 | | - | |
10 | | - | |
11 | | - | |
12 | | - | |
13 | | - | |
14 | | - | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
15 | 20 | | |
16 | 21 | | |
17 | 22 | | |
| |||
25 | 30 | | |
26 | 31 | | |
27 | 32 | | |
28 | | - | |
29 | | - | |
30 | | - | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
31 | 42 | | |
32 | 43 | | |
33 | 44 | | |
34 | 45 | | |
35 | 46 | | |
36 | 47 | | |
37 | 48 | | |
38 | | - | |
39 | | - | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
40 | 52 | | |
41 | 53 | | |
42 | 54 | | |
43 | 55 | | |
44 | 56 | | |
45 | 57 | | |
46 | | - | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
47 | 68 | | |
48 | 69 | | |
49 | 70 | | |
| |||
85 | 106 | | |
86 | 107 | | |
87 | 108 | | |
88 | | - | |
| 109 | + | |
89 | 110 | | |
90 | 111 | | |
91 | 112 | | |
| |||
129 | 150 | | |
130 | 151 | | |
131 | 152 | | |
| 153 | + | |
| 154 | + | |
132 | 155 | | |
133 | 156 | | |
134 | 157 | | |
| |||
0 commit comments