1# Default values for promitor-agent-scraper.
2# This is a YAML-formatted file.
8 repository: cgr.dev/chainguard-private/promitor-agent-scraper
11 tag: latest@sha256:aead556732eb9f88ccea9c4f9793fc83e9448a6c5964dd891865383a9064fc88
13 appId: "" # [Deprecated] Prefer identity.id
14 appKey: "" # [Deprecated] Prefer identity.key
15 mode: "ServicePrincipal"
21 mutexTimeoutSeconds: 90
27 systemMetricMapping: []
28 # - id: <atlassian-statuspage-system-metric-id>
29 # promitorMetricName: <promitor-metric-name>
30 openTelemetryCollector:
33 prometheusScrapingEndpoint:
36 enableMetricTimestamps: true
37 metricUnavailableValue: NaN
38 labelTransformation: None
39 enableServiceDiscovery: true
59 # Sample rule below. Can also use templated strings with some limitations regarding possible line length: https://github.com/go-yaml/yaml/issues/166
60 # To prevent Helm from messing up the rules on fields > 80 characters you can use yaml literal style as shown below.
61 # - alert: PromitorRemainingArmCalls
63 # promitor_ratelimit_arm{service="{{ template "promitor-agent-scraper.name" . }}"} < 11999
69 # Service {{ template "promitor-agent-scraper.name" . }} currently reports {{ "{{ $value }}" }} remaining calls before Azure Resource Manager throttles us.
70 # summary: Azure Resource Manager may throttle us soon.
76 defaultLogLevel: "Error"
84## Metric Declaration YAML
88 resourceGroupName: promitor
94 schedule: "*/5 * * * *"
96# Sample metric configuration below
97# - name: demo_queue_size
98# description: "Amount of active messages of the 'myqueue' queue (determined with ServiceBusQueue provider)"
99# resourceType: ServiceBusQueue
100# azureMetricConfiguration:
101# metricName: ActiveMessages
106# - namespace: promitor-messaging
121 # - name: AZURE_STORAGE_QUEUE_SAS_TOKEN
124 # name: azure-storage-queue
127 # To use your own secret, set createSecret to false and define the name/keys that your secret uses
130 appKeySecret: azure-app-key
131 atlassianStatuspageApiKey: atlassian-statuspage-apikey
135 ## By default this pod is running as a non-root user.
136 ## If you choose targetPort <1024 it will fail to start.
142 exposeInternally: false
146 verifyDependencies: false
155 verifyDependencies: false
174## Role-based access control
175## https://kubernetes.io/docs/reference/access-authn-authz/rbac/
177 ## If true, create & use RBAC resources
179 ## If true, create & use Pod Security Policy resources
180 ## ref: https://kubernetes.io/docs/concepts/policy/pod-security-policy/
181 podSecurityPolicyEnabled: false
182 ## Service Account for pods
183 ## ref: https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/
185 ## Specifies whether a service account should be created
187 ## The name of the service account to use if create is false
188 ## If create is true, a name is generated using the fullname template
189 name: promitor-scraper
191 ## Set this to true if you plan on using Pod Security Policy
192 automountServiceAccountToken: false
194## securityContext and containerSecurityContext are using secure defaults.
195## Only override if you have a good reason to.
203containerSecurityContext:
204 allowPrivilegeEscalation: false
210 readOnlyRootFilesystem: true
212## Pass extra volumeMounts to the promitor container
214# - name: secrets-store-inline
215# mountPath: "/mnt/promitor-secrets"
218## Pass extra volumes to the promitor deployment
220# - name: secrets-store-inline
222# driver: secrets-store.csi.k8s.io
225# secretProviderClass: "promitor-secrets"