Skip to content
This repository was archived by the owner on Feb 22, 2022. It is now read-only.

Conversation

@houshengbo
Copy link

Issue to be fixed

Fixes #83

Proposed Changes

  • This PR adds the support to download images from private registries for all the deployments.

Release Note

Copy link
Contributor

@knative-prow-robot knative-prow-robot left a comment

Choose a reason for hiding this comment

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

@houshengbo: 2 warnings.

Details

In response to this:

Issue to be fixed

Fixes #83

Proposed Changes

  • This PR adds the support to download images from private registries for all the deployments.

Release Note

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.

@@ -0,0 +1,108 @@
/*
Copy link
Contributor

Choose a reason for hiding this comment

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

Golint comments: package comment should be of the form "Package common ...". More info.

containerNameVariable = "${NAME}"
)

func DeploymentTransform(instance *eventingv1alpha1.KnativeEventing, log *zap.SugaredLogger) mf.Transformer {
Copy link
Contributor

Choose a reason for hiding this comment

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

Golint comments: exported function DeploymentTransform should have comment or be unexported. More info.

@houshengbo houshengbo changed the title Add registry Add the registry into KnativeEventingSpec to support custom image registry Jan 28, 2020
@houshengbo houshengbo force-pushed the add-registry branch 2 times, most recently from 195ab5d to aed4495 Compare January 28, 2020 20:31
@houshengbo
Copy link
Author

/test pull-knative-eventing-operator-go-coverage

@houshengbo houshengbo force-pushed the add-registry branch 2 times, most recently from c198b9c to 274efcd Compare January 28, 2020 21:42
@houshengbo
Copy link
Author

/test pull-knative-eventing-operator-go-coverage

@houshengbo
Copy link
Author

/test pull-knative-eventing-operator-go-coverage

@houshengbo houshengbo force-pushed the add-registry branch 5 times, most recently from b917ac1 to 66fc2bc Compare January 29, 2020 14:53
@houshengbo houshengbo force-pushed the add-registry branch 2 times, most recently from 53c0ea9 to f6c06bc Compare February 14, 2020 04:01
@knative-metrics-robot
Copy link

The following is the coverage report on the affected files.
Say /test pull-knative-eventing-operator-go-coverage to re-run this coverage report

File Old Coverage New Coverage Delta
pkg/reconciler/knativeeventing/common/extensions.go Do not exist 100.0%
pkg/reconciler/knativeeventing/common/images.go Do not exist 89.2%
pkg/reconciler/reconciler.go Do not exist 100.0%

Copy link
Member

@aliok aliok left a comment

Choose a reason for hiding this comment

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

/lgtm

Code added is basically a copy from serving operator, which is good as we know it works.

I guess we need to talk about the operator merging as this is kind of annoying.
We either need to move these code into a common library or we merge the operators.

@knative-prow-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: aliok, houshengbo

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@knative-prow-robot knative-prow-robot merged commit f08f44b into knative:master Feb 14, 2020
@aliok
Copy link
Member

aliok commented Feb 14, 2020

Hmm, strange. My /lgtm shouldn't cause merge I think since I am not in the OWNERS file.

cc @k4leung4

UPDATE: I learnt that this is normal. See https://knative.slack.com/archives/C92U2C59P/p1581684071154100?thread_ts=1581595563.134600&cid=C92U2C59P

@matzew
Copy link
Member

matzew commented Feb 14, 2020

/joke

@knative-prow-robot
Copy link
Contributor

@matzew: Why did the melons plan a big wedding? Because they cantaloupe!

Details

In response to this:

/joke

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.

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

CRD options for image registry and namespace

6 participants