1# Default values for cloudprober.
2# This is a YAML-formatted file.
3# Declare variables to be passed into your templates.
13 repository: cgr.dev/scratch-images/test-tmp/cloudprober
14 pullPolicy: IfNotPresent
15 # Overrides the image tag whose default is the chart appVersion.
16 tag: 0.14.4-r0@sha256:6b92a550896f30b9575eeaec372309ab507106299a7c0b4d0b906b2d8863bfea
17# externalProberImage: when set, enables running an external probe (see
18# https://cloudprober.org/docs/how-to/external-probe/) that requires extra
19# dependencies (e.g. redis-cli, mysql-client) without building a custom image
20# that bundles both cloudprober and the dependencies.
23# - The cloudprober container runs as an initContainer that copies the
24# cloudprober binary to a shared emptyDir volume.
25# - The externalProberImage is run as the main container and executes the
26# cloudprober binary from the shared volume.
28# The external prober image only needs the extra binaries your external probe
29# invokes; it does not need to include cloudprober itself.
33# repository: myregistry/redis-prober
38 pullPolicy: IfNotPresent
39# extraArgs to add args to the cloudprober container in order to add cloudprober flags
41# - "--cloud_metadata=none"
43# configmap to use for the cloudprober config.
44# configMap name defaults to release name, but can be overridden here.
45# If create is true, a configMap is created from the config value, otherwise
46# an existing configMap is used.
47# One caveat with managing config map outside of helm charts is that you'll
48# need to manage the deployment restart yourself after updating the config
49# map. If you're managing the configMap outside of helm and config file name
50# is different, you should set the value of configFileName as well.
54# You can override the default config filename using the following field. It's
55# typically useful if you're managing the configMap outside of helm.
56configFileName: 'cloudprober'
57# The config file suffix; suffixes that provide different parsing are:
58# "json", "yaml", "yml"
60# You can either embed config here, or keep it in a separate file and provide
61# it at run-time, like this:
62# helm .. --set-file config=<path to cloudprober config>
67# This option is useful to split the config into multiple files. Cloudprober
68# supports including other files using the "include" directive. Using
69# additionalConfigs you can provide additional files to be included in the
70# configmap. All these files will be mounted in the same directory as the
71# main config file, so you can directly include them.
73# For example, if you add an additional config file "team1.cfg", you can
74# include it in the main config file as:
85# To set this value on command line:
86# helm .. --set-file extraConfigs[0].name=team1.cfg,extraConfigs[0].value=$home/team1.cfg"
90# - name: SERVICE_TOKEN
93# name: cloudprober-secrets
96# The name of a secret in the same kubernetes namespace which contains values
97# to be added to the environment (must be manually created). This can be useful
98# for auth tokens, etc.
104 # Specifies whether a service account should be created
106 # Annotations to add to the service account
108 # The name of the service account to use.
109 # If not set and create is true, a name is generated using the fullname template
111# Create RBAC for read-only access to k8s resources.
116podSecurityContext: {}
123# readOnlyRootFilesystem: true
127# Whether to share process namespace within the pod. It's recommended to keep
128# this enabled if you're using browser probes, or external probes that might
129# fork out more processes. It shouldn't hurt regardless.
130# Visit the following link for more details:
131# https://github.com/cloudprober/cloudprober/issues/1128#issuecomment-3207721143
132shareProcessNamespace: true
133# Optional duration in seconds the pod needs to terminate gracefully. When
134# unset, Kubernetes uses its default (30 seconds).
135# terminationGracePeriodSeconds: 60
136terminationGracePeriodSeconds: null
137# Optional graceful drain. When set, a preStop hook keeps the container alive
138# (still answering probes) for this many seconds before SIGTERM is sent, giving
139# load balancers / service discovery time to stop routing to the pod so no
140# probes are lost. When unset, no preStop hook is added.
142# Uses the native `sleep` preStop handler (Kubernetes >= 1.30). If set, ensure
143# terminationGracePeriodSeconds is strictly greater than terminationDrainSeconds
144# (plus any cloudprober stop_time_sec), or the kubelet SIGKILLs mid-shutdown.
145# terminationDrainSeconds: 20
146terminationDrainSeconds: null
158 # kubernetes.io/ingress.class: nginx
159 # kubernetes.io/tls-acme: "true"
161 - host: chart-example.local
164 pathType: ImplementationSpecific
166 # - secretName: chart-example-tls
168 # - chart-example.local
170# We usually recommend not to specify default resources and to leave this as a conscious
171# choice for the user. This also increases chances charts run on environments with little
172# resources, such as Minikube. If you do want to specify resources, uncomment the following
173# lines, adjust them as necessary, and remove the curly braces after 'resources:'.
184topologySpreadConstraints: []
187# app.kubernetes.io/instance: cloudprober
188# app.kubernetes.io/name: cloudprober
190# topologyKey: topology.kubernetes.io/zone
191# whenUnsatisfiable: ScheduleAnyway
193# Extra configmaps to mount in cloudprober pods
194# Values are templated.
195extraConfigmapMounts: []
196# - name: certs-configmap
197# mountPath: /certs/ssl/
198# subPath: certificates.crt # (optional)
199# configMap: certs-configmap # (optional, defaults to name)
201# defaultMode: 400 # (optional, defaults to 400)
205# - name: additional-probe-secrets
206# mountPath: /var/run/probe/secret
207# subPath: probe.key # (optional)
208# secretName: probe-secret # (optional, defaults to name)
209# defaultMode: 400 # (optional, defaults to 400)
212# Override the checksum annotation to force pod restarts.
213# When empty (default), uses the ConfigMap content hash for automatic restarts on config changes.
214# Set to any unique value (e.g., current timestamp) to force a restart.
216# Extra containers. We can use these containers to run helper services like
217# cypress-server to run UI tests.
220# - name: cypress-server
221# image: ghcr.io/manugarg/cypress-server:latest