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

Fix kratos ui configs #331

Open
wants to merge 1 commit into
base: dev
Choose a base branch
from
Open

Fix kratos ui configs #331

wants to merge 1 commit into from

Conversation

mpgxvii
Copy link
Member

@mpgxvii mpgxvii commented Oct 8, 2024

Description of the change

  • Update nginx config and disable liveness and readiness probe temporarily since the updates containing the addition of these endpoints have not been merged and released yet

Benefits

Possible drawbacks

Applicable issues

  • fixes #

Additional information

Checklist

  • Make sure application versions in compatiblity section of README is same as the versions tested in CI

@keyvaann
Copy link
Collaborator

keyvaann commented Oct 8, 2024

I still get this message:

> @ory/[email protected] start
> next start -p 3000

npm ERR! code EACCES
npm ERR! syscall mkdir
npm ERR! path /.npm
npm ERR! errno -13
npm ERR! 
npm ERR! Your cache folder contains root-owned files, due to a bug in
npm ERR! previous versions of npm which has since been addressed.
npm ERR! 
npm ERR! To permanently fix this problem, please run:
npm ERR!   sudo chown -R 10000:10000 "/.npm"

npm ERR! Log files were not written due to an error writing to the directory: /.npm/_logs
npm ERR! You can rerun the command with `--loglevel=verbose` to see the logs in your terminal

@mpgxvii
Copy link
Member Author

mpgxvii commented Oct 8, 2024

I still get this message:

> @ory/[email protected] start
> next start -p 3000

npm ERR! code EACCES
npm ERR! syscall mkdir
npm ERR! path /.npm
npm ERR! errno -13
npm ERR! 
npm ERR! Your cache folder contains root-owned files, due to a bug in
npm ERR! previous versions of npm which has since been addressed.
npm ERR! 
npm ERR! To permanently fix this problem, please run:
npm ERR!   sudo chown -R 10000:10000 "/.npm"

npm ERR! Log files were not written due to an error writing to the directory: /.npm/_logs
npm ERR! You can rerun the command with `--loglevel=verbose` to see the logs in your terminal

@keyvaann Do you know if it got to pull the new image? The hash is sha256:9e22ff1b20d564ffc6de4175f9ef4d16f42c9f7c979d302d9a99087a2ba91062

@keyvaann
Copy link
Collaborator

keyvaann commented Oct 9, 2024

I just realized that the helm chart uses dev for image tag. We should avoid doing this and only have fixed versions in helm chart releases. If it's needed to have a dev tag you can add it to your deployment at radar-kubernetes level.
Also noticed that the UI helmfile release has different names:

  • name: kratos-selfservice-ui-node
    chart: radar/radar-self-enrolment-ui
    version: {{ .Values.kratos_ui._chart_version }}

Ideally these should have the same name and it should be the name of the helm chart.

Sorry I won't be able to test this PR at the moment. When the CI runner is working again we can use it to see if the changes work.

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

Successfully merging this pull request may close these issues.

2 participants