mirror of
https://github.com/Azure/k8s-deploy.git
synced 2026-06-28 15:59:27 +08:00
Make annotating resources optional (#287)
* Make annotating resources optional * Clarify descriptions * Update README * Refactor retrieving pods * Remove annotating resources check in deploy.ts * Add resource annotation integration test * Move resource annotation integration test to seperate file * Lint code * Remove temporary debugging statements * Fix integration test name * Fix test * Abstracting out repeated logic between verifyDeployment and verifyService * Fix formattin * Fix reference * Fix test * Refactor test * Update ubuntu version to latest on canary SMI test * Update ubuntu version to latest on canary SMI test * Make annotating resources optional Signed-off-by: Bram de Hart <bram.dehart@nsgo.nl> * Clarify descriptions Signed-off-by: Bram de Hart <bram.dehart@nsgo.nl> * Update README Signed-off-by: Bram de Hart <bram.dehart@nsgo.nl> * Refactor retrieving pods Signed-off-by: Bram de Hart <bram.dehart@nsgo.nl> * Remove annotating resources check in deploy.ts Signed-off-by: Bram de Hart <bram.dehart@nsgo.nl> * Add resource annotation integration test Signed-off-by: Bram de Hart <bram.dehart@nsgo.nl> * Move resource annotation integration test to seperate file Signed-off-by: Bram de Hart <bram.dehart@nsgo.nl> * Lint code Signed-off-by: Bram de Hart <bram.dehart@nsgo.nl> * Remove temporary debugging statements Signed-off-by: Bram de Hart <bram.dehart@nsgo.nl> * Fix integration test name Signed-off-by: Bram de Hart <bram.dehart@nsgo.nl> * Fix test Signed-off-by: Bram de Hart <bram.dehart@nsgo.nl> * Abstracting out repeated logic between verifyDeployment and verifyService Signed-off-by: Bram de Hart <bram.dehart@nsgo.nl> * Fix formattin Signed-off-by: Bram de Hart <bram.dehart@nsgo.nl> * Fix reference Signed-off-by: Bram de Hart <bram.dehart@nsgo.nl> * Fix test Signed-off-by: Bram de Hart <bram.dehart@nsgo.nl> * Refactor test Signed-off-by: Bram de Hart <bram.dehart@nsgo.nl> * Update ubuntu version to latest on canary SMI test Signed-off-by: Bram de Hart <bram.dehart@nsgo.nl> --------- Signed-off-by: Bram de Hart <bram.dehart@nsgo.nl>
This commit is contained in:
@@ -113,9 +113,13 @@ Following are the key capabilities of this action:
|
||||
<td>force </br></br>(Optional)</td>
|
||||
<td>Deploy when a previous deployment already exists. If true then '--force' argument is added to the apply command. Using '--force' argument is not recommended in production.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>annotate-resources</br></br>(Optional)</td>
|
||||
<td>Acceptable values: true/false</br>Default value: true</br>Switch whether to annotate the resources or not. If set to false all annotations are skipped completely.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>annotate-namespace</br></br>(Optional)</td>
|
||||
<td>Acceptable values: true/false</br>Default value: true</br>Switch whether to annotate the namespace resources object or not</td>
|
||||
<td>Acceptable values: true/false</br>Default value: true</br>Switch whether to annotate the namespace resources object or not. Ignored when annotate-resources is set to false.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>skip-tls-verify</br></br>(Optional)</td>
|
||||
|
||||
Reference in New Issue
Block a user