Skip to content

Commit

Permalink
remove pullSecret
Browse files Browse the repository at this point in the history
  • Loading branch information
berekuk committed Nov 1, 2024
1 parent d67e81b commit e5304cf
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 2 deletions.
9 changes: 9 additions & 0 deletions ops/chart/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# Helm chart for Metaforecast

## Notes

The `image.tag` is updated automatically by the CI GitHub Action on each commit.

The secret with the name matching the `envSecret` value, containing environment variables, should be created in the target Kubernetes cluster. See `env.example` at the root of the repository for the required variables.

Elasticsearch is not deployed by default; you need to set up your own instance and provide its credentials in the secret. If you want to self-host Elastic in Kubernetes, you'll need to set up [ECK](https://www.elastic.co/guide/en/cloud-on-k8s/current/k8s-quickstart.html) (that's what we do at QURI) or some other configuration.
2 changes: 0 additions & 2 deletions ops/chart/templates/jobs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,6 @@ spec:
template:
spec:
restartPolicy: Never
imagePullSecrets:
- name: {{ required "image.pullSecret is required" $.Values.image.pullSecret }}
containers:
- name: cronjob
image: "{{ required "image.name is required" $.Values.image.name }}:{{ required "image.tag is required" $.Values.image.tag }}"
Expand Down
1 change: 1 addition & 0 deletions ops/chart/values.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
image:
name: ghcr.io/quantified-uncertainty/metaforecast
# do not edit; this tag will be updated by the CI GitHub Action on each commit
tag: sha-7d7683102c5274aab515ffb195f5fbcb647b95b9

# Secret; you should create this in your k8s cluster.
Expand Down

0 comments on commit e5304cf

Please sign in to comment.