-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add PullSecretMountPath to ClusterDetails #2975
Conversation
This will give users the option to specify where the pull secret should be mounted within the container. This should fix GoogleContainerTools#731 and enable ECR support.
Codecov Report
|
@@ -111,6 +111,27 @@ func TestSetDefaultsOnCluster(t *testing.T) { | |||
|
|||
t.CheckNoError(err) | |||
t.CheckDeepEqual(constants.DefaultKanikoSecretName, cfg.Build.Cluster.PullSecretName) | |||
t.CheckDeepEqual(constants.DefaultKanikoSecretMountPath, cfg.Build.Cluster.PullSecretMountPath) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Add a test for when the secret
is optional and make sure PullSecretMountPath
is not null.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
By "when the secret is optional" do you mean when PullSecret
and PullSecretName
are not set?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
spoke in person with @priyawadhwa and we decided this is fine for now.
We need to do some further follow up on secret management and documentation for different registries.
Thanks
Tejal.
Relates to in case of new feature, this should point to issue/(s) which describes the feature
Fixes #731
Description
This will give users the option to specify where the pull secret should
be mounted within the container. This should fix #731 and enable ECR
support.
User facing changes
n/a
Next PRs.
n/a
Submitter Checklist
These are the criteria that every PR should meet, please check them off as you
review them:
See the contribution guide for more details.
Double check this list of stuff that's easy to miss:
examples
dir, please copy them tointegration/examples
integration/examples
dir, should be tested in integration testReviewer Notes