diff --git a/.github/workflows/push.yaml b/.github/workflows/push.yaml index ff68785..b0af73d 100644 --- a/.github/workflows/push.yaml +++ b/.github/workflows/push.yaml @@ -30,7 +30,7 @@ jobs: if: ${{ github.event_name != 'pull_request' }} with: name: postgrest - tag: 0.2.3 + tag: 0.2.4 repository: ${{ github.repository }} registry: ${{ env.REGISTRY }} registry_username: ${{ github.actor }} diff --git a/charts/postgrest/Chart.yaml b/charts/postgrest/Chart.yaml index 86e558f..21932d3 100644 --- a/charts/postgrest/Chart.yaml +++ b/charts/postgrest/Chart.yaml @@ -1,7 +1,7 @@ apiVersion: v2 name: postgrest icon: https://docs.postgrest.org/en/v14/_images/postgrest.png -version: 0.2.3 +version: 0.2.4 maintainers: - name: jared-prime email: jared.davis@pelo.tech diff --git a/charts/postgrest/templates/deployment.yaml b/charts/postgrest/templates/deployment.yaml index b9b38e0..6803615 100644 --- a/charts/postgrest/templates/deployment.yaml +++ b/charts/postgrest/templates/deployment.yaml @@ -17,6 +17,14 @@ spec: app.kubernetes.io/instance: "{{ .Release.Namespace }}" app.kubernetes.io/name: postgrest spec: + {{- if (empty .Values.imagePullSecrets) }} + imagePullSecrets: [] + {{- else }} + imagePullSecrets: + {{- range $secret := .Values.imagePullSecrets -}} + {{- $secret | toYaml | nindent 8 }} + {{- end -}} + {{- end }} initContainers: - name: wait-for-databases image: alpine:3.23 diff --git a/charts/postgrest/values.yaml b/charts/postgrest/values.yaml index 23e6021..ebfa68f 100644 --- a/charts/postgrest/values.yaml +++ b/charts/postgrest/values.yaml @@ -1,3 +1,5 @@ +imagePullSecrets: + application: schemas: public # PSQL schemas (comma separated) for api usage anon: anon # PSQL role to grant anonymous api usage