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

feat: make the image repo/username/name configurable #165

Merged

Conversation

HarikrishnanBalagopal
Copy link
Contributor

No description provided.

Signed-off-by: Harikrishnan Balagopal <harikrishmenon@gmail.com>
@github-actions
Copy link

Thanks for making a pull request! 😃
One of the maintainers will review and advise on the next steps.

@@ -30,7 +30,7 @@ spec:
{{- end }}
containers:
- name: move2kubeapi
image: "quay.io/konveyor/move2kube-ui:{{ .Values.deployment.api.imageTag | default .Chart.AppVersion }}"
image: "{{ .Values.deployment.api.imageName }}:{{ .Values.deployment.api.imageTag | default .Chart.AppVersion }}"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
image: "{{ .Values.deployment.api.imageName }}:{{ .Values.deployment.api.imageTag | default .Chart.AppVersion }}"
image: "{{ .Values.deployment.api.imageName | default quay.io/konveyor/move2kube-ui }}:{{ .Values.deployment.api.imageTag | default .Chart.AppVersion }}"

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@ashokponkumar should there be default for the image tag as well?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the chart appV?erison is the default there already.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Missed that. Thanks!

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we have a default in the values.yaml

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why not have it here?

Copy link
Contributor Author

@HarikrishnanBalagopal HarikrishnanBalagopal Oct 26, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why not have it here?
That's not the right place for it.
We have lots of defaults, not just the imageName. They are all in the values.yaml.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a default tha tomato users should not change. Those which most users should configure should go in values.yaml, and others can go in the respective yamla. It also allows users who are looking at the yamls to have complete information.

@ashokponkumar ashokponkumar merged commit ab87a55 into konveyor:main Oct 27, 2023
3 checks passed
@HarikrishnanBalagopal HarikrishnanBalagopal deleted the feat/makeimageconfigurable branch October 27, 2023 10:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants