Skip to content

Commit

Permalink
feat(beekeeper): add 'config-git-dir' env
Browse files Browse the repository at this point in the history
  • Loading branch information
gacevicljubisa committed Nov 28, 2024
1 parent 6f99385 commit fd91ffd
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 10 deletions.
2 changes: 2 additions & 0 deletions charts/beekeeper/templates/cronjob.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,8 @@ spec:
value: "true"
- name: BEEKEEPER_CONFIG_GIT_REPO
value: "{{ .Values.config.CONFIG_GIT_REPO }}"
- name: BEEKEEPER_CONFIG_GIT_DIR
value: "{{ .Values.config.CONFIG_GIT_DIR }}"
- name: BEEKEEPER_CONFIG_GIT_BRANCH
value: "{{ .Values.config.CONFIG_GIT_BRANCH }}"
- name: BEEKEEPER_GETH_URL
Expand Down
4 changes: 4 additions & 0 deletions charts/beekeeper/templates/job.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@ spec:
value: "true"
- name: BEEKEEPER_CONFIG_GIT_REPO
value: "{{ .Values.config.CONFIG_GIT_REPO }}"
- name: BEEKEEPER_CONFIG_GIT_DIR
value: "{{ .Values.config.CONFIG_GIT_DIR }}"
- name: BEEKEEPER_CONFIG_GIT_BRANCH
value: "{{ .Values.config.CONFIG_GIT_BRANCH }}"
- name: BEEKEEPER_GETH_URL
Expand Down Expand Up @@ -61,6 +63,8 @@ spec:
value: "true"
- name: BEEKEEPER_CONFIG_GIT_REPO
value: "{{ .Values.config.CONFIG_GIT_REPO }}"
- name: BEEKEEPER_CONFIG_GIT_DIR
value: "{{ .Values.config.CONFIG_GIT_DIR }}"
- name: BEEKEEPER_CONFIG_GIT_BRANCH
value: "{{ .Values.config.CONFIG_GIT_BRANCH }}"
- name: BEEKEEPER_GETH_URL
Expand Down
22 changes: 12 additions & 10 deletions charts/beekeeper/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ image:
pullPolicy: IfNotPresent

imagePullSecrets: []
nameOverride: ''
fullnameOverride: ''
nameOverride: ""
fullnameOverride: ""

serviceAccount:
## Specifies whether a service account should be created
Expand All @@ -17,7 +17,8 @@ serviceAccount:
createRole: false
createClusterRole: false

resources: {}
resources:
{}
## If you do want to specify resources, uncomment the following
## lines, adjust them as necessary, and remove the curly braces after 'resources:'.
# limits:
Expand All @@ -30,26 +31,27 @@ resources: {}
nodeSelector: {}

config:
command: ['beekeeper', 'check']
command: ["beekeeper", "check"]
parallelism: 1
dirPath: 'files'
dirPath: "files"
# environment variables
CONFIG_GIT_REPO: ''
CONFIG_GIT_REPO: ""
CONFIG_GIT_DIR: ""
CONFIG_GIT_BRANCH: main
GETH_URL: http://geth-swap.geth-swap.staging.internal
BZZ_TOKEN_ADDRESS: '0x6aab14fe9cccd64a502d23842d916eb5321c26e7'
ETH_ACCOUNT: '0x62cab2b3b55f341f10348720ca18063cdb779ad5'
BZZ_TOKEN_ADDRESS: "0x6aab14fe9cccd64a502d23842d916eb5321c26e7"
ETH_ACCOUNT: "0x62cab2b3b55f341f10348720ca18063cdb779ad5"
# if singleRun is enabled cron job settings will be omitted
# job
singleRun: false
backoffLimit: 0
# cron job
schedule: '*/1 * * * *'
schedule: "*/1 * * * *"
successfulJobsHistoryLimit: 3
failedJobsHistoryLimit: 3
concurrencyPolicy: Forbid
# if it is enabled it will create init container that will wait
# for cluster to be up and operational
initPing:
enabled: false
clusterName: ''
clusterName: ""

0 comments on commit fd91ffd

Please sign in to comment.