Skip to content
This repository was archived by the owner on Jan 18, 2024. It is now read-only.

charts/timescaledb-single: add imagePullSecrets#351

Open
ayeks wants to merge 2 commits intotimescale:mainfrom
ayeks:ayeks-patch-1
Open

charts/timescaledb-single: add imagePullSecrets#351
ayeks wants to merge 2 commits intotimescale:mainfrom
ayeks:ayeks-patch-1

Conversation

@ayeks
Copy link
Copy Markdown

@ayeks ayeks commented Mar 22, 2022

Using a private repository was not possible before, so I added the imagePullSecrets to the StatefulSet.

You can now define an existing secret from the same namespace. Example:

image:
  repository: docker.yourcompany.com/timescale/timescaledb-ha
  tag: pg13.4-ts2.4.2-p0
  pullPolicy: IfNotPresent

imagePullSecrets:
- name: registry-credentials

Checkout https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/ for detailed information.

ayeks added 2 commits March 22, 2022 10:48
to statefulset-timescaledb.yaml for the StatefulSet
@c-p-b
Copy link
Copy Markdown

c-p-b commented Mar 29, 2022

Any chance this will make it in the next release? Currently I have to run a local version of this chart only because of this change.

runAsGroup: {{ template "postgres.uid" }}
runAsNonRoot: true
runAsUser: {{ template "postgres.uid" }}
{{- if .Values.imagePullSecrets }}
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please add the field in values.yaml and schema files.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants