1# Default values for cloudprober.
2# This is a YAML-formatted file.
3# Declare variables to be passed into your templates.
5# Workload kind: Deployment or DaemonSet.
6# Control placement with nodeSelector, affinity and tolerations.
7workloadKind: Deployment
8# Used only with workloadKind: Deployment.
10# Annotations to add to the workload (Deployment or DaemonSet). Useful e.g. with
11# stakater/Reloader (reloader.stakater.com/auto) to restart the
12# deployment when an externally managed ConfigMap changes.
13deploymentAnnotations: {}
14# Used only with workloadKind: Deployment.
21# Used only with workloadKind: DaemonSet. Empty uses Kubernetes defaults.
22daemonSetUpdateStrategy: {}
25# maxUnavailable: "10%"
28# Empty uses ClusterFirstWithHostNet when hostNetwork is true,
29# otherwise the Kubernetes default (ClusterFirst).
32 repository: cgr.dev/chainguard-private/cloudprober
33 pullPolicy: IfNotPresent
34 # Overrides the image tag whose default is the chart appVersion.
35 tag: 0.14.7-r4@sha256:3fa5db9f3274b3080aa7e05d1d6c929804287cc837c867992389804af615f08a
36# externalProberImage: when set, enables running an external probe (see
37# https://cloudprober.org/docs/how-to/external-probe/) that requires extra
38# dependencies (e.g. redis-cli, mysql-client) without building a custom image
39# that bundles both cloudprober and the dependencies.
42# - The cloudprober container runs as an initContainer that copies the
43# cloudprober binary to a shared emptyDir volume.
44# - The externalProberImage is run as the main container and executes the
45# cloudprober binary from the shared volume.
46# - The init container uses initContainer resources and securityContext below.
48# The external prober image only needs the extra binaries your external probe
49# invokes; it does not need to include cloudprober itself.
53# repository: myregistry/redis-prober
58 pullPolicy: IfNotPresent
59# Settings for the init container used with externalProberImage.
61 # Defaults to .Values.resources when empty.
63 # Not inherited from securityContext, so policies that check every container
64 # (such as Pod Security "restricted") need the hardening set here too.
65 # The cloudprober image runs as root: if runAsNonRoot is set here or in
66 # podSecurityContext, also set a non-zero runAsUser here or in
69 # Example for a Pod Security "restricted" namespace:
74 # type: RuntimeDefault
76 # allowPrivilegeEscalation: false
81 # allowPrivilegeEscalation: false
85# extraArgs to add args to the cloudprober container in order to add cloudprober flags
87# - "--cloud_metadata=none"
89# configmap to use for the cloudprober config.
90# configMap name defaults to release name, but can be overridden here.
91# If create is true, a configMap is created from the config value, otherwise
92# an existing configMap is used.
93# One caveat with managing config map outside of helm charts is that you'll
94# need to manage the deployment restart yourself after updating the config
95# map. If you're managing the configMap outside of helm and config file name
96# is different, you should set the value of configFileName as well.
100# You can override the default config filename using the following field. It's
101# typically useful if you're managing the configMap outside of helm.
102configFileName: 'cloudprober'
103# The config file suffix; suffixes that provide different parsing are:
104# "json", "yaml", "yml"
106# You can either embed config here, or keep it in a separate file and provide
107# it at run-time, like this:
108# helm .. --set-file config=<path to cloudprober config>
113# This option is useful to split the config into multiple files. Cloudprober
114# supports including other files using the "include" directive. Using
115# additionalConfigs you can provide additional files to be included in the
116# configmap. All these files will be mounted in the same directory as the
117# main config file, so you can directly include them.
119# For example, if you add an additional config file "team1.cfg", you can
120# include it in the main config file as:
121# include: "team1.cfg"
131# To set this value on command line:
132# helm .. --set-file extraConfigs[0].name=team1.cfg,extraConfigs[0].value=$home/team1.cfg"
136# - name: SERVICE_TOKEN
139# name: cloudprober-secrets
142# The name of a secret in the same kubernetes namespace which contains values
143# to be added to the environment (must be manually created). This can be useful
144# for auth tokens, etc.
150 # Specifies whether a service account should be created
152 # Annotations to add to the service account
154 # The name of the service account to use.
155 # If not set and create is true, a name is generated using the fullname template
157# Create RBAC for read-only access to k8s resources.
162podSecurityContext: {}
169# readOnlyRootFilesystem: true
173# Whether to share process namespace within the pod. It's recommended to keep
174# this enabled if you're using browser probes, or external probes that might
175# fork out more processes. It shouldn't hurt regardless.
176# Visit the following link for more details:
177# https://github.com/cloudprober/cloudprober/issues/1128#issuecomment-3207721143
178shareProcessNamespace: true
179# Optional duration in seconds the pod needs to terminate gracefully. When
180# unset, Kubernetes uses its default (30 seconds).
181# terminationGracePeriodSeconds: 60
182terminationGracePeriodSeconds: null
183# Optional graceful drain. When set, a preStop hook keeps the container alive
184# (still answering probes) for this many seconds before SIGTERM is sent, giving
185# load balancers / service discovery time to stop routing to the pod so no
186# probes are lost. When unset, no preStop hook is added.
188# Uses the native `sleep` preStop handler (Kubernetes >= 1.30). If set, ensure
189# terminationGracePeriodSeconds is strictly greater than terminationDrainSeconds
190# (plus any cloudprober stop_time_sec), or the kubelet SIGKILLs mid-shutdown.
191# terminationDrainSeconds: 20
192terminationDrainSeconds: null
197 # Additional ports to expose on the service (e.g. a probe listener).
198 # Entries are Kubernetes ServicePort specs.
210 # kubernetes.io/ingress.class: nginx
211 # kubernetes.io/tls-acme: "true"
213 - host: chart-example.local
216 pathType: ImplementationSpecific
218 # - secretName: chart-example-tls
220 # - chart-example.local
222# We usually recommend not to specify default resources and to leave this as a conscious
223# choice for the user. This also increases chances charts run on environments with little
224# resources, such as Minikube. If you do want to specify resources, uncomment the following
225# lines, adjust them as necessary, and remove the curly braces after 'resources:'.
236# Has no effect with workloadKind: DaemonSet.
237topologySpreadConstraints: []
240# app.kubernetes.io/instance: cloudprober
241# app.kubernetes.io/name: cloudprober
243# topologyKey: topology.kubernetes.io/zone
244# whenUnsatisfiable: ScheduleAnyway
246# Extra configmaps to mount in cloudprober pods
247# Values are templated.
248extraConfigmapMounts: []
249# - name: certs-configmap
250# mountPath: /certs/ssl/
251# subPath: certificates.crt # (optional)
252# configMap: certs-configmap # (optional, defaults to name)
254# defaultMode: 400 # (optional, defaults to 400)
258# - name: additional-probe-secrets
259# mountPath: /var/run/probe/secret
260# subPath: probe.key # (optional)
261# secretName: probe-secret # (optional, defaults to name)
262# defaultMode: 400 # (optional, defaults to 400)
265# Extra volumes added to the pod, e.g. an emptyDir shared between cloudprober
266# and a sidecar declared in extraContainers.
271# Extra volumeMounts added to the cloudprober container.
274# mountPath: /shared-data
277# Override the checksum annotation to force pod restarts.
278# When empty (default), uses the ConfigMap content hash for automatic restarts on config changes.
279# Set to any unique value (e.g., current timestamp) to force a restart.
281# Extra containers. We can use these containers to run helper services like
282# cypress-server to run UI tests.
285# - name: cypress-server
286# image: ghcr.io/manugarg/cypress-server:latest
291# Extra Kubernetes objects to deploy with the release, for example the
292# Secret or ExternalSecret holding a probe's credentials. Each entry is either
293# a map or a YAML string, and is rendered with tpl, so it can use release
294# values. A literal {{ }}, such as a Go template in a cloudprober config, must
295# be escaped as {{`{{ ... }}`}}.
301# name: '{{ include "cloudprober.fullname" . }}-extra'
304# probe.cfg: 'host: {{`{{ env "TARGET_HOST" }}`}}'
309# name: {{ include "cloudprober.fullname" . }}-extra-string
310# {{- with .Values.podLabels }}
312# {{- toYaml . | nindent 4 }}