-
Notifications
You must be signed in to change notification settings - Fork 43
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
Docker plain helm chart #1035
base: master
Are you sure you want to change the base?
Docker plain helm chart #1035
Conversation
…t name and release name
…on helm notes and remove switch cases on k8s version on ingress template
The base image has been changed to |
and this also now does match with the values.yaml image section, perfect! |
Provision, build, and release pipelines have been tested and works out of the box with the latest commits. |
@@ -0,0 +1,41 @@ | |||
# TODO |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just in case we forget, this file should be removed before the PR is merged
- Review helm install command | ||
- Release manager image checks | ||
- Agree if helm install requires overwritting values on image (see helm notes and deployment, and values.yaml) | ||
- provide docs on how to test chart updates, by running `helm --debug template . ` under the chart folder to be tested |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
also helm lint
PullPolicy: Always will not work when testing locally
kind load docker-image testing/my-component:$(git rev-parse --short=8 HEAD) | ||
helm upgrade --install --wait --atomic --namespace docker-plain --set image.path=testing --set image.name=my-component --set image.tag=$(git rev-parse --short=8 HEAD) docker-plain chart | ||
``` | ||
|
||
## How to create a custom jenkins-agent out of this docker-plain component |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Still needed?
# - yourapp.yourdomain.com | ||
|
||
service: | ||
enabled: true |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
service.enabled is never used
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed with commit fe5fa7f
Having a very strict values.schema.json is probably not going to provide good experience when using helmValues defined from the Jenkinsfile. According to https://helm.sh/docs/topics/charts/ , "the schema is applied to the final .Values object, and not just to the values.yaml file." Let's say we have the following in the Jenkinsfile: When the above runs on Jenkins, ods-jenkins-shared-library will add two arguments on the command line: Then it will be aborted because additionalProperties are not allowed in both places. Is the user really expected to add two entries in values.schema.json to fix this? I suggest that we remove the whole values.schema.json file. If the result of rendering is bad, |
I partially agree, I think there is a middle way though. In the |
This reverts commit 167397b.
Add helm chart for docker plain
Refers to #1013
Tasks:
docs/modules/...
directory<quickstarter>/testdata
directory