Skip to content

charts/portal added usage pod annotation for tls-manager job#381

Open
hakimc76 wants to merge 3 commits into
CAAPIM:stablefrom
hakimc76:stable
Open

charts/portal added usage pod annotation for tls-manager job#381
hakimc76 wants to merge 3 commits into
CAAPIM:stablefrom
hakimc76:stable

Conversation

@hakimc76
Copy link
Copy Markdown

@hakimc76 hakimc76 commented Jun 3, 2025

Description of the change

added usage pod annotation for tls-manager job

Benefits

you can add a pod annaotation to the tls-manager job

Drawbacks

none

Applicable issues

Case #: 36332852

  • fixes #

Additional information
We need this for the deployment on AKS
The creation of the secrets fails because the script within the tls-manager job fails because it cannot reach the kubernetes API.
In AKS you need to set the annotation: kubernetes.azure.com/set-kube-service-host-fqdn: ""

Checklist

  • Chart version bumped in Chart.yaml according to semver.
  • Variables are documented in the README.md
  • Title of the PR starts with chart name (e.g. [charts/gateway])
  • If the chart contains a values-production.yaml apart from values.yaml, ensure that you implement the changes in both files

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.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants