Skip to content

Commit

Permalink
Add the ability to set annotations and labels of resources (#117)
Browse files Browse the repository at this point in the history
  • Loading branch information
omris94 committed Aug 21, 2023
1 parent d7f842e commit f043acf
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,10 @@ If you would like to deploy it on its own, add the Otterize Helm chart repositor
|--------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------|---------|
| `global.spire.serverServiceName` | If deployed with SPIRE, this key specifies SPIRE-server's service name. You should use either this **OR** `spire.serverAddress` (not both). | |
| `global.allowGetAllResources` | If defined overrides `allowGetAllResources`. | | | `false` |
| `global.commonAnnotations` | Annotations to add to all deployed objects | {} |
| `global.commonLabels` | Labels to add to all deployed objects | {} |
| `global.podAnnotations` | Annotations to add to all deployed pods | {} |
| `global.podLabels` | Labels to add to all deployed pods | {} |


## SPIRE parameters
Expand Down
4 changes: 4 additions & 0 deletions docs/reference/configuration/intents-operator/helm-chart.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,10 @@ If you would like to deploy it on its own, add the Otterize Helm chart repositor
|:---------------------------------|:--------------------------------------------------------------------------------------------------------------------------------------------|---------|
| `global.allowGetAllResources` | If defined overrides `allowGetAllResources`. | |
| `global.telemetry.enabled` | If set to `false`, anonymous telemetries collection will be disabled | `true` |
| `global.commonAnnotations` | Annotations to add to all deployed objects | {} |
| `global.commonLabels` | Labels to add to all deployed objects | {} |
| `global.podAnnotations` | Annotations to add to all deployed pods | {} |
| `global.podLabels` | Labels to add to all deployed pods | {} |


## Operator parameters
Expand Down
4 changes: 4 additions & 0 deletions docs/reference/configuration/network-mapper/helm-chart.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,10 @@ Checkout the network mapper [tutorial](/quick-tutorials/k8s-network-mapper) to s
|----------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------|---------|
| `global.allowGetAllResources` | If defined overrides `allowGetAllResources`. | |
| `global.telemetry.enabled` | If set to `false`, anonymous telemetries collection will be disabled | `true` |
| `global.commonAnnotations` | Annotations to add to all deployed objects | {} |
| `global.commonLabels` | Labels to add to all deployed objects | {} |
| `global.podAnnotations` | Annotations to add to all deployed pods | {} |
| `global.podLabels` | Labels to add to all deployed pods | {} |


## Common parameters
Expand Down
4 changes: 4 additions & 0 deletions docs/reference/configuration/otterize-chart/README.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,10 @@ These parameters are used by multiple charts, and must be kept the same for the
| `global.spire.serverServiceName` | Name of the Kubernetes service that will be created for SPIRE-server. | |
| `global.allowGetAllResources` | If defined overrides `allowGetAllResources` in subcharts. Gives get, list and watch permission to watch on all resources. This is used to resolve service names when pods have owners that are custom resources. When disabled, a limited set of permissions is used that only allows access to built-in Kubernetes resources that deploy Pods and Pods themselves - Deployments, StatefulSets, DaemonSets, ReplicaSets and Services. Resolving may not be able to complete if the owning resource is not one of those. | |
| `global.telemetry.enabled` | If set to `false`, anonymous telemetries collection will be disabled | `true` |
| `global.commonAnnotations` | Annotations to add to all deployed objects | {} |
| `global.commonLabels` | Labels to add to all deployed objects | {} |
| `global.podAnnotations` | Annotations to add to all deployed pods | {} |
| `global.podLabels` | Labels to add to all deployed pods | {} |

## Cloud parameters
| Key | Description | Default |
Expand Down

0 comments on commit f043acf

Please sign in to comment.