diff --git a/charts/ratify/README.md b/charts/ratify/README.md index af3600209..571bfa141 100644 --- a/charts/ratify/README.md +++ b/charts/ratify/README.md @@ -47,6 +47,7 @@ Values marked `# DEPRECATED` in the `values.yaml` as well as **DEPRECATED** in t | replicaCount | The number of Ratify replicas in deployment | 1 | | affinity | Pod affinity for the Ratify deployment | `{}` | | tolerations | Pod tolerations for the Ratify deployment | `[]` | +| env | Environment variables for Ratify container | `[]` | | notationCerts | An array of public certificate/certificate chain used to create inline certstore used by Notation verifier | `` | | cosignKeys | An array of public keys used to create inline key management providers used by Cosign verifier | `[]` | | notation.enabled | Enables/disables the built-in notation verifier. MUST be set to true for notation verification. | `true` | diff --git a/charts/ratify/templates/deployment.yaml b/charts/ratify/templates/deployment.yaml index 7a979ca43..46ed544ae 100644 --- a/charts/ratify/templates/deployment.yaml +++ b/charts/ratify/templates/deployment.yaml @@ -110,6 +110,9 @@ spec: readOnly: true {{- end }} env: + {{- with .Values.env }} + {{- toYaml . | nindent 12 }} + {{- end }} {{- if .Values.logger.level }} - name: RATIFY_LOG_LEVEL value: {{ .Values.logger.level }} diff --git a/charts/ratify/values.yaml b/charts/ratify/values.yaml index ee7c82d41..348736e9b 100644 --- a/charts/ratify/values.yaml +++ b/charts/ratify/values.yaml @@ -169,4 +169,9 @@ akvCertConfig: # DEPRECATED: Use azurekeyvault instead cert2Name: # DEPRECATED: Use azurekeyvault.certificates instead cert2Version: # DEPRECATED: Use azurekeyvault.certificates instead certificates: # DEPRECATED: Use azurekeyvault.certificates instead - tenantId: # DEPRECATED: Use azurekeyvault.tenantId instead \ No newline at end of file + tenantId: # DEPRECATED: Use azurekeyvault.tenantId instead + +# env: environment variables for ratify container +env: [] +# - name: https_proxy +# value: http://proxy-server:80