-
Notifications
You must be signed in to change notification settings - Fork 93
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 CRD to support PVC name and labels. Also adding annotations to services. #152
Fix CRD to support PVC name and labels. Also adding annotations to services. #152
Conversation
Also add annotations to services.
Great !! Ill test it out, i have been using without openAPI for a while so dint come across this issue. cc @himanshug |
File |
Plus once updated in helm , we also need to bump chart version. |
And not forget about helm annotation to leave CRD upon uninstall by default. I thinks at this point it would be safer to employ CI to do that, otherwise things will be forgotten. |
thanks @lum-splunk , but unfortunately this doesn't work because CRD isn't hand written but generated. this will get over-written immediately.... CRD generation is controlled via marker comments added to https://github.com/druid-io/druid-operator/blob/master/apis/druid/v1alpha1/druid_types.go , so right markers would need to be added there so that generated CRD matches what is proposed here. |
agree with @himanshug |
@himanshug @AdheipSingh ok, I can make the updates as requested. After making changes locally, how can I generate the CRD to test its working correctly? |
@lum-splunk |
I am currently experiencing this issue, when do you think that this pull request will be merged? |
Fixes #135
Description
This PR should resolve the issue mentioned in #135. The PVC name will get prepended to the naming scheme, so that we don't end up with PVC names like "-druid-druid-historicals-0", which are invalid.
This PR also adds the ability to add annotations to services. My main rationale for this was to allow for the creation of internal AWS ELBs with annotations such as:
This PR has:
Key changed/added files in this PR
druid.apache.org_druids.yaml