Add certs secret name read from env#2685
Add certs secret name read from env#2685knative-prow[bot] merged 5 commits intoknative:mainfrom hhk7734:main
Conversation
|
Welcome @hhk7734! It looks like this is your first PR to knative/pkg 🎉 |
|
Hi @hhk7734. Thanks for your PR. I'm waiting for a knative member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. DetailsInstructions 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. |
|
Is this a dupe of #2662 ? |
|
We provide an option to change the secret name for look up here: Lines 46 to 52 in 2fdd6bf |
I wanted to be able to set secret name as an environment variable when installing knative/operator. previously, I submiited https://github.com/knative/operator/pull/1338/files. I was advised to modify knative/pkg code. |
|
/ok-to-test Thanks for clarifying - can we adjust the names a bit to match the properties in the ie. ctx := webhook.WithOptions(signals.NewContext(), webhook.Options{
ServiceName: webhook.NameFromEnv(),
Port: webhook.PortFromEnv(8443),
SecretName: webhook.SecretNameFromEnv("operator-webhook-certs"),
}) |
|
@dprotaso I added your suggestion to this PR. |
|
/ok-to-test |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: dprotaso, hhk7734 The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Changes
/kind enhancement
Release Note
Docs