Skip to content
Snippets Groups Projects
Commit ec34088f authored by Benedikt Wetzel's avatar Benedikt Wetzel
Browse files

simplify resource set declaration

parent 1fab7464
Branches
Tags
1 merge request!171Introduce ResourceSets to make loading of resource files more flexible
This commit is part of merge request !171. Comments created here will be created in the context of that merge request.
......@@ -130,8 +130,6 @@ spec:
items:
type: object
properties:
name:
type: string
ConfigMapResourceSet:
type: object
properties:
......@@ -155,8 +153,6 @@ spec:
items:
type: object
properties:
name:
type: string
ConfigMapResourceSet:
type: object
properties:
......
......@@ -129,8 +129,6 @@ spec:
items:
type: object
properties:
name:
type: string
ConfigMapResourceSet:
type: object
properties:
......@@ -154,8 +152,6 @@ spec:
items:
type: object
properties:
name:
type: string
ConfigMapResourceSet:
type: object
properties:
......
......@@ -31,8 +31,7 @@ spec:
numPartitions: 0
replicationFactor: 0
appResourceSets:
- name: TestAppResources
FileSystemResourceSet:
- FileSystemResourceSet:
path: ./config
files:
- "uc1-kstreams-deployment.yaml"
......@@ -40,8 +39,7 @@ spec:
- "jmx-configmap.yaml"
- "uc1-service-monitor.yaml"
loadGenResourceSets:
- name: RestGenResources
ConfigMapResourceSet:
- ConfigMapResourceSet:
configmap: "test-configmap"
files:
- uc1-load-generator-service.yaml
......
......@@ -12,10 +12,6 @@ import theodolite.util.DeploymentFailedException
@RegisterForReflection
@JsonInclude(JsonInclude.Include.NON_NULL)
class ResourceSets: KubernetesResource {
@JsonProperty
lateinit var name: String
@JsonProperty("ConfigMapResourceSet")
val ConfigMapResourceSet: ConfigMapResourceSet? = null
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment