feat: import
This commit is contained in:
parent
4e6e893a92
commit
c88a93a1e4
26
charts/offlineimap/.helmignore
Normal file
26
charts/offlineimap/.helmignore
Normal file
@ -0,0 +1,26 @@
|
|||||||
|
# Patterns to ignore when building packages.
|
||||||
|
# This supports shell glob matching, relative path matching, and
|
||||||
|
# negation (prefixed with !). Only one pattern per line.
|
||||||
|
.DS_Store
|
||||||
|
# Common VCS dirs
|
||||||
|
.git/
|
||||||
|
.gitignore
|
||||||
|
.bzr/
|
||||||
|
.bzrignore
|
||||||
|
.hg/
|
||||||
|
.hgignore
|
||||||
|
.svn/
|
||||||
|
# Common backup files
|
||||||
|
*.swp
|
||||||
|
*.bak
|
||||||
|
*.tmp
|
||||||
|
*~
|
||||||
|
# Various IDEs
|
||||||
|
.project
|
||||||
|
.idea/
|
||||||
|
*.tmproj
|
||||||
|
.vscode/
|
||||||
|
# OWNERS file for Kubernetes
|
||||||
|
OWNERS
|
||||||
|
# helm-docs templates
|
||||||
|
*.gotmpl
|
||||||
27
charts/offlineimap/Chart.yaml
Normal file
27
charts/offlineimap/Chart.yaml
Normal file
@ -0,0 +1,27 @@
|
|||||||
|
apiVersion: v2
|
||||||
|
|
||||||
|
description: Helm chart for offlineimap
|
||||||
|
name: offlineimap
|
||||||
|
type: application
|
||||||
|
version: 0.0.3
|
||||||
|
kubeVersion: ">=1.16.0-0"
|
||||||
|
keywords:
|
||||||
|
- offlineimap
|
||||||
|
home: https://scm.docker.cabillot.eu/jcabillot/offlineimap-helm/
|
||||||
|
#sources:
|
||||||
|
#- https://github.com/filebrowser/filebrowser
|
||||||
|
maintainers:
|
||||||
|
- name: Julien Cabillot
|
||||||
|
email: dockerimages@cabillot.eu
|
||||||
|
|
||||||
|
# This is the version number of the application being deployed. This version number should be
|
||||||
|
# incremented each time you make changes to the application. Versions are not expected to
|
||||||
|
# follow Semantic Versioning. They should reflect the version the application is using.
|
||||||
|
# It is recommended to use it with quotes.
|
||||||
|
#appVersion: "1.16.0"
|
||||||
|
appVersion: "latest"
|
||||||
|
|
||||||
|
dependencies:
|
||||||
|
- name: common
|
||||||
|
repository: "https://scm.docker.cabillot.eu/perso/helm-library-common/raw/branch/master/"
|
||||||
|
version: 4.2.0
|
||||||
2
charts/offlineimap/README.md
Normal file
2
charts/offlineimap/README.md
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
# offlineimap-helm
|
||||||
|
|
||||||
1
charts/offlineimap/templates/NOTES.txt
Normal file
1
charts/offlineimap/templates/NOTES.txt
Normal file
@ -0,0 +1 @@
|
|||||||
|
{{- include "common.notes.defaultNotes" . -}}
|
||||||
13
charts/offlineimap/templates/common.yaml
Normal file
13
charts/offlineimap/templates/common.yaml
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
{{/* Make sure all variables are set properly */}}
|
||||||
|
{{- include "common.values.setup" . }}
|
||||||
|
|
||||||
|
{{/* custom render */}}
|
||||||
|
|
||||||
|
{{- include "common.pvc" . }}
|
||||||
|
|
||||||
|
{{- if .Values.secret -}}
|
||||||
|
{{ include "common.secret" . | nindent 0 }}
|
||||||
|
{{- end -}}
|
||||||
|
|
||||||
|
{{- include "common.cronjob" . }}
|
||||||
|
|
||||||
32
charts/offlineimap/templates/cronjob.yaml
Normal file
32
charts/offlineimap/templates/cronjob.yaml
Normal file
@ -0,0 +1,32 @@
|
|||||||
|
{{- define "common.cronjob" }}
|
||||||
|
---
|
||||||
|
apiVersion: "batch/v1"
|
||||||
|
kind: "CronJob"
|
||||||
|
metadata:
|
||||||
|
name: {{ include "common.names.fullname" . }}
|
||||||
|
labels:
|
||||||
|
{{- include "common.labels" . | nindent 4 }}
|
||||||
|
{{- with .Values.controller.labels }}
|
||||||
|
{{- toYaml . | nindent 4 }}
|
||||||
|
{{- end }}
|
||||||
|
{{- with .Values.controller.annotations }}
|
||||||
|
annotations:
|
||||||
|
{{- toYaml . | nindent 4 }}
|
||||||
|
{{- end }}
|
||||||
|
spec:
|
||||||
|
schedule: {{ .Values.cronjob.schedule }}
|
||||||
|
concurrencyPolicy: {{ .Values.cronjob.concurrencyPolicy }}
|
||||||
|
successfulJobsHistoryLimit: {{ .Values.cronjob.successfulJobsHistoryLimit }}
|
||||||
|
failedJobsHistoryLimit: {{ .Values.cronjob.failedJobsHistoryLimit }}
|
||||||
|
jobTemplate:
|
||||||
|
spec:
|
||||||
|
backoffLimit: 0
|
||||||
|
template:
|
||||||
|
spec:
|
||||||
|
containers:
|
||||||
|
{{- include "common.controller.mainContainer" . | nindent 2 }}
|
||||||
|
{{- with (include "common.controller.volumes" . | trim) }}
|
||||||
|
volumes:
|
||||||
|
{{- nindent 2 . }}
|
||||||
|
{{- end }}
|
||||||
|
{{- end }}
|
||||||
36
charts/offlineimap/values.yaml
Normal file
36
charts/offlineimap/values.yaml
Normal file
@ -0,0 +1,36 @@
|
|||||||
|
#
|
||||||
|
# IMPORTANT NOTE
|
||||||
|
#
|
||||||
|
# This chart inherits from our common library chart. You can check the default values/options here:
|
||||||
|
# https://scm.docker.cabillot.eu/perso/helm-library-common
|
||||||
|
#
|
||||||
|
|
||||||
|
image:
|
||||||
|
repository: docker.io/jcabillot/offlineimap
|
||||||
|
tag: "latest"
|
||||||
|
pullPolicy: Always
|
||||||
|
|
||||||
|
env:
|
||||||
|
TZ: America/New_York
|
||||||
|
IMAP_USER: TODO
|
||||||
|
IMAP_PASS: TODO
|
||||||
|
IMAP_SRV: TODO
|
||||||
|
|
||||||
|
ingress:
|
||||||
|
main:
|
||||||
|
enabled: false
|
||||||
|
|
||||||
|
automountServiceAccountToken: false
|
||||||
|
|
||||||
|
cronjob:
|
||||||
|
schedule: "0 */4 * * *"
|
||||||
|
concurrencyPolicy: "Forbid"
|
||||||
|
successfulJobsHistoryLimit: 3
|
||||||
|
failedJobsHistoryLimit: 5
|
||||||
|
|
||||||
|
persistence:
|
||||||
|
dump:
|
||||||
|
enabled: true
|
||||||
|
type: hostPath
|
||||||
|
hostPath: /data/volume-offlineimap
|
||||||
|
mountPath: /dump
|
||||||
Loading…
x
Reference in New Issue
Block a user