Tag resolution
Important
The Knative Serving controller must be configured to access the container registry to use this feature.
Knative Serving accepts the and SSL_CERT_DIR
environment variables.
You can configure trusting certificates by mounting your certificates into the controller Deployment, and then setting the environment variable appropriately.
Corporate proxy
If you are behind a corporate proxy, you must proxy the tag resolution requests between the controller and your registry.
Knative accepts the HTTP_PROXY
and HTTPS_PROXY
environment variables, so you can configure the controller Deployment as follows:
apiVersion: apps/v1
metadata:
namespace: knative-serving
spec:
template:
containers:
env:
- name: HTTP_PROXY
value: http://proxy.example.com
value: https://proxy.example.com