Skip to content

Commit

Permalink
feat: metabase
Browse files Browse the repository at this point in the history
restore the imagestream for postgres
  • Loading branch information
thegentlemanphysicist committed Apr 21, 2022
1 parent 3d319c3 commit cd3e0c4
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 4 deletions.
4 changes: 0 additions & 4 deletions helm/metabase/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,3 @@ The one complicated part of adding a db to the metabase account is the host. Th
```

It is important to connect to the read only service if one is available. If the connection attempt times out, it is possible the network policy you created is not set up properly.

## Troubleshooting

The secrets for the db get regenerated each time the helm charts are tun. This means the database pods may need to be scaled down to zero then back up to chance the credential.
16 changes: 16 additions & 0 deletions helm/metabase/templates/imagestream.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
apiVersion: image.openshift.io/v1
kind: ImageStream
metadata:
labels:
app: metabase
template: metabase-postgresql-template
name: {{ .Values.metabaseServiceName }}
spec:
tags:
- from:
kind: DockerImage
name: "{{ .Values.image.repository }}:{{ .Values.image.tag }}"
generation: 2
name: latest
referencePolicy:
type: Source

0 comments on commit cd3e0c4

Please sign in to comment.