Skip to content
This repository was archived by the owner on Jun 24, 2020. It is now read-only.
This repository was archived by the owner on Jun 24, 2020. It is now read-only.

Support for imagePullSecrets #124

Description

@trshafer

knative by default does not ship with imagePullSecrets because the registry is put on gcr.io/knative-releases by default. However by supporting custom registries, the operator should also support imagePullSecrets.

https://kubernetes.io/docs/concepts/containers/images/#referring-to-an-imagepullsecrets-on-a-pod

Proposal:

spec:
  registry:
    imagePullSecrets: "my-secrets"
    ...existing fields of "default" and "override"

Activity

  1. duglin commented on Aug 27, 2019

    @duglin

    I'm running into this today... so +1 to supporting private registries that require a PullSecret.

    from the slack chat about this:


    the pods in knative-serving namespace are using the "controller" service account. In order for the images to be pulled, that SA needs a imagePullSecret with the creds for the private registry hosting the images - assuming you're using a private registry. However, processing the default serving.yaml, it creates the SA and the Pods all in one shot, not giving anyone a chance to inject the SA with the imagePullSecret. Do I have all of this right? And if so, is there any way to get around this situation w/o modifying the yaml or splitting it up in some way?


    /cc @houshengbo

  2. evankanderson commented on Aug 27, 2019

    @evankanderson
    Member

    Do we have anyone working on this yet? Otherwise, I might take a swing at it.

  3. greghaynes commented on Aug 27, 2019

    @greghaynes
    Contributor

    Nope, feel free to take it. Thanks!

  4. trshafer commented on Aug 28, 2019

    @trshafer
    ContributorAuthor

    /assign phamill

  5. knative-prow-robot commented on Aug 28, 2019

    @knative-prow-robot
    Contributor

    @trshafer: GitHub didn't allow me to assign the following users: phamill.

    Note that only knative members, repo collaborators and people who have commented on this issue/PR can be assigned. Additionally, issues/PRs can only have 10 assignees at the same time.
    For more information please see the contributor guide

    Details

    In response to this:

    /assign phamill

    Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

  6. trshafer commented on Aug 29, 2019

    @trshafer
    ContributorAuthor

    /assign phamill

  7. trshafer commented on Sep 9, 2019

    @trshafer
    ContributorAuthor

    /assign garron

  8. garron commented on Sep 12, 2019

    @garron
    Contributor

    /unassign phamill

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

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions