Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion charts/beekeeper/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apiVersion: v2
appVersion: latest
name: beekeeper
version: 0.4.13
version: 0.4.14
description: Ethereum Swarm Beekeeper Helm chart for Kubernetes
home: https://www.ethswarm.org
icon: https://docs.ethswarm.org/img/swarm-logo-2.svg
Expand Down
7 changes: 7 additions & 0 deletions charts/beekeeper/templates/cronjob.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,13 @@ spec:
value: "{{ .Values.config.BZZ_TOKEN_ADDRESS }}"
- name: BEEKEEPER_ETH_ACCOUNT
value: "{{ .Values.config.ETH_ACCOUNT }}"
{{- with .Values.extraEnv }}
{{- toYaml . | nindent 16 }}
{{- end }}
{{- with .Values.envFrom }}
envFrom:
{{- toYaml . | nindent 16 }}
{{- end }}
command:
{{- range .Values.config.command }}
- {{ . }}
Expand Down
14 changes: 14 additions & 0 deletions charts/beekeeper/templates/job.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,13 @@ spec:
value: "{{ .Values.config.BZZ_TOKEN_ADDRESS }}"
- name: BEEKEEPER_ETH_ACCOUNT
value: "{{ .Values.config.ETH_ACCOUNT }}"
{{- with .Values.extraEnv }}
{{- toYaml . | nindent 12 }}
{{- end }}
{{- with .Values.envFrom }}
envFrom:
{{- toYaml . | nindent 12 }}
{{- end }}
command:
- sh
- -c
Expand Down Expand Up @@ -72,6 +79,13 @@ spec:
value: "{{ .Values.config.BZZ_TOKEN_ADDRESS }}"
- name: BEEKEEPER_ETH_ACCOUNT
value: "{{ .Values.config.ETH_ACCOUNT }}"
{{- with .Values.extraEnv }}
{{- toYaml . | nindent 12 }}
{{- end }}
{{- with .Values.envFrom }}
envFrom:
{{- toYaml . | nindent 12 }}
{{- end }}
command:
{{- range .Values.config.command }}
- {{ . }}
Expand Down
24 changes: 24 additions & 0 deletions charts/beekeeper/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,30 @@ resources: {}

nodeSelector: {}

## Additional environment variables for the beekeeper container.
## Use this to supply secrets rather than putting them in config.command,
## where they end up readable in the Job/CronJob spec.
##
## Beekeeper reads any flag from the environment as BEEKEEPER_<FLAG>, with
## dashes replaced by underscores, so --wallet-key can be provided as
## BEEKEEPER_WALLET_KEY instead of being passed on the command line.
##
## Example:
# extraEnv:
# - name: BEEKEEPER_WALLET_KEY
# valueFrom:
# secretKeyRef:
# name: beekeeper-wallet-key
# key: walletKey
extraEnv: []

## Populate environment variables from Secrets or ConfigMaps.
## Example:
# envFrom:
# - secretRef:
# name: beekeeper-wallet-key
envFrom: []

config:
command: ["beekeeper", "check"]
parallelism: 1
Expand Down
Loading