eclipse-tractusx / policy-hub

Policy Hub
Apache License 2.0
5 stars 12 forks source link

feat: add imagePullSecrets #193

Closed mgarciaLKS closed 2 months ago

mgarciaLKS commented 2 months ago

Description

The imagePullSecrets field allows you to specify secrets needed to pull Docker images from private repositories. Request by @evegufy

Why

In many organizations, container images are stored in private registries rather than public ones for security and compliance reasons. To pull these images, Kubernetes needs credentials, which are provided via imagePullSecrets. This code dynamically includes the necessary secrets for pulling images, based on the configuration provided in the Helm chart's values file.

Checklist

mgarciaLKS commented 2 months ago

Hey @evegufy, hope the vacations went well. Added the imagepullsecrets to the migrations job. I'm going to add now the ones related to the portal.