Skip to content

Commit

Permalink
Adding support for CTRL_SEARCH_REGISTRIES env variable NVSHAS-9255
Browse files Browse the repository at this point in the history
  • Loading branch information
venkateshjayagopal authored and holyspectral committed Aug 27, 2024
1 parent 02c44af commit d2f1b95
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions charts/core/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ Parameter | Description | Default | Notes
`controller.pvc.existingClaim` | If `false`, a new PVC will be created. If a string is provided, an existing PVC with this name will be used. | `false` |
`controller.pvc.storageClass` | Storage Class to be used | `default` |
`controller.pvc.capacity` | Storage capacity | `1Gi` |
`controller.searchRegistries` | Custom search registries for Admission control | `nil` |
`controller.azureFileShare.enabled` | If true, enable the usage of an existing or statically provisioned Azure File Share | `false` |
`controller.azureFileShare.secretName` | The name of the secret containing the Azure file share storage account name and key | `nil` |
`controller.azureFileShare.shareName` | The name of the Azure file share to use | `nil` |
Expand Down
4 changes: 4 additions & 0 deletions charts/core/templates/controller-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,10 @@ spec:
- name: NO_DEFAULT_ADMIN
value: "1"
{{- end }}
{{- if .Values.controller.searchRegistries }}
- name: CTRL_SEARCH_REGISTRIES
value: "{{ .Values.controller.searchRegistries }}"
{{- end }}
{{- if or .Values.internal.certmanager.enabled .Values.controller.internal.certificate.secret }}
{{- else if .Values.internal.autoGenerateCert }}
- name: AUTO_INTERNAL_CERT
Expand Down
1 change: 1 addition & 0 deletions charts/core/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,7 @@ controller:
priorityClassName:
podLabels: {}
podAnnotations: {}
searchRegistries:
env: []
affinity:
podAntiAffinity:
Expand Down

0 comments on commit d2f1b95

Please sign in to comment.