-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow user to specify registry credentials in values or via a premade secret. #18
Conversation
--repositories {{ range $index, $repository := $registry.repositories }}{{- $repository }},{{- end }} | ||
${CREDS} --repositories {{ range $index, $repository := $registry.repositories }}{{if $index}},{{end}}{{- $repository }}{{- end }} | ||
|
||
sleep 600 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is the sleep needed?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
no, accidently left in from debugging.
stable/spinnaker/values.yaml
Outdated
@@ -1,4 +1,5 @@ | |||
halyard: | |||
debugConfig: true |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What does this do?
@@ -54,6 +56,7 @@ data: | |||
{{ end }} | |||
|
|||
# Docker Registry | |||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
remove whitespace
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
@@ -31,6 +32,15 @@ dockerRegistries: | |||
# password: '<INSERT YOUR SERVICE ACCOUNT JSON HERE>' | |||
# email: [email protected] | |||
|
|||
# If you don't want to put your passwords into a values file |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you add something about this to the README as well?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done!
@@ -68,6 +68,13 @@ spec: | |||
secret: | |||
secretName: {{ template "spinnaker.fullname" . }}-gcs | |||
{{- end }} | |||
- name: reg-secrets | |||
secret: | |||
{{- if .Values.accountSecret }} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this should be if .Values.dockerRegistryAccountSecret
Thanks @paulczar! |
No description provided.