Skip to content

Commit

Permalink
feat: Add panda-pulse Helm chart and template file
Browse files Browse the repository at this point in the history
  • Loading branch information
mattevans committed Jan 31, 2025
1 parent e760df5 commit 460e356
Show file tree
Hide file tree
Showing 2 changed files with 38 additions and 0 deletions.
6 changes: 6 additions & 0 deletions roles/generate_kubernetes_config/defaults/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -147,3 +147,9 @@ gen_kubernetes_config_helm_charts: # noqa var-naming[no-role-prefix]
- name: erpc
repository: https://ethpandaops.github.io/ethereum-helm-charts
version: 0.0.2
panda-pulse:
valuesTemplatePath: templates/panda-pulse.yaml.j2
dependencies:
- name: panda-pulse
repository: https://ethpandaops.github.io/general-helm-charts
version: 0.0.1

Check failure on line 155 in roles/generate_kubernetes_config/defaults/main.yaml

View workflow job for this annotation

GitHub Actions / job

yaml[new-line-at-end-of-file]

No new line character at the end of file
32 changes: 32 additions & 0 deletions roles/generate_kubernetes_config/templates/panda-pulse.yaml.j2
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
# {{ ansible_managed }}

panda-pulse:
fullnameOverride: "panda-pulse"

image:
repository: {{ default_tooling_images.panda_pulse.split(':') | first }}
tag: {{ default_tooling_images.panda_pulse.split(':') | last }}
pullPolicy: {% if "latest" in (default_tooling_images.panda_pulse.split(':') | last) %}Always{% else %}IfNotPresent{% endif %}

schedule: "0 7 * * *"

config:
network: "{{ ethereum_network_name }}"
discordChannel: "<path:/secrets/services/services.enc.yaml#ethereum | jsonPath {.testnets.{{ devnet_name }}-devnets.panda_pulse_discord_channel}>"
ethereumCl: "?"
ethereumEl: "?"

secrets:
grafanaServiceToken: "<path:/secrets/services/services.enc.yaml#panda-pulse | jsonPath {.grafana_service_token}>"
discordBotToken: "<path:/secrets/services/services.enc.yaml#panda-pulse | jsonPath {.discord_bot_token}>"
openrouterApiKey: "<path:/secrets/services/services.enc.yaml#panda-pulse | jsonPath {.openrouter_api_key}>"

resources:
limits:
cpu: 1000m
memory: 1Gi
requests:
cpu: 100m
memory: 128Mi


0 comments on commit 460e356

Please sign in to comment.