Skip to content

Feature Request: Add ImagePullSecrets to a service account #20

@Vad1mo

Description

@Vad1mo

Besides creating secrets, the option to add imagePullSecrets to a service account would be a pleasant addition.

Example:

kind: HarborSync
metadata:
  name: my-project
spec:
  type: Regex
  name: "my-project" # <--- specify harbor project
  robotAccountSuffix: "k8s-sync-robot" # <--- should be unique per kind: HarborSync
  mapping:
  - type: Translate
    namespace: "team-a" # <--- target namespace
    secret: "my-project-pull-token" # <--- target secret name
  - type: Translate
    namespace: "team-b"
    secret: "my-project-pull-token"
    serviceaccount: default # <--- add the imagePullSecret to the service account 

We proxy all images and use external Helm Files the might refer to Docker Hub. ImagePullSecret on ServiceAccounts one doesn't need to change the deployment.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions