bambash / helm-cronjobs Goto Github PK
View Code? Open in Web Editor NEWa helm chart for cronjobs in kubernetes
License: Apache License 2.0
a helm chart for cronjobs in kubernetes
License: Apache License 2.0
Title says it all
Several cronjobs require a service account to run correctly.
With the current chart, they are not supported.
It will be nice if the chart is able to create the service account and attach it to the jobs.
I have no experience with chart development, but if you agree on the feature I can try to implement it
Several cronjobs require a configuration file.
With the current chart, we need to deploy the configmap manually and use it in the chart.
It will be nice if the chart is able to create the configmap from a list of files.
I have no experience with chart development, but if you agree on the feature I can try to implement it
Run command on gitlab runner:
$ helm upgrade --install "${COMPONENT}" chartmuseum/helm-cronjobs --version "${API_BACKEND_CHART_VERSION}" --namespace "${CI_K8S_NAMESPACE}" --values ./deploy/${VALUES}.yaml --wait --timeout "${HELM_TIMEOUT}"
When deploying to a dev environment in k8s, an error occurs:
coalesce.go:175: warning: skipped value for helm-cronjobs.jobs: Not a table.
Error: UPGRADE FAILED: template: helm-cronjobs/templates/serviceaccount.yaml:6:21: executing "helm-cronjobs/templates/serviceaccount.yaml" at <$job>: wrong type for value; expected map[string]interface {}; got string
How can this error be fixed?
Hi,
Creating a brand new cron job works fine, but when helm upgrade --install
is called to update an existing cron job I see the following error....
helm.go:76: [debug] template: app/charts/datacollector/templates/cronjob.yaml:44:27: executing "app/charts/datacollector/templates/cronjob.yaml" at <$job.image.repository>: nil pointer evaluating interface {}.repository
my values.yaml looks like this...
jobs:
- name: pdschedule
image:
repository: private/pdschedule
tag: 2
imagePullPolicy: IfNotPresent
schedule: 0 */4 * * *
failedJobsHistoryLimit: 1
successfulJobsHistoryLimit: 3
concurrencyPolicy: Forbid
restartPolicy: OnFailure
command:
- /bin/sh
args:
- -c
- java $JAVA_OPTS -jar /app.jar com.example.app
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.