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

deploy-local override entrypoint with sleep #149

Closed
wants to merge 1 commit into from

Conversation

marcelldls
Copy link
Collaborator

Copy link

codecov bot commented May 30, 2024

Codecov Report

Attention: Patch coverage is 83.33333% with 2 lines in your changes are missing coverage. Please review.

Project coverage is 84.55%. Comparing base (11eca91) to head (a3a0999).

Files Patch % Lines
src/edge_containers_cli/cmds/k8s_commands.py 66.66% 1 Missing ⚠️
src/edge_containers_cli/cmds/local_commands.py 85.71% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #149      +/-   ##
==========================================
- Coverage   84.69%   84.55%   -0.15%     
==========================================
  Files          15       15              
  Lines         843      848       +5     
==========================================
+ Hits          714      717       +3     
- Misses        129      131       +2     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Member

@gilesknap gilesknap left a comment

Choose a reason for hiding this comment

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

Does this PR require a change to the helm chart?

All looks good.

@marcelldls
Copy link
Collaborator Author

Does this PR require a change to the helm chart?

All looks good.

Yes, the proposed change is linked. Although I think its fair to say the default values (entry point in this case) have not been done the same as the rest of our parameters - where we have set the defaults in the chart values.yaml - and not the template like I have done here.

I feel like the required entrys in the beamline shared values.yaml should be the things that are beamline specific. Perhaps key-values pairs like iocFolder: /epics/ioc should have defaults set in the ioc-instance template. In this way they are still override-able but its not required per beamline

@marcelldls
Copy link
Collaborator Author

marcelldls commented May 31, 2024

Does this PR require a change to the helm chart?
All looks good.

Yes, the proposed change is linked. Although I think its fair to say the default values (entry point in this case) have not been done the same as the rest of our parameters - where we have set the defaults in the chart values.yaml - and not the template like I have done here.

I feel like the required entrys in the beamline shared values.yaml should be the things that are beamline specific. Perhaps key-values pairs like iocFolder: /epics/ioc should have defaults set in the ioc-instance template. In this way they are still override-able but its not required per beamline

Does this PR require a change to the helm chart?
All looks good.

Yes, the proposed change is linked. Although I think its fair to say the default values (entry point in this case) have not been done the same as the rest of our parameters - where we have set the defaults in the chart values.yaml - and not the template like I have done here.

I feel like the required entrys in the beamline shared values.yaml should be the things that are beamline specific. Perhaps key-values pairs like iocFolder: /epics/ioc should have defaults set in the ioc-instance template. In this way they are still override-able but its not required per beamline

There might be something strange happening. When I read the Helm documentation, it seems that the subchart values.yaml should be the default - however - when I tried this then these values were ignored. This is why I ended up putting it in the template

@gilesknap should this not be flat?
https://github.com/epics-containers/ec-helm-charts/blob/4328ce6e933a7cd60e97747085f18e998991384d/Charts/ioc-instance/values.yaml#L1-L8

@marcelldls
Copy link
Collaborator Author

We have decided to fix the issue by allowing override through exposing of the entry point in the sub chart

@marcelldls marcelldls closed this Jun 3, 2024
@marcelldls marcelldls deleted the deploy-sleep-entry branch September 10, 2024 10:20
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