Skip to content

Commit 91d6605

Browse files
authored
fix: include image pull secret on dbclean job (#277)
1 parent 9b4e698 commit 91d6605

4 files changed

Lines changed: 24 additions & 2 deletions

File tree

charts/pact-broker/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ apiVersion: v2
22
name: pact-broker
33
description: The Pact Broker is an application for sharing for Pact contracts and verification results.
44
type: application
5-
version: 6.2.0
5+
version: 6.2.1
66
appVersion: 2.119.0
77
dependencies:
88
- name: common

charts/pact-broker/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# pact-broker
22

3-
![Version: 6.2.0](https://img.shields.io/badge/Version-6.2.0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 2.119.0](https://img.shields.io/badge/AppVersion-2.119.0-informational?style=flat-square)
3+
![Version: 6.2.1](https://img.shields.io/badge/Version-6.2.1-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 2.119.0](https://img.shields.io/badge/AppVersion-2.119.0-informational?style=flat-square)
44

55
The Pact Broker is an application for sharing for Pact contracts and verification results.
66

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
database:
2+
host: "postgres.default.svc.cluster.local"
3+
port: "5432"
4+
adapter: "postgres"
5+
databaseName: "pactbroker"
6+
auth:
7+
username: "pactbroker"
8+
password: "pactbroker-password"
9+
10+
broker:
11+
imagePullSecrets:
12+
- my-registry-secret
13+
config:
14+
databaseClean:
15+
enabled: true
16+
mode: external

charts/pact-broker/templates/cronjob.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,12 @@ spec:
1616
spec:
1717
template:
1818
spec:
19+
{{- if .Values.broker.imagePullSecrets }}
20+
imagePullSecrets:
21+
{{- range .Values.broker.imagePullSecrets }}
22+
- name: {{ . }}
23+
{{- end }}
24+
{{- end }}
1925
containers:
2026
- name: {{ template "chart.fullname" . }}-dbclean
2127
image: {{ template "broker.image" . }}

0 commit comments

Comments
 (0)