[bitnami/kubewatch] Chart standardised (#9012)

* [bitnami/kubewatch] Chart standardised

Signed-off-by: Miguel Ruiz <miruiz@vmware.com>

* Add diagnosticMode

Signed-off-by: Miguel Ruiz <miruiz@vmware.com>

* Update README.md

Signed-off-by: Miguel Ruiz <miruiz@vmware.com>

* Move lifecycleHooks

Signed-off-by: Miguel Ruiz <miruiz@vmware.com>

* [bitnami/kubewatch] Update components versions

Signed-off-by: Bitnami Containers <containers@bitnami.com>

Co-authored-by: Bitnami Containers <containers@bitnami.com>
This commit is contained in:
Miguel Ruiz
2022-02-21 09:31:03 +01:00
committed by GitHub
parent d3b94ee1ec
commit e6bad1b466
6 changed files with 223 additions and 115 deletions

View File

@@ -3,4 +3,4 @@ dependencies:
repository: https://charts.bitnami.com/bitnami
version: 1.11.1
digest: sha256:a000bcd4d4cdd813c67d633b5523b4a4cd478fb95f1cae665d9b0ba5c45b40e2
generated: "2022-02-17T08:58:55.846240949Z"
generated: "2022-02-17T09:50:48.881769589Z"

View File

@@ -28,4 +28,4 @@ name: kubewatch
sources:
- https://github.com/bitnami/bitnami-docker-kubewatch
- https://github.com/bitnami-labs/kubewatch
version: 3.2.25
version: 3.3.0

View File

@@ -56,119 +56,136 @@ The command removes all the Kubernetes components associated with the chart and
### Common parameters
| Name | Description | Value |
| ------------------- | ----------------------------------------------------------- | ----- |
| `nameOverride` | String to partially override common.names.fullname template | `""` |
| `fullnameOverride` | String to fully override common.names.fullname template | `""` |
| `commonLabels` | Labels to add to all deployed objects | `{}` |
| `commonAnnotations` | Annotations to add to all deployed objects | `{}` |
| `extraDeploy` | Array of extra objects to deploy with the release | `[]` |
| Name | Description | Value |
| ------------------------ | --------------------------------------------------------------------------------------- | -------------- |
| `kubeVersion` | Force target Kubernetes version (using Helm capabilities if not set) | `""` |
| `nameOverride` | String to partially override common.names.fullname template | `""` |
| `fullnameOverride` | String to fully override common.names.fullname template | `""` |
| `commonLabels` | Labels to add to all deployed objects | `{}` |
| `commonAnnotations` | Annotations to add to all deployed objects | `{}` |
| `diagnosticMode.enabled` | Enable diagnostic mode (all probes will be disabled and the command will be overridden) | `false` |
| `diagnosticMode.command` | Command to override all containers in the the deployment(s)/statefulset(s) | `["sleep"]` |
| `diagnosticMode.args` | Args to override all containers in the the deployment(s)/statefulset(s) | `["infinity"]` |
| `extraDeploy` | Array of extra objects to deploy with the release | `[]` |
### Kubewatch parameters
| Name | Description | Value |
| ---------------------------------------- | -------------------------------------------------------------------- | ---------------------- |
| `image.registry` | Kubewatch image registry | `docker.io` |
| `image.repository` | Kubewatch image repository | `bitnami/kubewatch` |
| `image.tag` | Kubewatch image tag (immutable tags are recommended) | `0.1.0-debian-10-r484` |
| `image.pullPolicy` | Kubewatch image pull policy | `IfNotPresent` |
| `image.pullSecrets` | Specify docker-registry secret names as an array | `[]` |
| `hostAliases` | Add deployment host aliases | `[]` |
| `slack.enabled` | Enable Slack notifications | `true` |
| `slack.channel` | Slack channel to notify | `XXXX` |
| `slack.token` | Slack API token | `XXXX` |
| `hipchat.enabled` | Enable HipChat notifications | `false` |
| `hipchat.room` | HipChat room to notify | `""` |
| `hipchat.token` | HipChat token | `""` |
| `hipchat.url` | HipChat URL | `""` |
| `mattermost.enabled` | Enable Mattermost notifications | `false` |
| `mattermost.channel` | Mattermost channel to notify | `""` |
| `mattermost.url` | Mattermost URL | `""` |
| `mattermost.username` | Mattermost user to notify | `""` |
| `flock.enabled` | Enable Flock notifications | `false` |
| `flock.url` | Flock URL | `""` |
| `msteams.enabled` | Enable Microsoft Teams notifications | `false` |
| `msteams.webhookurl` | Microsoft Teams webhook URL | `""` |
| `webhook.enabled` | Enable Webhook notifications | `false` |
| `webhook.url` | Webhook URL | `""` |
| `smtp.enabled` | Enable SMTP (email) notifications | `false` |
| `smtp.to` | Destination email address (required) | `""` |
| `smtp.from` | Source email address (required) | `""` |
| `smtp.hello` | SMTP hello field (optional) | `""` |
| `smtp.smarthost` | SMTP server address (name:port) (required) | `""` |
| `smtp.subject` | Source email subject | `""` |
| `smtp.auth.username` | Username for LOGIN and PLAIN auth mech | `""` |
| `smtp.auth.password` | Password for LOGIN and PLAIN auth mech | `""` |
| `smtp.auth.secret` | Secret for CRAM-MD5 auth mech | `""` |
| `smtp.auth.identity` | Identity for PLAIN auth mech | `""` |
| `smtp.requireTLS` | Force STARTTLS. Set to `true` or `false` | `""` |
| `namespaceToWatch` | Namespace to watch, leave it empty for watching all | `""` |
| `resourcesToWatch.deployment` | Watch changes to Deployments | `true` |
| `resourcesToWatch.replicationcontroller` | Watch changes to ReplicationControllers | `false` |
| `resourcesToWatch.replicaset` | Watch changes to ReplicaSets | `false` |
| `resourcesToWatch.daemonset` | Watch changes to DaemonSets | `false` |
| `resourcesToWatch.services` | Watch changes to Services | `false` |
| `resourcesToWatch.pod` | Watch changes to Pods | `true` |
| `resourcesToWatch.job` | Watch changes to Jobs | `false` |
| `resourcesToWatch.persistentvolume` | Watch changes to PersistentVolumes | `false` |
| `command` | Override default container command (useful when using custom images) | `[]` |
| `args` | Override default container args (useful when using custom images) | `[]` |
| `extraEnvVars` | Extra environment variables to be set on Kubewatch container | `[]` |
| `extraEnvVarsCM` | Name of existing ConfigMap containing extra env vars | `""` |
| `extraEnvVarsSecret` | Name of existing Secret containing extra env vars | `""` |
| Name | Description | Value |
| ---------------------------------------- | -------------------------------------------------------------------------------- | ---------------------- |
| `image.registry` | Kubewatch image registry | `docker.io` |
| `image.repository` | Kubewatch image repository | `bitnami/kubewatch` |
| `image.tag` | Kubewatch image tag (immutable tags are recommended) | `0.1.0-debian-10-r513` |
| `image.pullPolicy` | Kubewatch image pull policy | `IfNotPresent` |
| `image.pullSecrets` | Specify docker-registry secret names as an array | `[]` |
| `hostAliases` | Add deployment host aliases | `[]` |
| `slack.enabled` | Enable Slack notifications | `true` |
| `slack.channel` | Slack channel to notify | `XXXX` |
| `slack.token` | Slack API token | `XXXX` |
| `hipchat.enabled` | Enable HipChat notifications | `false` |
| `hipchat.room` | HipChat room to notify | `""` |
| `hipchat.token` | HipChat token | `""` |
| `hipchat.url` | HipChat URL | `""` |
| `mattermost.enabled` | Enable Mattermost notifications | `false` |
| `mattermost.channel` | Mattermost channel to notify | `""` |
| `mattermost.url` | Mattermost URL | `""` |
| `mattermost.username` | Mattermost user to notify | `""` |
| `flock.enabled` | Enable Flock notifications | `false` |
| `flock.url` | Flock URL | `""` |
| `msteams.enabled` | Enable Microsoft Teams notifications | `false` |
| `msteams.webhookurl` | Microsoft Teams webhook URL | `""` |
| `webhook.enabled` | Enable Webhook notifications | `false` |
| `webhook.url` | Webhook URL | `""` |
| `smtp.enabled` | Enable SMTP (email) notifications | `false` |
| `smtp.to` | Destination email address (required) | `""` |
| `smtp.from` | Source email address (required) | `""` |
| `smtp.hello` | SMTP hello field (optional) | `""` |
| `smtp.smarthost` | SMTP server address (name:port) (required) | `""` |
| `smtp.subject` | Source email subject | `""` |
| `smtp.auth.username` | Username for LOGIN and PLAIN auth mech | `""` |
| `smtp.auth.password` | Password for LOGIN and PLAIN auth mech | `""` |
| `smtp.auth.secret` | Secret for CRAM-MD5 auth mech | `""` |
| `smtp.auth.identity` | Identity for PLAIN auth mech | `""` |
| `smtp.requireTLS` | Force STARTTLS. Set to `true` or `false` | `""` |
| `namespaceToWatch` | Namespace to watch, leave it empty for watching all | `""` |
| `resourcesToWatch.deployment` | Watch changes to Deployments | `true` |
| `resourcesToWatch.replicationcontroller` | Watch changes to ReplicationControllers | `false` |
| `resourcesToWatch.replicaset` | Watch changes to ReplicaSets | `false` |
| `resourcesToWatch.daemonset` | Watch changes to DaemonSets | `false` |
| `resourcesToWatch.services` | Watch changes to Services | `false` |
| `resourcesToWatch.pod` | Watch changes to Pods | `true` |
| `resourcesToWatch.job` | Watch changes to Jobs | `false` |
| `resourcesToWatch.persistentvolume` | Watch changes to PersistentVolumes | `false` |
| `command` | Override default container command (useful when using custom images) | `[]` |
| `args` | Override default container args (useful when using custom images) | `[]` |
| `lifecycleHooks` | for the Kubewatch container(s) to automate configuration before or after startup | `{}` |
| `extraEnvVars` | Extra environment variables to be set on Kubewatch container | `[]` |
| `extraEnvVarsCM` | Name of existing ConfigMap containing extra env vars | `""` |
| `extraEnvVarsSecret` | Name of existing Secret containing extra env vars | `""` |
### Kubewatch deployment parameters
| Name | Description | Value |
| --------------------------------------- | ----------------------------------------------------------------------------------------- | ------- |
| `replicaCount` | Number of Kubewatch replicas to deploy | `1` |
| `podSecurityContext.enabled` | Enable Kubewatch containers' SecurityContext | `false` |
| `podSecurityContext.fsGroup` | Set Kubewatch containers' SecurityContext fsGroup | `""` |
| `containerSecurityContext.enabled` | Enable Kubewatch pods' Security Context | `false` |
| `containerSecurityContext.runAsUser` | Set Kubewatch pods' SecurityContext runAsUser | `""` |
| `containerSecurityContext.runAsNonRoot` | Set Kubewatch pods' SecurityContext runAsNonRoot | `""` |
| `resources.limits` | The resources limits for the Kubewatch container | `{}` |
| `resources.requests` | The requested resources for the Kubewatch container | `{}` |
| `livenessProbe.enabled` | Enable livenessProbe | `false` |
| `livenessProbe.initialDelaySeconds` | Initial delay seconds for livenessProbe | `10` |
| `livenessProbe.periodSeconds` | Period seconds for livenessProbe | `10` |
| `livenessProbe.timeoutSeconds` | Timeout seconds for livenessProbe | `1` |
| `livenessProbe.failureThreshold` | Failure threshold for livenessProbe | `3` |
| `livenessProbe.successThreshold` | Success threshold for livenessProbe | `1` |
| `readinessProbe.enabled` | Enable readinessProbe | `false` |
| `readinessProbe.initialDelaySeconds` | Initial delay seconds for readinessProbe | `10` |
| `readinessProbe.periodSeconds` | Period seconds for readinessProbe | `10` |
| `readinessProbe.timeoutSeconds` | Timeout seconds for readinessProbe | `1` |
| `readinessProbe.failureThreshold` | Failure threshold for readinessProbe | `3` |
| `readinessProbe.successThreshold` | Success threshold for readinessProbe | `1` |
| `customLivenessProbe` | Override default liveness probe | `{}` |
| `customReadinessProbe` | Override default readiness probe | `{}` |
| `podAffinityPreset` | Pod affinity preset. Ignored if `affinity` is set. Allowed values: `soft` or `hard` | `""` |
| `podAntiAffinityPreset` | Pod anti-affinity preset. Ignored if `affinity` is set. Allowed values: `soft` or `hard` | `soft` |
| `nodeAffinityPreset.type` | Node affinity preset type. Ignored if `affinity` is set. Allowed values: `soft` or `hard` | `""` |
| `nodeAffinityPreset.key` | Node label key to match. Ignored if `affinity` is set. | `""` |
| `nodeAffinityPreset.values` | Node label values to match. Ignored if `affinity` is set. | `[]` |
| `affinity` | Affinity for pod assignment | `{}` |
| `nodeSelector` | Node labels for pod assignment | `{}` |
| `tolerations` | Tolerations for pod assignment | `[]` |
| `priorityClassName` | Controller priorityClassName | `""` |
| `podLabels` | Extra labels for Kubewatch pods | `{}` |
| `podAnnotations` | Annotations for Kubewatch pods | `{}` |
| `extraVolumes` | Optionally specify extra list of additional volumes for Kubewatch pods | `[]` |
| `extraVolumeMounts` | Optionally specify extra list of additional volumeMounts for Kubewatch container(s) | `[]` |
| `initContainers` | Add additional init containers to the Kubewatch pods | `[]` |
| `sidecars` | Add additional sidecar containers to the Kubewatch pods | `[]` |
| Name | Description | Value |
| --------------------------------------- | ----------------------------------------------------------------------------------------- | --------------- |
| `replicaCount` | Number of Kubewatch replicas to deploy | `1` |
| `podSecurityContext.enabled` | Enable Kubewatch containers' SecurityContext | `false` |
| `podSecurityContext.fsGroup` | Set Kubewatch containers' SecurityContext fsGroup | `""` |
| `containerSecurityContext.enabled` | Enable Kubewatch pods' Security Context | `false` |
| `containerSecurityContext.runAsUser` | Set Kubewatch pods' SecurityContext runAsUser | `""` |
| `containerSecurityContext.runAsNonRoot` | Set Kubewatch pods' SecurityContext runAsNonRoot | `""` |
| `resources.limits` | The resources limits for the Kubewatch container | `{}` |
| `resources.requests` | The requested resources for the Kubewatch container | `{}` |
| `startupProbe.enabled` | Enable startupProbe | `false` |
| `startupProbe.initialDelaySeconds` | Initial delay seconds for startupProbe | `10` |
| `startupProbe.periodSeconds` | Period seconds for startupProbe | `10` |
| `startupProbe.timeoutSeconds` | Timeout seconds for startupProbe | `1` |
| `startupProbe.failureThreshold` | Failure threshold for startupProbe | `3` |
| `startupProbe.successThreshold` | Success threshold for startupProbe | `1` |
| `livenessProbe.enabled` | Enable livenessProbe | `false` |
| `livenessProbe.initialDelaySeconds` | Initial delay seconds for livenessProbe | `10` |
| `livenessProbe.periodSeconds` | Period seconds for livenessProbe | `10` |
| `livenessProbe.timeoutSeconds` | Timeout seconds for livenessProbe | `1` |
| `livenessProbe.failureThreshold` | Failure threshold for livenessProbe | `3` |
| `livenessProbe.successThreshold` | Success threshold for livenessProbe | `1` |
| `readinessProbe.enabled` | Enable readinessProbe | `false` |
| `readinessProbe.initialDelaySeconds` | Initial delay seconds for readinessProbe | `10` |
| `readinessProbe.periodSeconds` | Period seconds for readinessProbe | `10` |
| `readinessProbe.timeoutSeconds` | Timeout seconds for readinessProbe | `1` |
| `readinessProbe.failureThreshold` | Failure threshold for readinessProbe | `3` |
| `readinessProbe.successThreshold` | Success threshold for readinessProbe | `1` |
| `customStartupProbe` | Override default startup probe | `{}` |
| `customLivenessProbe` | Override default liveness probe | `{}` |
| `customReadinessProbe` | Override default readiness probe | `{}` |
| `podAffinityPreset` | Pod affinity preset. Ignored if `affinity` is set. Allowed values: `soft` or `hard` | `""` |
| `podAntiAffinityPreset` | Pod anti-affinity preset. Ignored if `affinity` is set. Allowed values: `soft` or `hard` | `soft` |
| `nodeAffinityPreset.type` | Node affinity preset type. Ignored if `affinity` is set. Allowed values: `soft` or `hard` | `""` |
| `nodeAffinityPreset.key` | Node label key to match. Ignored if `affinity` is set. | `""` |
| `nodeAffinityPreset.values` | Node label values to match. Ignored if `affinity` is set. | `[]` |
| `affinity` | Affinity for pod assignment | `{}` |
| `nodeSelector` | Node labels for pod assignment | `{}` |
| `tolerations` | Tolerations for pod assignment | `[]` |
| `priorityClassName` | Controller priorityClassName | `""` |
| `schedulerName` | Name of the k8s scheduler (other than default) | `""` |
| `topologySpreadConstraints` | Topology Spread Constraints for pod assignment | `[]` |
| `podLabels` | Extra labels for Kubewatch pods | `{}` |
| `podAnnotations` | Annotations for Kubewatch pods | `{}` |
| `extraVolumes` | Optionally specify extra list of additional volumes for Kubewatch pods | `[]` |
| `extraVolumeMounts` | Optionally specify extra list of additional volumeMounts for Kubewatch container(s) | `[]` |
| `updateStrategy.type` | Deployment strategy type. | `RollingUpdate` |
| `initContainers` | Add additional init containers to the Kubewatch pods | `[]` |
| `sidecars` | Add additional sidecar containers to the Kubewatch pods | `[]` |
### RBAC parameters
| Name | Description | Value |
| ----------------------- | ---------------------------------------------------------- | ------- |
| `rbac.create` | Whether to create & use RBAC resources or not | `false` |
| `serviceAccount.create` | Enable the creation of a ServiceAccount for Kubewatch pods | `true` |
| `serviceAccount.name` | Name of the created ServiceAccount | `""` |
| Name | Description | Value |
| --------------------------------------------- | ------------------------------------------------------------------------------------------------------------------- | ------- |
| `rbac.create` | Whether to create & use RBAC resources or not | `false` |
| `serviceAccount.create` | Specifies whether a ServiceAccount should be created | `true` |
| `serviceAccount.name` | Name of the service account to use. If not set and create is true, a name is generated using the fullname template. | `""` |
| `serviceAccount.automountServiceAccountToken` | Automount service account token for the server service account | `true` |
| `serviceAccount.annotations` | Annotations for service account. Evaluated as a template. Only used if `create` is `true`. | `{}` |
Specify each parameter using the `--set key=value[,key=value]` argument to `helm install`. For example,

View File

@@ -13,6 +13,9 @@ spec:
selector:
matchLabels: {{- include "common.labels.matchLabels" . | nindent 6 }}
replicas: {{ .Values.replicaCount }}
{{- if .Values.updateStrategy }}
strategy: {{- toYaml .Values.updateStrategy | nindent 4 }}
{{- end }}
template:
metadata:
annotations:
@@ -46,6 +49,12 @@ spec:
{{- if .Values.priorityClassName }}
priorityClassName: {{ .Values.priorityClassName | quote }}
{{- end }}
{{- if .Values.schedulerName }}
schedulerName: {{ .Values.schedulerName }}
{{- end }}
{{- if .Values.topologySpreadConstraints }}
topologySpreadConstraints: {{- include "common.tplvalues.render" (dict "value" .Values.topologySpreadConstraints "context" .) | nindent 8 }}
{{- end }}
restartPolicy: Always
serviceAccountName: {{ include "kubewatch.serviceAccountName" . }}
{{- if .Values.podSecurityContext.enabled }}
@@ -61,12 +70,19 @@ spec:
{{- if .Values.containerSecurityContext.enabled }}
securityContext: {{- omit .Values.containerSecurityContext "enabled" | toYaml | nindent 12 }}
{{- end }}
{{- if .Values.command }}
{{- if .Values.diagnosticMode.enabled }}
command: {{- include "common.tplvalues.render" (dict "value" .Values.diagnosticMode.command "context" $) | nindent 12 }}
{{- else if .Values.command }}
command: {{- include "common.tplvalues.render" (dict "value" .Values.command "context" $) | nindent 12 }}
{{- end }}
{{- if .Values.args }}
{{- if .Values.diagnosticMode.enabled }}
args: {{- include "common.tplvalues.render" (dict "value" .Values.diagnosticMode.args "context" $) | nindent 12 }}
{{- else if .Values.args }}
args: {{- include "common.tplvalues.render" (dict "value" .Values.args "context" $) | nindent 12 }}
{{- end }}
{{- if .Values.lifecycleHooks }}
lifecycle: {{- include "common.tplvalues.render" (dict "value" .Values.lifecycleHooks "context" $) | nindent 12 }}
{{- end }}
{{- if .Values.extraEnvVars }}
env: {{- include "common.tplvalues.render" (dict "value" .Values.extraEnvVars "context" $) | nindent 12 }}
{{- end }}
@@ -81,6 +97,12 @@ spec:
name: {{ include "common.tplvalues.render" (dict "value" .Values.extraEnvVarsSecret "context" $) }}
{{- end }}
{{- end }}
{{- if not .Values.diagnosticMode.enabled }}
{{- if .Values.startupProbe.enabled }}
startupProbe: {{- include "common.tplvalues.render" (dict "value" (omit .Values.startupProbe "enabled") "context" $) | nindent 12 }}
{{- else if .Values.customStartupProbe }}
startupProbe: {{- include "common.tplvalues.render" (dict "value" .Values.customStartupProbe "context" $) | nindent 12 }}
{{- end }}
{{- if .Values.livenessProbe.enabled }}
livenessProbe: {{- omit .Values.livenessProbe "enabled" | toYaml | nindent 12 }}
{{- else if .Values.customLivenessProbe }}
@@ -91,6 +113,7 @@ spec:
{{- else if .Values.customReadinessProbe }}
readinessProbe: {{- include "common.tplvalues.render" (dict "value" .Values.customReadinessProbe "context" $) | nindent 12 }}
{{- end }}
{{- end }}
{{- if .Values.resources }}
resources: {{- toYaml .Values.resources | nindent 12 }}
{{- end }}

View File

@@ -8,7 +8,14 @@ metadata:
{{- if .Values.commonLabels }}
{{- include "common.tplvalues.render" ( dict "value" .Values.commonLabels "context" $ ) | nindent 4 }}
{{- end }}
{{- if .Values.commonAnnotations }}
annotations: {{- include "common.tplvalues.render" ( dict "value" .Values.commonAnnotations "context" $ ) | nindent 4 }}
{{- if or .Values.serviceAccount.annotations .Values.commonAnnotations }}
annotations:
{{- if .Values.commonAnnotations }}
{{- include "common.tplvalues.render" (dict "value" .Values.commonAnnotations "context" $) | nindent 4 }}
{{- end }}
{{- if .Values.serviceAccount.annotations }}
{{- include "common.tplvalues.render" (dict "value" .Values.serviceAccount.annotations "context" $) | nindent 4 }}
{{- end }}
{{- end }}
{{- end }}
automountServiceAccountToken: {{ .Values.serviceAccount.automountServiceAccountToken }}
{{- end -}}

View File

@@ -16,6 +16,9 @@ global:
## @section Common parameters
## @param kubeVersion Force target Kubernetes version (using Helm capabilities if not set)
##
kubeVersion: ""
## @param nameOverride String to partially override common.names.fullname template
##
nameOverride: ""
@@ -28,6 +31,20 @@ commonLabels: {}
## @param commonAnnotations Annotations to add to all deployed objects
##
commonAnnotations: {}
## Enable diagnostic mode in the deployment(s)/statefulset(s)
##
diagnosticMode:
## @param diagnosticMode.enabled Enable diagnostic mode (all probes will be disabled and the command will be overridden)
##
enabled: false
## @param diagnosticMode.command Command to override all containers in the the deployment(s)/statefulset(s)
##
command:
- sleep
## @param diagnosticMode.args Args to override all containers in the the deployment(s)/statefulset(s)
##
args:
- infinity
## @param extraDeploy Array of extra objects to deploy with the release
##
extraDeploy: []
@@ -45,7 +62,7 @@ extraDeploy: []
image:
registry: docker.io
repository: bitnami/kubewatch
tag: 0.1.0-debian-10-r537
tag: 0.1.0-debian-10-r538
## Specify a imagePullPolicy
## Defaults to 'Always' if image tag is 'latest', else set to 'IfNotPresent'
## ref: https://kubernetes.io/docs/user-guide/images/#pre-pulling-images
@@ -171,6 +188,9 @@ command: []
## @param args Override default container args (useful when using custom images)
##
args: []
## @param lifecycleHooks for the Kubewatch container(s) to automate configuration before or after startup
##
lifecycleHooks: {}
## @param extraEnvVars Extra environment variables to be set on Kubewatch container
## Example:
## extraEnvVars:
@@ -228,6 +248,22 @@ resources:
## cpu: 100m
## memory: 10Mi
requests: {}
## Configure extra options for startup probe
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-probes/#configure-probes
## @param startupProbe.enabled Enable startupProbe
## @param startupProbe.initialDelaySeconds Initial delay seconds for startupProbe
## @param startupProbe.periodSeconds Period seconds for startupProbe
## @param startupProbe.timeoutSeconds Timeout seconds for startupProbe
## @param startupProbe.failureThreshold Failure threshold for startupProbe
## @param startupProbe.successThreshold Success threshold for startupProbe
##
startupProbe:
enabled: false
initialDelaySeconds: 10
periodSeconds: 10
timeoutSeconds: 1
failureThreshold: 3
successThreshold: 1
## Configure extra options for liveness probe
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-probes/#configure-probes
## @param livenessProbe.enabled Enable livenessProbe
@@ -260,6 +296,9 @@ readinessProbe:
timeoutSeconds: 1
failureThreshold: 3
successThreshold: 1
## @param customStartupProbe Override default startup probe
##
customStartupProbe: {}
## @param customLivenessProbe Override default liveness probe
##
customLivenessProbe: {}
@@ -310,6 +349,15 @@ tolerations: []
## ref: https://kubernetes.io/docs/concepts/configuration/pod-priority-preemption/
##
priorityClassName: ""
## @param schedulerName Name of the k8s scheduler (other than default)
## ref: https://kubernetes.io/docs/tasks/administer-cluster/configure-multiple-schedulers/
##
schedulerName: ""
## @param topologySpreadConstraints Topology Spread Constraints for pod assignment
## https://kubernetes.io/docs/concepts/workloads/pods/pod-topology-spread-constraints/
## The value is evaluated as a template
##
topologySpreadConstraints: []
## @param podLabels Extra labels for Kubewatch pods
## ref: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/
##
@@ -324,6 +372,17 @@ extraVolumes: []
## @param extraVolumeMounts Optionally specify extra list of additional volumeMounts for Kubewatch container(s)
##
extraVolumeMounts: []
## @param updateStrategy.type Deployment strategy type.
## ref: https://kubernetes.io/docs/concepts/workloads/controllers/deployment/#strategy
## e.g:
## updateStrategy:
## type: RollingUpdate
## rollingUpdate:
## maxSurge: 25%
## maxUnavailable: 25%
##
updateStrategy:
type: RollingUpdate
## @param initContainers Add additional init containers to the Kubewatch pods
## Example:
## initContainers:
@@ -353,13 +412,15 @@ sidecars: []
##
rbac:
create: false
## Specifies whether a ServiceAccount should be created
## Pods Service Account
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/
## @param serviceAccount.create Specifies whether a ServiceAccount should be created
## @param serviceAccount.name Name of the service account to use. If not set and create is true, a name is generated using the fullname template.
## @param serviceAccount.automountServiceAccountToken Automount service account token for the server service account
## @param serviceAccount.annotations Annotations for service account. Evaluated as a template. Only used if `create` is `true`.
##
serviceAccount:
## @param serviceAccount.create Enable the creation of a ServiceAccount for Kubewatch pods
##
create: true
## @param serviceAccount.name Name of the created ServiceAccount
## If not set and create is true, a name is generated using the fullname template
##
name: ""
automountServiceAccountToken: true
annotations: {}