Run helm
command (mainly helm upgrade
) as CronJob
PAT=[Your personal access token (repo scope is necessary)]
OWNER=[Repository owner]
REPO=[Repository name that includes the helm chart]
in overlay/schedule-and-args.yaml
kustomize build overlay
kustomize build overlay | kubectl apply -f -
kustomize build overlay | kubectl delete -f -