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

Invalid command for helm chart version 7.5 in ds-idrepo-statefulset.yaml #686

Open
embesozzi opened this issue Dec 11, 2024 · 3 comments
Open

Comments

@embesozzi
Copy link

Hello team,
For some reason the published helm chart oci://us-docker.pkg.dev/forgeops-public/charts/identity-platform version 7.5 has an invalid command in the ds-idrepo-statefulset.yaml:

command: ["/opt/opendj/runtime-scripts/init-and-restore.sh || /opt/opendj/default-scripts/init-and-restore.sh"]

It should be:

command:
- sh
- -c
- "/opt/opendj/runtime-scripts/init-and-restore.sh || /opt/opendj/default-scripts/init-and-restore.sh"
  • How to check:
helm pull oci://us-docker.pkg.dev/forgeops-public/charts/identity-platform --version 7.5 --untar
cat identity-platform/templates/ds-idrepo-statefulset.yaml | grep command
command: ["/opt/opendj/runtime-scripts/init-and-restore.sh || /opt/opendj/default-scripts/init-and-restore.sh"]
@embesozzi
Copy link
Author

Hi team, do you have any updates on this issue? Without this fix, you can't deploy the identity platform version 1.5.

@embesozzi
Copy link
Author

If someone else is hitting this issue, the workaround is to run the helm chart locally and adjust the command in ds-idrepo-statefulset.yaml to:

command:
- sh
- -c
- "/opt/opendj/runtime-scripts/init-and-restore.sh || /opt/opendj/default-scripts/init-and-restore.sh"

Please let me know when the helm chart for 7.5 is updated with the fix.

@lee-baines
Copy link
Contributor

Hi @embesozzi, thanks for raising. I'll get this updated on Monday. Sorry for any inconvenience. We had it correct in Kustomize but for some reason it got through Helm tests

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants