Skip to content
Snippets Groups Projects

Add addional patcher to make it possible to set matchlabels

Merged Benedikt Wetzel requested to merge wetzel/spesb:add-match-label-patcher into master
All threads resolved!
4 files
+ 97
0
Compare changes
  • Side-by-side
  • Inline
Files
4
@@ -53,6 +53,27 @@ Patchers can be seen as functions which take a value as input and modify a Kuber
@@ -53,6 +53,27 @@ Patchers can be seen as functions which take a value as input and modify a Kuber
* **resource**: "uc1-kstreams-deployment.yaml"
* **resource**: "uc1-kstreams-deployment.yaml"
* **example value**: "random-scheduler"
* **example value**: "random-scheduler"
 
* **LabelPatcher**: Changes the label of a Kubernetes Deployment or StatefulSet. The patched field is: `metadata.labels`
 
* **type**: "LabelPatcher"
 
* **resource**: "uc1-kstreams-deployment.yaml"
 
* **properties**:
 
* variableName: "app"
 
* **example value**: "theodolite-sut"
 
 
* **MatchLabelPatcher**: Changes the match labels of a Kubernetes Deployment or StatefulSet. The patched field is: `spec.selector.matchLabels`
 
* **type**: "MatchLabelPatcher"
 
* **resource**: "uc1-kstreams-deployment.yaml"
 
* **properties**:
 
* variableName: "app"
 
* **example value**: "theodolite-sut"
 
 
* **TemplateLabelPatcher**: Changes the template labels of a Kubernetes Deployment or StatefulSet. The patched field is: `spec.template.metadata.labels`
 
* **type**: "MatchLabelPatcher"
 
* **resource**: "uc1-kstreams-deployment.yaml"
 
* **properties**:
 
* variableName: "app"
 
* **example value**: "theodolite-sut"
 
* **ImagePatcher**: Changes the image of a Kubernetes resource. **Currently not fully implemented.**
* **ImagePatcher**: Changes the image of a Kubernetes resource. **Currently not fully implemented.**
* **type**: "ImagePatcher"
* **type**: "ImagePatcher"
* **resource**: "uc1-kstreams-deployment.yaml"
* **resource**: "uc1-kstreams-deployment.yaml"
Loading