Skip to content
Open
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion charts/portal/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v2
appVersion: "5.3.2"
description: CA API Developer Portal
name: portal
version: 2.3.14
version: 2.3.15
type: application
home: https://github.com/CAAPIM/apim-charts
maintainers:
Expand Down
4 changes: 4 additions & 0 deletions charts/portal/templates/jobs/cert-update-job.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,10 @@ metadata:
spec:
backoffLimit: 0
template:
metadata:
{{- if .Values.apim.podAnnotations }}
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.

@hakimc76 the if condition should be something like {{- if .Values.jobs.podAnnotations }} so under the values.yaml, podAnnotations should be specified under jobs.

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

@ksaladi I have incorporated your suggested adjustment into the files

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.

@hakimc76 we updated stable charts to incorporate the podAnnotations in Portal jobs. So please refer to the stable branch charts/portal.

annotations: {{- toYaml .Values.apim.podAnnotations | nindent 8 }}
{{- end }}
spec:
serviceAccountName: {{ include "portal.serviceAccountName" . }}
restartPolicy: Never
Expand Down