Update hardcoded URL in provider.yaml to allow flexibility with regard to namespace#184
Conversation
|
Hi @lee0c, the changes looks good to me. A question for my learning, does gatekeeper depend on the ratify provider url? How does gatekeeper find out the provider url to send the request? |
1 similar comment
|
Hi @lee0c, the changes looks good to me. A question for my learning, does gatekeeper depend on the ratify provider url? How does gatekeeper find out the provider url to send the request? |
|
@lee0c , could you also provide the sample url when fullnameOverride is empty vs provided. Just wanted to review the updated url. thanks! |
1 similar comment
|
@lee0c , could you also provide the sample url when fullnameOverride is empty vs provided. Just wanted to review the updated url. thanks! |
Yup, so Gatekeeper defines a CRD of kind |
@susanshi (should've tagged you in previous commenta s well, apologies) - if The important part is that the URL matches the name of the Service being deployed, which is why the service spec is updated as well. For example, I've templated it out here with |
|
@lee0c, i have approved these changes, is it ok to leave open for a day incase others have additional comments? |
|
@susanshi Sure thing, this one isn't urgent in any way. Close when y'all are ready :) |
At current the provider.yaml file in the Helm chart sets a ratify URL that ties it to the default namespace even if the chart is deployed in another namespace. This should make it align with any namespace.