diff --git a/helm_deploy/hmpps-github-discovery/templates/discovery-cron-job.yaml b/helm_deploy/hmpps-github-discovery/templates/discovery-cron-job.yaml index 671e181..8850106 100644 --- a/helm_deploy/hmpps-github-discovery/templates/discovery-cron-job.yaml +++ b/helm_deploy/hmpps-github-discovery/templates/discovery-cron-job.yaml @@ -34,6 +34,8 @@ spec: image: {{ .Values.image.repository }}:latest command: - /bin/github_teams_discovery.py + ports: + - containerPort: {{ .Values.image.port }} volumeMounts: - name: github-teams-discovery-script mountPath: /bin/github_teams_discovery.py diff --git a/helm_deploy/hmpps-github-discovery/values.yaml b/helm_deploy/hmpps-github-discovery/values.yaml index 3d6808e..56cfad4 100644 --- a/helm_deploy/hmpps-github-discovery/values.yaml +++ b/helm_deploy/hmpps-github-discovery/values.yaml @@ -62,6 +62,9 @@ generic-prometheus-alerts: discoveryCronJob: enabled: true + image: + repository: ghcr.io/ministryofjustice/hmpps-github-discovery + port: 8080 namespace_secrets: hmpps-github-discovery: SERVICE_CATALOGUE_API_ENDPOINT: "SERVICE_CATALOGUE_API_ENDPOINT"