Skip to content
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

Add imagepullsecrets to daemonset and deployment spec helm-chart #415

Closed
jrmercier1 opened this issue Nov 2, 2018 · 2 comments
Closed
Assignees
Labels
enhancement Pull requests for new features/feature enhancements

Comments

@jrmercier1
Copy link

Currently the process to build plus involves us pushing an image to an internally hosted repo that requires authentication. The current chart from what I can tell does not allow you to specify imagepullsecrets on release deployment.

Additional context
The current work around is for me to attach secret to service account or alter the helm chart to process an imagePullSecrets section. I am currently using the chart modification route which will eventually cause issues keeping the local chart in sync with the latest nginxinc chart.

Current work around

cat controller-daemonset.yaml
spec:
...
{{- if .Values.imagePullSecrets.name }}
imagePullSecrets:
- name: {{ .Values.imagePullSecrets.name | quote }}
{{- end }}
...

cat values-plus.yaml
...
imagePullSecrets:
name:
...

@pleshakov pleshakov added enhancement Pull requests for new features/feature enhancements setup labels Nov 2, 2018
@pleshakov
Copy link
Contributor

@jrmercier1
Thanks for the suggestion. We will add the imagePullSecrets parameter to the Helm chart.

is there any special reason you placed imagePullSecrets into the daemonset template rather then the service account template?

@jrmercier1
Copy link
Author

No reason other than not having to taint the service account namespace wide. Either would work in this particular case since we are only using a single release/service account.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Pull requests for new features/feature enhancements
Projects
None yet
Development

No branches or pull requests

3 participants