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

Chart does not provide fallback image that is used, if no further config done #283

Closed
Tracked by #277
SebastianBezold opened this issue Apr 25, 2023 · 4 comments
Closed
Tracked by #277
Assignees

Comments

@SebastianBezold
Copy link
Contributor

SebastianBezold commented Apr 25, 2023

Description

I tried to deploy the tractusx-connector chart in version 0.3.3 without doing any further configuration, than what is provided as default. This did not work, since the helm templating failed with the following error (condensed):

rpc error: code = Unknown desc = Manifest generation error (cached): `helm template 
... 
 cannot choose control-plane image automatically based on configuration Use --debug flag to render out invalid YAML

Expected behavior

The connector should provide defaults, that will at least render successfully and start the application, even though it might miss configuration to properly function

Additional hints

The image selection logic already seems sophisticated enough. See deployment.
I guess, tweaking the default values.yaml to have a simple fallback (i.e. in-memory persistance, bring your own vault) should do the trick

@SebastianBezold SebastianBezold changed the title must be deployable to any environment without overwriting default values with a simple helm install command Chart does not provide fallback image that is used, if no further config done Apr 25, 2023
@tuncaytunc-zf
Copy link
Contributor

@SebastianBezold this is already fixed in the current (main) branch and would go into the next release:

          # either use the specified image, or use the default one
          {{- if .Values.controlplane.image.repository }}
          image: "{{ .Values.controlplane.image.repository }}:{{ .Values.controlplane.image.tag | default .Chart.AppVersion }}"
          {{- else }}
          image: "tractusx/edc-controlplane-postgresql-hashicorp-vault:{{ .Values.controlplane.image.tag | default .Chart.AppVersion }}"
          {{- end }}

@tuncaytunc-zf tuncaytunc-zf self-assigned this Apr 25, 2023
@tmberthold
Copy link
Contributor

tmberthold commented Apr 26, 2023

Is it already foreseeable when the next release will happen? This could be important for the installation guide.. :)

@tuncaytunc-zf
Copy link
Contributor

Is it already foreseeable when the next release will happen? This could be important for the installation guide.. :)

The next version will be released on Friday.

@tuncaytunc-zf
Copy link
Contributor

I will close this issue since it is already done.

@github-project-automation github-project-automation bot moved this from Open to Done in EDC Board May 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

No branches or pull requests

3 participants