Skip to content

Commit

Permalink
Allow no-validate parameter for docker registry (#23)
Browse files Browse the repository at this point in the history
* Allow no-validate parameter for docker registry

* Bump chart version
  • Loading branch information
ranesagar authored Jun 30, 2022
1 parent 21c1b4f commit 32368c9
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion charts/spinnaker/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apiVersion: v1
description: Open source, multi-cloud continuous delivery platform for releasing software changes with high velocity and confidence.
name: spinnaker
version: 2.2.10
version: 2.2.11
appVersion: 1.26.6
home: http://spinnaker.io/
sources:
Expand Down
1 change: 1 addition & 0 deletions charts/spinnaker/templates/configmap/halyard-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,7 @@ data:
{{ if $registry.username -}} --username {{ $registry.username }} \
{{ if $registry.passwordCommand -}} --password-command "{{ $registry.passwordCommand }}"{{ else -}} --password-file /opt/registry/passwords/{{ $registry.name }}{{- end }} \
{{ if $registry.email -}} --email {{ $registry.email }}{{- end -}}{{- end }} \
{{ if $registry.noValidate -}} --no-validate {{- end }} \
{{ if $registry.repositories -}} --repositories {{ range $index, $repository := $registry.repositories }}{{if $index}},{{end}}{{- $repository }}{{- end }}{{- end }}
{{- end }}
Expand Down
3 changes: 3 additions & 0 deletions charts/spinnaker/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -140,17 +140,20 @@ halyard:
dockerRegistries:
- name: dockerhub
address: index.docker.io
noValidate: false
repositories:
- library/alpine
- library/ubuntu
- library/centos
- library/nginx
# - name: gcr
# noValidate: false
# address: https://gcr.io
# username: _json_key
# password: '<INSERT YOUR SERVICE ACCOUNT JSON HERE>'
# email: [email protected]
# - name: ecr
# noValidate: false
# address: <AWS-ACCOUNT-ID>.dkr.ecr.<REGION>.amazonaws.com
# username: AWS
# passwordCommand: aws --region <REGION> ecr get-authorization-token --output text --query 'authorizationData[].authorizationToken' | base64 -d | sed 's/^AWS://'
Expand Down

0 comments on commit 32368c9

Please sign in to comment.